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)
| URL | https://odata-api.fledge.nl/v2-8/IntrastatGoodsCodes |
|---|---|
| Key | intrastat_goods_code |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | INKOOPFINANCIEELBEHEER |
| 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/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
| Field | Type | Description |
|---|---|---|
intrastat_goods_codekey | String | Intrastat goederencode |
description | String | Omschrijving |
measure_id | Int32 | Maatstaf eenheid. Extra eenheid waarin de hoeveelheid opgegeven moet worden. |
measure_required | Boolean | Geeft aan of een maatstaf vereist is of niet The quantity must also be reported in an extra unit (maatstaf). |
search_code | String | Alfanumerieke zoekcode voor intrastat goederencode |