Overslaan naar inhoud
  • Er zijn geen suggesties want het zoekveld is leeg.

Arrival at Exit

An Arrival at Exit notification (AES) reports that the goods of an export declaration have arrived at the office of exit. You refer to the export declaration with its MRN. This article follows the screens of the notification in Shipment. For each screen you see which JSON field fills which field.

How Single Window messages work in general is in the article Single Window Overview.

Endpoint POST /erpservices/ImportDossier
Where in the request swArrivalAtExitDeclarations (array)
One request One dossier, maximum 10 declarations per request in total.
DeclarationType in status updates 13
Reference in the response mrn

Downloads

Endpoint

POST {base-url}/erpservices/ImportDossier

Replace {base-url} with the URL of your product and environment:

Product and environment {base-url}
Stratech Shipment – Test https://test-{prefix}.shipment-stratech.nl
Stratech Shipment – Production https://{prefix}.stratechshipment.nl
Beurtvaartadres ShipmentManager – Test https://{prefix}.accshipmentmanager.eu
Beurtvaartadres ShipmentManager – Production https://{prefix}.shipmentmanager.eu

Structure

The request is a dossier with the notification in the array swArrivalAtExitDeclarations. The paths in the tables below start at one item of that array.

How to read the tables

The column Req. shows what the API requires: ✓ means the request is rejected without the field. Which other fields are needed depends on the message; Shipment checks that when it validates the message. The column Field in Shipment shows the section and the label on the screen, in Dutch with the English in parentheses. The number before a label is the number in the screenshot.

Control fields

Field in Shipment JSON field Type Req. Description
– applicationReferenceId string ✓ Your unique reference for this notification. Never reuse it, not even when you send the same dataset again. A duplicate returns HTTP 409.
– doSubmitWhenValid boolean   Default false. true: Shipment submits the notification as soon as it is valid.
– doNotSaveWhenInvalid boolean   Default false: an invalid notification is saved, so a user can complete it in Shipment. true: an invalid notification is not saved and you get the errors back.
– fullUserNameOfSubmitter string(64)   Full name of the user who submits the notification.

Step 1: Aangifte (Declaration)

Path: declarationData

Field in Shipment JSON field Type Req. Description
Aangifte (Declaration) > 1. Dossiernummer (Dossier number) dossierNumber string(30) ✓ At the top of the request, outside the notification: dossierNumber. The dossier name in Shipment, for example your order or delivery number.
Aangifte (Declaration) > 2. Master reference number (MRN) mrn string(18) ✓ MRN of the export declaration.
Aangifte (Declaration) > 3. Kantoor van uitgang (Office of exit) exitOffice.referenceNumber string(8)   Customs office of exit. Code list CL194.
Locatie goederen (Location of goods) > 4. Soort locatie (Type of location) goodsLocation.type string(1)   Type of location. Code list CL347.
Locatie goederen (Location of goods) > 5. Postcode (Postal code) goodsLocation.postcode string(17)   Postal code.
Locatie goederen (Location of goods) > 6. Huisnummer (House number) goodsLocation.streetNumber string(17)   House number.
Aankomst (Arrival) > 7. Locatienaam (Location name) exitOffice.warehouseName string(35)   Name of the warehouse where the goods arrive.
Aankomst (Arrival) > 8. Datum en tijd (Date and time) exitOffice.warehouseArrival datetime   Date and time of arrival, for example 2026-11-29T04:04:03+00:00.

Step 2: Indiener (Submitter)

Field in Shipment JSON field Type Req. Description
Indiener (Submitter) > EORI-nummer (EORI number) declarant.eoriNumber string(17) ✓ EORI number of the submitter. Shipment takes all other details from the address book.

With the eoriNumber of the submitter, Shipment fills in all other details from the address book.

Step 3: Overzicht (Overview)

The last screen shows a summary of the notification. It has no fields of its own.

Response

The response has one result per notification in swArrivalAtExitDeclarationResults: applicationReferenceId, isSaved, isSubmitted, errors and mrn. HTTP 200 does not mean every notification is valid: always check isSaved and errors. All HTTP codes are in the article Payload rules.

Points to note

  • Code list fields must contain the exact code from the Customs code list. See the article Code lists.
  • The submitter must be in the address book with this EORI number.