A goods code (goederencode, GN or CN code) for the Intrastat declaration. One list for all administrations. Articles, order lines, invoice lines and history rows hold the code.

Label in Fledge: Intrastat goederencode (GN-code)

URLhttps://odata-api.fledge.nl/v2-8/IntrastatGoodsCodes
Keyintrastat_goods_code
AdministrationShared by all administrations.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesINKOOPFINANCIEELBEHEER
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/IntrastatGoodsCodes" \
  --data-urlencode '$select=intrastat_goods_code,measure_required,description,measure_id' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/IntrastatGoodsCodes');
url.searchParams.set('$select', 'intrastat_goods_code,measure_required,description,measure_id');
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/IntrastatGoodsCodes" + "?" + string.Join("&",
    "$select=" + Uri.EscapeDataString("intrastat_goods_code,measure_required,description,measure_id"),
    "$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/IntrastatGoodsCodes('{intrastat_goods_code}')

Fields

FieldTypeDescription
intrastat_goods_codekeyStringIntrastat goederencode
descriptionStringOmschrijving
measure_idInt32Maatstaf eenheid. Extra eenheid waarin de hoeveelheid opgegeven moet worden.
measure_requiredBooleanGeeft aan of een maatstaf vereist is of niet

The quantity must also be reported in an extra unit (maatstaf).

search_codeStringAlfanumerieke zoekcode voor intrastat goederencode
Wingman