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

URLhttps://odata-api.fledge.nl/v2-8/IntrastatDeliveries
Keyadministration_idintrastat_delivery_idvat_id
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/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

FieldTypeDescription
administration_idkeyInt32Administratienummer
vat_idkeyStringBTW-nummer

The customer's VAT number.

intrastat_delivery_idkeyInt32Volgnummer
amount_servicesDecimalBedrag diensten

The amount of services delivered.

amount_goodsDecimalBedrag goederen

The amount of goods delivered.

dateDateDatum
debtor_idInt32Debiteurnummer
yearInt32Jaar
journal_entry_idInt32Journaalpost nummer
journal_entry_tracking_idInt32Journaalpost volgnr: Journaalpost volgnummer
quarterInt32Kwartaal
monthInt32Maand
Wingman