One intra-community delivery to a customer with a VAT number (opgaaf ICP), for the VAT listing per customer. Not the Intrastat declaration to CBS: it has no goods code, weight or country.
Label in Fledge: Intracommunautaire leveringen
| URL | https://odata-api.fledge.nl/v2-8/IntrastatDeliveries |
|---|---|
| Key | administration_idintrastat_delivery_idvat_id |
| 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/IntrastatDeliveries" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=intrastat_delivery_id,vat_id,amount_services,amount_goods,date' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/IntrastatDeliveries');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'intrastat_delivery_id,vat_id,amount_services,amount_goods,date');
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/IntrastatDeliveries" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("intrastat_delivery_id,vat_id,amount_services,amount_goods,date"),
"$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/IntrastatDeliveries(administration_id=1,intrastat_delivery_id={intrastat_delivery_id},vat_id='{vat_id}')Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
vat_idkey | String | BTW-nummer The customer's VAT number. |
intrastat_delivery_idkey | Int32 | Volgnummer |
amount_services | Decimal | Bedrag diensten The amount of services delivered. |
amount_goods | Decimal | Bedrag goederen The amount of goods delivered. |
date | Date | Datum |
debtor_id | Int32 | Debiteurnummer |
year | Int32 | Jaar |
journal_entry_id | Int32 | Journaalpost nummer |
journal_entry_tracking_id | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
quarter | Int32 | Kwartaal |
month | Int32 | Maand |