Message specifications
This article lists every message type you can send with the Shipment API. For each message type there is a reference article with all fields, and a sample file you can download.
Message types
| Message type | Module | Where in the request | declarationType in status updates |
Sample file |
| DMS Export | Customs | dmsExportDeclarations |
2 | In the article DMS Export |
| DMS Import | Customs | dmsImportDeclarations |
1 | In the article DMS Import |
| DMS EIDR | Customs | dmsEIDRDeclarations |
4 | In the article DMS EIDR |
| DMS EIDR Warehouse | Customs | dmsEIDRWarehouseDeclarations |
3 | In the article DMS EIDR Warehouse |
| DVA Departure | Customs | dvaDepartureDeclarations |
7 | In the article DVA Departure |
| DVA Arrival | Customs | dvaArrivalDeclarations |
8 | In the article DVA Arrival |
| EMCS Departure | Customs | emcsDepartureDeclarations |
11 | In the article EMCS |
| CMR | Transport documents | Own endpoint CreateCmrDocument |
9 | In the article CMR |
| A.TR | Transport documents | Own endpoint CreateAtrDocument |
10 | In the article A.TR |
| Certificate of Origin | Chamber of Commerce | Body.ChamberOfCommerce.COO |
– | In the article Certificate of Origin |
| EUR certificate | Chamber of Commerce | Body.ChamberOfCommerce.EUR |
– | In the article EUR.1 |
| NVWA export certificate | NVWA | nvwaExportCertificateRequests |
12 | Seeds (CZZ): CZZ (seeds). Other sectors: NVWA Overview |
| Portbase MED | Port notifications | Not through the API. Shipment creates the MED from a DMS Export declaration. | 16 | Port notifications Overview |
| Portbase MID | Port notifications | portbaseMidNotifications |
17 | Portbase MID |
| e-Balie export notification | Port notifications | eBalieExportNotifications |
15 | Port notifications Overview |
| AES Arrival at Exit | Single Window | swArrivalAtExitDeclarations |
13 | Arrival at Exit |
| Provisioning | Single Window | swProvisioningDeclarations |
14 | Provisioning |
The declarationType value tells you which message type a status update is about. The full list is in the article Status list.
How to read a reference article
Each reference article follows the screens of the message in Shipment:
- Endpoint and control fields: where you send the message and the fields that control the request.
- One section per screen: a screenshot of the screen in Shipment and a table with the fields on it.
- Response and points to note: what you get back and rules that are easy to miss.
The field tables have these columns:
| Column | Meaning |
| Nr | The number of the field in the screenshot. A dash means the field is not numbered in the screenshot, or the field has no JSON field. |
| JSON field | The JSON field name, exactly as you send it. The path above the table shows the object the field belongs to. |
| Type | string, integer, number, boolean, datetime, object or array. For strings, the maximum length in parentheses. |
| Req. | A check mark if the field is required. |
| Description | What the field means, allowed values and code lists. |
Sample files
The sample files are complete, valid messages. Use them as a starting point, or send them with Postman to see a working request. The articles themselves don't contain complete examples; they only show short fragments.
The download links are in the section Downloads at the top of each article in the table above.
Source of truth
The OpenAPI specification is always the most recent version of all message types. If a reference article and the specification differ, the specification is leading. See the article OpenAPI specification.