One Intrastat reporting period (verslagperiode) of the administration: a month and year, with when the declaration file was made. There is no status: whether it was sent isn't stored. History rows point to their period.
Label in Fledge: Intrastat verslagperiode
| URL | https://odata-api.fledge.nl/v2-8/IntrastatReportPeriods |
|---|---|
| Key | administration_idintrastat_report_period_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | BEHEER |
| 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/IntrastatReportPeriods" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=intrastat_report_period_id,currency,date_creation,internal_version' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/IntrastatReportPeriods');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'intrastat_report_period_id,currency,date_creation,internal_version');
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/IntrastatReportPeriods" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("intrastat_report_period_id,currency,date_creation,internal_version"),
"$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/IntrastatReportPeriods(administration_id=1,intrastat_report_period_id={intrastat_report_period_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
intrastat_report_period_idkey | Int32 | Volgnummer |
currency | String | Valutasoort intrastat-aangifte The currency of the declaration. |
date_creation | Date | Datum aanmaak intrastat-bestand The date the Intrastat file was made; empty means not made yet. |
internal_version | Int32 | Versie intern |
registration_number | Int32 | Registratienummer |
report_month | Int32 | Maand van verslagperiode |
report_year | Int32 | Jaar van verslagperiode |
time_creation | Int32 | Tijdstip aanmaak van intrastat-bestand |
vat_code_reporter | String | BTW-nummer van aangever intrastat |
Relations
Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |