DVA Departure
A DVA Departure declaration is the transit declaration (NCTS) at departure. This article follows the screens of the declaration in Shipment. For each screen you see which JSON field fills which field. The column Field in Shipment shows the section and the label as you see them on the screen, with the number from the screenshot.
A declaration can have more than one house consignment (deelzending), each with its own consignor, consignee and goods items. The example file with multiple house consignments shows this (see Downloads).
How declarations, dossiers, the address book and the article master data work in general is in the article Customs.
| Endpoint | POST /erpservices/ImportDossier |
| Where in the request | dvaDepartureDeclarations (array) |
| One request | One dossier, maximum 10 declarations per request in total. |
DeclarationType in status updates |
7 |
| Reference in the response | frn |
Downloads
- Download - DVA Departure (.json)
- Download - DVA Departure, extended example (.json)
- Download - DVA Departure with comments (.json)
- Download - DVA Departure with multiple house consignments (.json)
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 declaration in the array dvaDepartureDeclarations. 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. Default means Shipment fills in that value when you leave the field out. Which fields Customs requires depends on the type of declaration; those rules are in the MIG (see Downloads). Shipment checks them when it validates the declaration. The number before a label is the number in the screenshot. Fields without a number have no number in the screenshot.
Control fields
| Field in Shipment | JSON field | Type | Req. | Description |
| – | applicationReferenceId |
string |
✓ | Your unique reference for this declaration. 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 declaration to Customs as soon as it is valid. |
|
| – | doNotSaveWhenInvalid |
boolean |
Default false: an invalid declaration is saved, so a user can complete it in Shipment. true: an invalid declaration is not saved and you get the errors back. |
|
| – | fullUserNameOfSubmitter |
string(64) |
Full name of the user who submits the declaration. |
Step 1: Aangifte (Declaration)

Path: declarationData
| Field in Shipment | JSON field | Type | Req. | Description |
| Algemeen > 1. Aangiftevolgnummer (FRN) | – | No JSON field. Generated by Shipment. Returned in the response as frn. |
||
| Algemeen > 2. Dossiernummer | dossierNumber |
string(30) |
✓ | At the top of the request, outside the declaration: dossierNumber. The dossier name in Shipment, for example your order or delivery number. |
| Algemeen > 3. Aangiftetype | declarationType |
string(5) |
✓ | Type of transit declaration, for example T1 or T2. Code list CL231. |
| Algemeen > 4. Soort aangifte - aangiftetype | additionalDeclarationType |
string(1) |
✓ | Type of declaration, for example A (standard). Code list CL042. |
| Algemeen > 5. MRN nummer | – | No JSON field. There is no field exportMrn. Send the MRN of the export declaration as a previous document of type N830 in houseConsignments[].previousDocuments. |
||
| Algemeen > – | communicationLanguageAtDeparture |
string(2) |
Language for communication at departure: en or nl. |
|
| Algemeen > – | security |
string(1) |
Safety and security. Code list CL217. | |
| Algemeen > – | specificCircumstances |
string(3) |
Specific circumstance indicator. Code list CL296. | |
| Algemeen > – | grossWeight |
number |
Total gross weight of the declaration in kg. |
Step 2: Afzender (Consignor)

Path: consignor
| Field in Shipment | JSON field | Type | Req. | Description |
| Afzender > Geselecteerde afzender | internalCode |
string(450) |
✓ | Internal code of the consignor in the address book. |
| Afzender > Adresboek > Naam | address.name |
string |
✓ | Name. Only when you do not use the address book. |
| Afzender > Adresboek > Straat en huisnummer | address.streetAndNumber |
string |
✓ | Street and house number. |
| Afzender > Adresboek > Postcode | address.zipCode |
string |
Postal code. | |
| Afzender > Adresboek > Plaats | address.city |
string |
✓ | City. |
| Afzender > Adresboek > Land | address.country.code |
string |
✓ | Country code. Code list CL248. |
| Afzender > Adresboek > Landnaam | address.country.name |
string |
✓ | Country name. |
| Afzender > Adresboek > EORI-nummer | eoriNumber |
string |
EORI number of the consignor. | |
| Afzender > – | submitter.eoriNumber |
string |
✓ | EORI number of the party that submits the declaration (principal). |
Shipment takes the name, address and EORI number of the consignor from the address book. How the link works is in the article Customs, section Link to the address book (internalCode). The fields under address are only needed when you do not use the address book; if you send an address, name, street and number, city and country are required.
Step 3: Geadresseerde (Consignee)

Path: consignee
| Field in Shipment | JSON field | Type | Req. | Description |
| Geadresseerde > Geselecteerde geadresseerde | internalCode |
string |
Internal code of the consignee in the address book. Use this or an address. | |
| Geadresseerde > Adres > Naam | address.name |
string |
✓ | Name. |
| Geadresseerde > Adres > Straat en huisnummer | address.streetAndNumber |
string |
✓ | Street and house number. |
| Geadresseerde > Adres > Postcode | address.zipCode |
string |
Postal code. | |
| Geadresseerde > Adres > Plaats | address.city |
string |
✓ | City. |
| Geadresseerde > Adres > Land | address.country.code |
string |
✓ | Country code. Code list CL248. |
| Geadresseerde > Adres > Landnaam | address.country.name |
string |
✓ | Country name. |
| Geadresseerde > Adres > EORI-nummer | eoriNumber |
string |
EORI number of the consignee. |
Use either internalCode (address book) or an address. If you send an address, name, street and number, city and country are required.
Step 4: Transport, part 1

Container
Path: declarationData
| Field in Shipment | JSON field | Type | Req. | Description |
| 1. Containerzending | isContainerShipment |
boolean |
true for a container shipment. |
|
| 2. Containernummer | transportEquipment[].number |
string(17) |
Container number. One item per container. | |
| – | transportEquipment[].sequenceNumber |
integer |
✓ | Sequence number of the container, starting at 1. Goods items refer to it in transportEquipment. |
| 3. Zegelnummers | transportEquipment[].seals[].number |
string(20) |
Seal number. May be empty when a container number is given. |
Vertrek
Path: declarationData.departureTransport
| Field in Shipment | JSON field | Type | Req. | Description |
| 4. Land van verzending/uitvoer | countryOfDispatch |
string(2) |
Country of dispatch or export. Code list CL008. | |
| 5. Vervoerswijze bij vertrek | transportType |
string(1) |
Mode of transport at departure. Code list CL218. | |
| 6. Soort identificatie vervoermiddel bij vertrek | typeOfIdentification |
string(2) |
Type of identification of the means of transport at departure. Code list CL750. | |
| 7. Identiteit vervoermiddel bij vertrek | identification |
string(35) |
Identity of the means of transport at departure. | |
| 8. Nationaliteit vervoermiddel bij vertrek | nationality |
string(2) |
Nationality of the means of transport at departure. Code list CL165. | |
| – | cargoTransportInfos[].identification |
string(35) |
Identity of an additional means of transport, for example a trailer. | |
| – | cargoTransportInfos[].nationality |
string(2) |
Nationality of the additional means of transport. Code list CL165. |
Step 4: Transport, part 2

Zekerheid
Path: declarationData
| Field in Shipment | JSON field | Type | Req. | Description |
| 1. Bedrag zekerheidstelling | amountToBeCovered |
number |
Amount to be covered by the guarantee. | |
| 2. Valuta | currency |
string(3) |
Currency of the amount. Code list CL048. |
Grensoverschrijdend
Path: declarationData.borderTransport
| Field in Shipment | JSON field | Type | Req. | Description |
| 3. Land van bestemming | countryOfDestination |
string(2) |
Country of destination. Code list CL008. | |
| 4. Vervoerswijze aan de grens | transportType |
string(1) |
Mode of transport at the border. Code list CL218. | |
| 5. Soort identificatie vervoermiddel aan de grens | typeOfIdentification |
string(2) |
Type of identification of the means of transport at the border. Code list CL141. | |
| 6. Identiteit vervoermiddel aan de grens | identification |
string(35) |
Identity of the means of transport at the border. | |
| 7. Nationaliteit vervoermiddel aan de grens | nationality |
string(2) |
Nationality of the means of transport at the border. Code list CL165. | |
| 8. Grenskantoor | customsOfficeAtBorderReferenceNumber |
string(8) |
Customs office at the border. Code list CL141. | |
| 9. Datum einde vervoerstermijn | limitDate |
datetime |
Date by which the goods must be at the office of destination. | |
| – | conveyanceReferenceNumber |
string(17) |
Conveyance reference number, for example a flight or voyage number. |
Step 4: Transport, part 3

Plaats van laden
Path: declarationData.placeOfLoading
| Field in Shipment | JSON field | Type | Req. | Description |
| 1. Douanekantoor | unLocode |
string(17) |
UN/LOCODE of the place of loading. Code list CL244. | |
| 2. Land | country |
string(2) |
Country of the place of loading. Code list CL008. | |
| 3. Plaats | location |
string(35) |
Place of loading. |
Route
Path: declarationData
| Field in Shipment | JSON field | Type | Req. | Description |
| 4. Kantoor van vertrek | customsOfficeOfDepartureReferenceNumber |
string(8) |
Customs office of departure. Code list CL171. | |
| 5. Kantoor van bestemming | customsOfficeOfDestinationReferenceNumber |
string(8) |
Customs office of destination. Code list CL172. | |
| 6. Kantoren van doorgang | customsOfficeOfTransitReferenceNumbers |
array of string |
Customs offices of transit. Maximum 9. Code list CL173. | |
| – | customsOfficeOfExitForTransitReferenceNumbers |
array of string |
Customs offices of exit for transit. Code list CL175. | |
| – | countryCodesOfRouting |
array of string |
Countries of routing. Code list CL008. |
Toegelaten locatie goederen
Path: declarationData.goodsLocation
| Field in Shipment | JSON field | Type | Req. | Description |
| 7. Land | country |
string(2) |
Country of the authorised location. Code list CL190. | |
| 8. Postcode | postcode |
string(17) |
Postal code. | |
| 9. Huisnummer | houseNumber |
string(17) |
House number. |
Vervoerder
Path: declarationData
| Field in Shipment | JSON field | Type | Req. | Description |
| – | carrier.internalCode |
string(450) |
Internal code of the carrier in the address book. | |
| – | carrier.identification |
string(17) |
EORI number of the carrier. When you send this, internalCode is ignored. |
|
| – | transportChargesPaymentMethod |
string(1) |
Method of payment of the transport charges. Code list CL116. |
Step 5: Artikelen (Goods items), part 1

Path: declarationData.houseConsignments[].consignmentItems[]
| Field in Shipment | JSON field | Type | Req. | Description |
| Artikelnummer > 1. Artikelnummer (in huidige aangifte) | goodsItemNumber |
integer |
Number of the goods item in this declaration. | |
| Artikelnummer > 2. Artikelnummer (in opgevolgde voorafgaande aangifte) | declarationGoodsItemNumber |
integer |
Number of the goods item in the previous (import or export) declaration. Usually the same as goodsItemNumber. Use it when the declaration contains goods items from more than one previous declaration, to link the item number to the right MRN. |
Goods items are part of a house consignment: declarationData.houseConsignments[].consignmentItems[]. With one house consignment you send one item in houseConsignments.
Step 5: Artikelen (Goods items), part 2

Path: declarationData.houseConsignments[].consignmentItems[]
| Field in Shipment | JSON field | Type | Req. | Description |
| Algemeen > 1. HS Code | hsCode |
string(8) |
HS code (6 to 8 digits). | |
| Algemeen > 2. CUS Code | cusCode |
string(9) |
CUS code. | |
| Algemeen > 3. Handelsnaam van het artikel | description |
string(512) |
Description of the goods. | |
| Algemeen > 4. UN Code (gevaarlijke stoffen) | unitedNationsCode |
string(4) |
UN number for dangerous goods. | |
| Algemeen > 5. Containernummer(s) | transportEquipment |
array of integer |
Sequence numbers of the containers in declarationData.transportEquipment that hold this goods item. |
|
| Algemeen > 6. Land van bestemming | countryOfDestination |
string(2) |
Country of destination of this goods item. Code list CL008. | |
| Algemeen > 7. Overnemen van aangifte | – | No JSON field. Ja by default. Becomes Nee when you send a different countryOfDestination for the goods item. |
||
| Algemeen > – | declarationType |
string(5) |
Type of declaration for this goods item. Code list CL232. | |
| Algemeen > – | stockKeepingUnit |
string(80) |
Article code in the article master data. Not sent to Customs. | |
| Verpakkingen > 8. Soort verpakking | packaging[].typeOfPackages |
string(2) |
Type of packaging. Code list CL017. | |
| Verpakkingen > 9. Aantal colli | packaging[].numberOfPackages |
integer |
Number of packages. | |
| Verpakkingen > 10. Merk en nummers | packaging[].shippingMarks |
string(512) |
Shipping marks. |
Step 5: Artikelen (Goods items), part 3

Waarden en maten
Path: declarationData.houseConsignments[].consignmentItems[]
| Field in Shipment | JSON field | Type | Req. | Description |
| 1. Bruto gewicht (kg) | grossWeight |
number |
Gross weight in kg. | |
| 2. Netto gewicht (kg) | netWeight |
number |
Net weight in kg. | |
| 3. Aantal aanvullende eenheden | supplementaryUnits |
number |
Supplementary units. |
Voorafgaande documenten
Path: declarationData.houseConsignments[].consignmentItems[].previousDocuments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| 4. Type document | type |
string(4) |
Type of previous document. Code list CL214. | |
| 5. Documentnummer | referenceNumber |
string(70) |
Number of the previous document. | |
| 6. Extra informatie | complementOfInformation |
string(30) |
Additional information. |
Ondersteunende bescheiden
Path: declarationData.houseConsignments[].consignmentItems[].supportingDocuments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| 7. Bescheidcode | type |
string(4) |
Type of supporting document. Code list CL213. | |
| 8. Identificatie | referenceNumber |
string(70) |
Number of the document. | |
| 9. Regel in bescheid | documentLineItemNumber |
integer |
Line number in the document. | |
| 10. Extra informatie | complementOfInformation |
string(35) |
Additional information. |
Step 5: Artikelen (Goods items), part 4

Path: declarationData.houseConsignments[].consignmentItems[]
| Field in Shipment | JSON field | Type | Req. | Description |
| Overige bescheiden > 1. Type document | additionalInformation[].code |
string(5) |
Code of the additional information. Code list CL239. | |
| Overige bescheiden > 2. Tekst | additionalInformation[].text |
string(512) |
Text. | |
| Aanvullende referenties > 3. Type referentie | additionalReferences[].type |
string(4) |
Type of reference. Code list CL380. | |
| Aanvullende referenties > 4. Referentienummer | additionalReferences[].referenceNumber |
string(70) |
Reference number. | |
| Vervoersdocumenten > 5. Type vervoersdocument | transportDocuments[].type |
string(4) |
Type of transport document. On goods item level this is phased out: use transportDocuments on the house consignment. Code list CL754. |
|
| Vervoersdocumenten > 6. Referentienummer | transportDocuments[].referenceNumber |
string(70) |
Number of the transport document. |
House consignments (deelzendingen)
Deelzending
Path: declarationData.houseConsignments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| – | countryOfDestination |
string(2) |
Country of destination of the house consignment. Code list CL008. | |
| – | grossWeight |
number |
Gross weight of the house consignment in kg. | |
| – | transportChargesPaymentMethod |
string(1) |
Method of payment of the transport charges. Code list CL116. |
Afzender deelzending
Path: declarationData.houseConsignments[].consignor
| Field in Shipment | JSON field | Type | Req. | Description |
| – | internalCode |
string |
✓ | Internal code of the consignor of this house consignment in the address book. |
| – | address.name |
string |
✓ | Name. |
| – | address.streetAndNumber |
string |
✓ | Street and house number. |
| – | address.zipCode |
string |
Postal code. | |
| – | address.city |
string |
✓ | City. |
| – | address.country.code |
string |
✓ | Country code. Code list CL248. |
| – | address.country.name |
string |
✓ | Country name. |
| – | eoriNumber |
string |
EORI number. |
Geadresseerde deelzending
Path: declarationData.houseConsignments[].consignee
| Field in Shipment | JSON field | Type | Req. | Description |
| – | internalCode |
string |
Internal code of the consignee of this house consignment in the address book. | |
| – | address.name |
string |
✓ | Name. |
| – | address.streetAndNumber |
string |
✓ | Street and house number. |
| – | address.zipCode |
string |
Postal code. | |
| – | address.city |
string |
✓ | City. |
| – | address.country.code |
string |
✓ | Country code. Code list CL248. |
| – | address.country.name |
string |
✓ | Country name. |
| – | eoriNumber |
string |
EORI number. |
Vertrek deelzending
Path: declarationData.houseConsignments[].departureTransport
| Field in Shipment | JSON field | Type | Req. | Description |
| – | countryOfDispatch |
string(2) |
Country of dispatch. Code list CL008. | |
| – | typeOfIdentification |
string(2) |
Type of identification of the means of transport. Code list CL750. | |
| – | identification |
string(35) |
Identity of the means of transport. | |
| – | nationality |
string(2) |
Nationality of the means of transport. Code list CL165. | |
| – | cargoTransportInfos[].identification |
string(35) |
Identity of an additional means of transport. | |
| – | cargoTransportInfos[].nationality |
string(2) |
Nationality of the additional means of transport. Code list CL165. |
Voorafgaand document deelzending
Path: declarationData.houseConsignments[].previousDocuments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| – | type |
string(4) |
Only one item, of type N830 (export declaration). Code list CL214. |
|
| – | referenceNumber |
string(70) |
MRN of the export declaration. | |
| – | complementOfInformation |
string(30) |
Additional information. |
Ondersteunende bescheiden deelzending
Path: declarationData.houseConsignments[].supportingDocuments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| – | type |
string(4) |
Type of supporting document. Code list CL213. | |
| – | referenceNumber |
string(70) |
Number of the document. | |
| – | documentLineItemNumber |
integer |
Line number in the document. | |
| – | complementOfInformation |
string(35) |
Additional information. |
Vervoersdocumenten deelzending
Path: declarationData.houseConsignments[].transportDocuments[]
| Field in Shipment | JSON field | Type | Req. | Description |
| – | type |
string(4) |
Type of transport document. Code list CL754. | |
| – | referenceNumber |
string(70) |
Number of the transport document. |
Aanvullende referenties deelzending
Path: declarationData.houseConsignments[].additionalReferences[]
| Field in Shipment | JSON field | Type | Req. | Description |
| – | type |
string(4) |
Type of reference. Code list CL380. | |
| – | referenceNumber |
string(70) |
Reference number. |
These fields are on the house consignment (declarationData.houseConsignments[]). Use them when the consignor, consignee, transport or documents differ per house consignment.
Fields that are phased out
These fields still work, but are replaced. Use the new fields in new integrations.
| Old field | Use instead |
declarationData.consignmentItems[] |
declarationData.houseConsignments[].consignmentItems[], with the same fields. The old field is removed after the end of the NCTS transition period. |
declarationData.containers[] and declarationData.seals[] |
declarationData.transportEquipment[] |
consignmentItems[].containerNumbers and consignmentItems[].sealNumbers |
consignmentItems[].transportEquipment (sequence numbers of the containers) |
consignmentItems[].transportDocuments[] |
houseConsignments[].transportDocuments[] |
Response
The response has one result per declaration in dvaDepartureDeclarationResults: applicationReferenceId, isSaved, isSubmitted, errors and frn. HTTP 200 does not mean every declaration 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.
- Line breaks are not allowed in customs messages.
- Do you use
stockKeepingUnitwith the article master data? Leave outpreviousDocuments,supportingDocumentsandadditionalReferencesof the goods item completely, so Shipment can fill them from the article master data. See the article Customs.