The Dutch VAT return figures of one month (btw-aangifte), per rubric: revenue_<rubric> is the turnover, vat_<rubric> the VAT. A running sum that grows as invoices are booked, mostly by the legacy ERP. Not a filed return: it has no status. Sales turnover, output VAT and deductible VAT (5b) are positive.

Label in Fledge: BTW omzet aangifte

URLhttps://odata-api.fledge.nl/v2-8/VatRevenueDeclarations
Keyadministration_idmonthvat_revenue_declaration_year
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesFINANCIEEL
Write licensesFINANCIEELBEHEER
ScopesFLEDGE_PORTAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/VatRevenueDeclarations" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=month,vat_revenue_declaration_year,vat_5b,quarter,vat_1a' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/VatRevenueDeclarations');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'month,vat_revenue_declaration_year,vat_5b,quarter,vat_1a');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/VatRevenueDeclarations" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("month,vat_revenue_declaration_year,vat_5b,quarter,vat_1a"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/VatRevenueDeclarations(administration_id=1,month={month},vat_revenue_declaration_year={vat_revenue_declaration_year})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
vat_revenue_declaration_yearkeyInt32Jaar

The financial year of the bookings.

monthkeyInt32Maand

The month of the invoice date. Filter on month, not on quarter.

vat_1aDecimalBTW 1a: BTW rubriek 1a
vat_1bDecimalBTW 1b: BTW rubriek 1b
vat_1cDecimalBTW 1c: BTW rubriek 1c
vat_1dDecimalBTW 1d: BTW rubriek 1d
vat_2aDecimalBTW 2a: BTW rubriek 2a
vat_4aDecimalBTW 4a: BTW rubriek 4a
vat_4bDecimalBTW 4b: BTW rubriek 4b
vat_5bDecimalBTW 5b: BTW rubriek 5b

The deductible VAT (voorbelasting).

quarterInt32Kwartaal

Can be empty.

revenue_1aDecimalOmzet 1a: Omzet rubriek 1a
revenue_1bDecimalOmzet 1b: Omzet rubriek 1b
revenue_1cDecimalOmzet 1c: Omzet rubriek 1c
revenue_1dDecimalOmzet 1d: Omzet rubriek 1d
revenue_1eDecimalOmzet 1e: Omzet rubriek 1e
revenue_2aDecimalOmzet 2a: Omzet rubriek 2a
revenue_3aDecimalOmzet 3a: Omzet rubriek 3a
revenue_3bDecimalOmzet 3b: Omzet rubriek 3b
revenue_3cDecimalOmzet 3c: Omzet rubriek 3c
revenue_4aDecimalOmzet 4a: Omzet rubriek 4a
revenue_4bDecimalOmzet 4b: Omzet rubriek 4b
Wingman