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
| URL | https://odata-api.fledge.nl/v2-8/VatRevenueDeclarations |
|---|---|
| Key | administration_idmonthvat_revenue_declaration_year |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEELBEHEER |
| Scopes | FLEDGE_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
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
vat_revenue_declaration_yearkey | Int32 | Jaar The financial year of the bookings. |
monthkey | Int32 | Maand The month of the invoice date. Filter on month, not on quarter. |
vat_1a | Decimal | BTW 1a: BTW rubriek 1a |
vat_1b | Decimal | BTW 1b: BTW rubriek 1b |
vat_1c | Decimal | BTW 1c: BTW rubriek 1c |
vat_1d | Decimal | BTW 1d: BTW rubriek 1d |
vat_2a | Decimal | BTW 2a: BTW rubriek 2a |
vat_4a | Decimal | BTW 4a: BTW rubriek 4a |
vat_4b | Decimal | BTW 4b: BTW rubriek 4b |
vat_5b | Decimal | BTW 5b: BTW rubriek 5b The deductible VAT (voorbelasting). |
quarter | Int32 | Kwartaal Can be empty. |
revenue_1a | Decimal | Omzet 1a: Omzet rubriek 1a |
revenue_1b | Decimal | Omzet 1b: Omzet rubriek 1b |
revenue_1c | Decimal | Omzet 1c: Omzet rubriek 1c |
revenue_1d | Decimal | Omzet 1d: Omzet rubriek 1d |
revenue_1e | Decimal | Omzet 1e: Omzet rubriek 1e |
revenue_2a | Decimal | Omzet 2a: Omzet rubriek 2a |
revenue_3a | Decimal | Omzet 3a: Omzet rubriek 3a |
revenue_3b | Decimal | Omzet 3b: Omzet rubriek 3b |
revenue_3c | Decimal | Omzet 3c: Omzet rubriek 3c |
revenue_4a | Decimal | Omzet 4a: Omzet rubriek 4a |
revenue_4b | Decimal | Omzet 4b: Omzet rubriek 4b |