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

URLhttps://odata-api.fledge.nl/v2-8/IntrastatReportPeriods
Keyadministration_idintrastat_report_period_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASIS
Write licensesBEHEER
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/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

FieldTypeDescription
administration_idkeyInt32Administratienummer
intrastat_report_period_idkeyInt32Volgnummer
currencyStringValutasoort intrastat-aangifte

The currency of the declaration.

date_creationDateDatum aanmaak intrastat-bestand

The date the Intrastat file was made; empty means not made yet.

internal_versionInt32Versie intern
registration_numberInt32Registratienummer
report_monthInt32Maand van verslagperiode
report_yearInt32Jaar van verslagperiode
time_creationInt32Tijdstip aanmaak van intrastat-bestand
vat_code_reporterStringBTW-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.

NavigationEntity set
AdministrationAdministrationsone
Wingman