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

Code lists

Many fields in the Shipment API take a code instead of free text. This article tells you where each kind of code comes from.

Overview

Kind of code Examples Source
Customs codes Document codes, procedure codes, additional information codes, country codes, packaging types Customs code book (Dutch Customs)
Customs rejection codes DMS455AA and similar Explanation of DMS error codes (National Helpdesk Customs). The codes themselves are in the Customs code book.
Excise codes (EMCS) Excise product codes, CN codes The file EMCS_Codelists.xlsx in the downloads of the article EMCS, and the EMCS manual (Dutch Customs)
NVWA codes Sector codes, certificate types, characteristics (typeCodes) Article NVWA Overview, and the e-CertNL codes (Floricode)
Commodity codes HS, CN and TARIC codes EU TARIC database
Shipment values status, declarationType, submissionType, NVWA sectorCode OpenAPI specification (enumerations), and the article Status list

Customs code lists (CL)

A code list number that starts with CL, for example CL380, refers to a code list of Dutch Customs. The value you send must be exactly one of the codes in that Customs code list. Shipment does not translate or correct these values.

In the field tables of the reference articles, the description of a field says which code list applies, for example: Code list CL380.

Note: Customs updates its code lists. Always check the current version of the code list in the Customs code book (Dutch Customs).

Shipment enumerations

Fields with a fixed list of values are enumerations in the OpenAPI specification. Some are sent as numbers, others as text. The specification shows which values are allowed for each field.

Enumeration Used in Sent as
StatusType (0–131) Status updates, field Status Number
DeclarationType (1–17) Status updates, field DeclarationType Number
SubmissionType (1–38) Status updates, field SubmissionType Number
SectorCode NVWA requests: CAT, CFA, CZZ, CDV, CEV, CVA, CVI, CVV, CZU Text
unitCode (NVWA) NVWA quantities: Stuks, gr, kg, mt, ltr Text
payer (DMS) DMS Import and DMS EIDR: who pays. 1 Declarant, 2 Importer, 3 Other Number
surety (DMS) DMS Import and DMS EIDR: who provides the guarantee. 1 Declarant, 2 Importer Number
paymentMethod (DMS) DMS Import: 0 Default (Shipment chooses deferred payment (DPO), or none if the procedure does not allow it), 1 None, 2 Deferred payment (DPO), 3 Cash Number
representationType (DMS) DMS declarant: 1 Direct, 2 Indirect, 3 Without permit Number
typeCode of a date range (NVWA) 0 Production date, 1 Packing date, 2 Slaughter date, 3 Freezing date, 4 Best-before date Number
intendedUse (NVWA) Additional documents: InspectieDocument, ImportCertificaat, Annexdocument, AnnexDocumentMetHandtekening, AnnexDocumentZonderHandtekening, OverigDocument Text
certificateMethodOfProvisionCode (NVWA) NietVerstrekken, Lokaal, Centraal Text
certificateShippingTypeCode (NVWA) Afhalen (collect), ViaPost (by post) Text

Codes from the Shipment master data

Some fields refer to data you maintain in Shipment instead of an official code list:

  • Address book: fields such as internalCode refer to a relation in the Shipment address book. Shipment then fills in the address details.
  • Article master data: if an article (SKU and HS code) is in the Shipment article master data, Shipment adds the stored data. Leave out previousDocuments, additionalDocumentCode and additionalReferences in that case.

See the article Payload rules.