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

NVWA - CZU

A CZU request is a request for a veterinary export certificate for dairy products (sector CZU, in Dutch: zuivel).
Shipment validates the request and sends it to e-CertNL of the NVWA. This article follows the screens of the request in Shipment, in the same order as the article CZZ (seeds).
For each screen you see the JSON fields.

How sectors, additional documents and updates work in general is in the article NVWA Overview.

Downloads

  • Download - NVWA (CZU - Zuivel) (.json)

[TO DO: upload the sample file and add the download link.
Screenshots of the CZU screens are welcome.]

Endpoint POST /erpservices/ImportDossier
Where in the request nvwaExportCertificateRequests (array)
One request One dossier, maximum 10 requests per request in total.
DeclarationType in status updates 12
Reference in the response None. e-CertNL assigns a consignmentId, which comes in the status updates.

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 certificate request in the array nvwaExportCertificateRequests. 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 request; Shipment checks that when it validates the request.

Control fields

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

Step 1: Aanvraag (Request)

Path: exportConsignment

JSON field Type Req. Description
dossierNumber string(30) ✓ At the top of the request, outside the request: dossierNumber. The dossier name in Shipment, for example your order or delivery number.
referenceNumber string(100)   Your reference for this request, for your own administration.
exportExitDateTime datetime ✓ Expiry date of the inspection. After this date, e-CertNL no longer handles the request. It is also the reference date for the export characteristics.

Step 2: Vestiging (Branch)

Path: exportConsignment

JSON field Type Req. Description
branchLocationInternalCode string   Internal code of the location of your branch in Shipment, with its address and the e-CertNL account details. Set it up in Shipment under Adresboek (Address book) > Adres bewerken (Edit address) > Locaties (Locations) > Interne code (Internal code). Shipment uses it to validate the request and to send it to the NVWA.
sectorCode string ✓ The sector. For dairy: CZU. Values: CAT, CFA, CZZ, CDV, CEV, CVA, CVI, CVV, CZU.

Step 3: Afzender (Consignor)

Path: exportConsignment.consignor

JSON field Type Req. Description
internalCode string(450) ✓ Internal code of the consignor in the address book. Shipment takes the name and address from the address book.
address.name string(255) ✓ Name.
address.nameAddition string(255)   Extra name line, printed on a second line.
address.streetAndNumber string(255) ✓ Street and house number.
address.streetAndNumberAddition string(255)   Extra address line after the street, for example a floor, building or department.
address.zipCode string(12)   Postal code.
address.city string(70) ✓ City.
address.extraAddressLine string(255)   Extra address line. It is the last line of the address, after the postal code.
address.country.code string(2) ✓ Country code. Code list CL248.
address.country.name string(70) ✓ Country name.
"consignor": { "internalCode": "STRATECH_API" }

Send either internalCode or the address fields.
If you send both, Shipment updates the address with that internal code with the address fields you send.
See the article Payload rules, section Address book.

Step 4: Geadresseerde (Consignee)

Path: exportConsignment.consignee

JSON field Type Req. Description
internalCode string(450)   Internal code of the consignee in the address book. Use it or the address fields. If you send both, Shipment updates the address with that internal code with the address fields you send.
address.name string(255) ✓ Name.
address.nameAddition string(255)   Extra name line, printed on a second line.
address.streetAndNumber string(255) ✓ Street and house number.
address.streetAndNumberAddition string(255)   Extra address line after the street, for example a floor, building or department.
address.zipCode string(12)   Postal code.
address.city string(70) ✓ City.
address.extraAddressLine string(255)   Extra address line. It is the last line of the address, after the postal code.
address.country.code string(2) ✓ Country code. Code list CL248.
address.country.name string(70) ✓ Country name.

Step 5: Exportdocumenten (Export documents)

Agreement

Path: exportConsignment

JSON field Type Req. Description
destinationCountryCode string(2)   Country of destination: the country outside the EU with which the NVWA has agreements on the requirements for the product. ISO 3166-1 alpha-2.
agreementNumber integer   Number of the agreement. Shipment finds the agreement from the sector, the country of destination and the export date. Only needed when that gives more than one agreement.
provinceName string   Province. Only used in rare cases, to find the right agreement.
viaTransitCountryInEU boolean   Set to true when the consignment passes through another EU country.

Certificate

Path: exportConsignment.exportCertificates[]

JSON field Type Req. Description
certificateName string(70) ✓ Name of the certificate, exactly as in e-CertNL. See Certificates for dairy below.
language string(4) ✓ Language of the certificate: EN, FR, NL, PT or ES. For a certificate in two languages, combine the codes, for example ESEN.
numberOfCopies integer ✓ Number of copies, 1 to 9.
nonCertificateLevelCharacteristics string[]   List of typeCode values from applicableCertificateCharacteristics of the consignment that are printed on this certificate.
certificateLevelCharacteristics[].name string(70) ✓ Name of a characteristic that is only printed on this certificate.
certificateLevelCharacteristics[].value string(175) ✓ Value of that characteristic.
regulatoryProcedures[].content string(60) ✓ Name of a statement (in Dutch: verklaring) that is printed on the certificate.

Handling

Path: exportConsignment.exportCertificateHandlingInstructions

JSON field Type Req. Description
certificateMethodOfProvisionCode string   How the certificate is provided. Values: NietVerstrekken, Lokaal, Centraal.
certificateShippingTypeCode string   How the printed certificates reach you: collect them or by post. Values: Afhalen, ViaPost.
certificateHandlingAddress string(2000)   Postal address for the certificates, when they are sent by post.

Additional documents

Path: exportConsignment.additionalDocuments[]

JSON field Type Req. Description
fileName string(260) ✓ File name with extension, exactly the same as the file you upload. The upload fails if the names differ. See the article NVWA Overview, section Additional documents.
intendedUse string ✓ Type of document. Values: InspectieDocument, ImportCertificaat, Annexdocument, AnnexDocumentMetHandtekening, AnnexDocumentZonderHandtekening, OverigDocument.

Certificates for dairy

The certificate name in certificateName must match the name in e-CertNL exactly.
A different spelling or translation is rejected.
Which certificates you request, and how many, differs per customer and agreement.
Shipment fills in the certificates and numbers in advance, based on the list of agreements from the NVWA that is loaded in Shipment.
You can change these values in the request.

certificateName (example) Use it for
Veterinair certificaat (NVWA-Zuivel) The veterinary export certificate for dairy products.
Handwijzer voor waarmerken HC The NVWA guide for endorsing health certificates.

Step 6: Zending (Consignment)

Location

Path: exportConsignment

JSON field Type Req. Description
warehouseLocationInternalCode string   Internal code of the inspection location in Shipment, under Adresboek (Address book) > Adres bewerken (Edit address) > Locaties (Locations) > Interne code (Internal code). Shipment adds its address to the request.
warehouseLocationAdditionalDetails string(2000)   Extra information about the inspection location.

Characteristics

Path: exportConsignment

JSON field Type Req. Description
applicableCertificateCharacteristics[].typeCode string(70) ✓ Type of the characteristic. See Consignment characteristics below.
applicableCertificateCharacteristics[].valueCode string(240) ✓ Value of the characteristic. Free text, except for AANVRAAG_DOOR_KCB and IBP_PRODUCT.
applicableExportCharacteristics[].typeCode string(70) ✓ Type of the export characteristic.
applicableExportCharacteristics[].valueCode string(240) ✓ Value of the export characteristic.

Departure

Path: exportConsignment.loadingEvent

JSON field Type Req. Description
occurenceDateTime datetime   Date of departure of the goods. If filled in, this date is printed on the certificate instead of exportExitDateTime. It is also the date on which the certificate is certified.
occurenceLocationCityName string(70)   City of departure.

Transport

Path: exportConsignment.transportEquipment[]

JSON field Type Req. Description
transportType string(500) ✓ Type of transport. e-CertNL translates these values into the language of the certificate: binnenvaartschip, boot, handbagage, koerier, passagier, post, trein, vliegtuig, vrachtauto, vrachtwagen, wegvervoer, zeeschip. Other values are not translated.
transportIdentification string(500)   Identification of the means of transport, for example a licence plate or flight number.
containerNumber string(500)   Container number.
affixedSeal string(499)   Seal number.

Consignment characteristics

Send certificate characteristics in exportConsignment.applicableCertificateCharacteristics and export characteristics in exportConsignment.applicableExportCharacteristics. Which characteristics are needed depends on the certificate and the country of destination.
These are the ones in the sample file:

typeCode Type Example value
FACTUURNUMMER Certificate characteristic 5571234
ORDERNUMMER Certificate characteristic 5571234
TOON_CODE Certificate characteristic NEE
BEHANDELING Export characteristic niet omgepakt
HERKOMST_EINDPRODUCT Export characteristic NEDERLAND
HERKOMST_GRONDSTOF Export characteristic Nederland (NL)
KAASSOORT Export characteristic Gouda
DIERSOORT Export characteristic RUND
VOLDOET_AAN_VRIJE_VERKOOPCLAUSULE Export characteristic Nee, geen vrije verkoopclausule aangevraagd.
ZUIVELPRODUCTSOORT Export characteristic KAAS
ZUIVEL_VETGEHALTE Export characteristic Kaas 48% min.

The values must match e-CertNL exactly. [VERIFY: complete list of characteristics and values for dairy]

Step 7: Artikelen (Goods items), overview

Path: exportConsignment.chargeableUnit

JSON field Type Req. Description
quantity integer   Number of packages of the consignment.
unitCode string(100)   Package type code (UN/ECE Recommendation 21), exactly as in e-CertNL. Examples: AM = Ampoule, non-protected; CG = Cage; BX = Box; CH = Chest; CE = Creel.

Step 7: Artikelen (Goods items), general

Goods item

Path: exportConsignment.includedTradeLineItems[]

JSON field Type Req. Description
descriptionText string(120)   Your reference for the item. It must be unique within the request.
stockKeepingUnit string(80)   Not sent to e-CertNL. Shipment uses it to find a goods item template with this code. Values from the template only fill fields of the item that are empty. On an update, only new items are filled from the template. The branch and the sector decide which template is used.
productionBatchId string(100)   Reference of the batch.
applicableProduct.productName string(120) ✓ Name of the product exactly as in e-CertNL, for example Kaas - minimaal gepasteuriseerd. Product names in e-CertNL contain no line breaks.
applicableProduct.descriptionText string(120)   Description of the product, printed on the certificate.
applicableProduct.codeCFT string(80)   Product code CFT. Only for dairy.
applicableProduct.codeOCS string(80)   Product code OCS. Only for dairy.
applicableProduct.descriptionOCS string(120)   Product description OCS. Only for dairy.
warehouseLocationInternalCode string   Internal code of the storage location of the item, set up in Shipment like the inspection location in step 6.

Batches

Path: exportConsignment.includedTradeLineItems[].batches[]

JSON field Type Req. Description
descriptionText string(100)   Contains a description of the material/substance.
measure.grossVolume number   The gross volume.
measure.netVolume number   The net volume. The net volume can't be more than the GrossVolume.
measure.unitCode string   Values: Stuks, gr, kg, mt, ltr.
chargeableUnit.quantity integer   The quantity.
chargeableUnit.unitCode string(100)   The unit code.
applicableExportCharacteristics[].typeCode string(70) ✓ The type of the characteristic.
applicableExportCharacteristics[].valueCode string(240) ✓ The value code.
applicableCertificateCharacteristics[].typeCode string(70) ✓ The type of the characteristic.
applicableCertificateCharacteristics[].valueCode string(240) ✓ The code of the characteristic.
applicableProcessCharacteristics[].typeCode string(70) ✓ The type of the characteristic.
applicableProcessCharacteristics[].valueCode string(240) ✓ The value code.
dateRanges[].typeCode integer ✓ Values: 0, 1, 2, 3, 4.
dateRanges[].startDate datetime ✓ Start date of the period.
dateRanges[].endDate datetime   End date of the period.
productionPeriod string   Description of the period in which the batch was produced. Only for dairy.
productionBatchId string(100)   The reference of the batch.

Dates

Path: exportConsignment.includedTradeLineItems[].dateRanges[]

JSON field Type Req. Description
typeCode integer ✓ Values: 0, 1, 2, 3, 4.
startDate datetime ✓ Start date of the period.
endDate datetime   End date of the period.

Approval

Path: exportConsignment.includedTradeLineItems[].approval

JSON field Type Req. Description
approvalType string(100) ✓ Type of approval, for example Erkend bedrijf (CZU).
approvalAddress.identificationNumber string(70) ✓ Approval number, for example NL Z9999 EC.
approvalAddress.nameLine1 string(255)   Name.
approvalAddress.nameLine2 string(255)   Second name line.
approvalAddress.zipCode string(12)   Postal code.
approvalAddress.streetAndNumberLine1 string(255)   Street and house number.
approvalAddress.streetAndNumberLine2 string(255)   Second address line.
approvalAddress.city string(70)   City.
approvalAddress.countryCode string(2)   Country code.

Additional approval 1

Path: exportConsignment.includedTradeLineItems[].additionalApproval1

JSON field Type Req. Description
approvalType string(100) ✓ Type of approval, for example Erkend bedrijf (CZU).
approvalAddress.identificationNumber string(70) ✓ Approval number, for example NL Z9999 EC.
approvalAddress.nameLine1 string(255)   Name.
approvalAddress.nameLine2 string(255)   Second name line.
approvalAddress.zipCode string(12)   Postal code.
approvalAddress.streetAndNumberLine1 string(255)   Street and house number.
approvalAddress.streetAndNumberLine2 string(255)   Second address line.
approvalAddress.city string(70)   City.
approvalAddress.countryCode string(2)   Country code.

Additional approval 2

Path: exportConsignment.includedTradeLineItems[].additionalApproval2

JSON field Type Req. Description
approvalType string(100) ✓ Type of approval, for example Erkend bedrijf (CZU).
approvalAddress.identificationNumber string(70) ✓ Approval number, for example NL Z9999 EC.
approvalAddress.nameLine1 string(255)   Name.
approvalAddress.nameLine2 string(255)   Second name line.
approvalAddress.zipCode string(12)   Postal code.
approvalAddress.streetAndNumberLine1 string(255)   Street and house number.
approvalAddress.streetAndNumberLine2 string(255)   Second address line.
approvalAddress.city string(70)   City.
approvalAddress.countryCode string(2)   Country code.

Producer

Path: exportConsignment.includedTradeLineItems[].producer

JSON field Type Req. Description
identificationNumber string(70) ✓ Approval number of the producer.
nameLine1 string(255)   Name.
nameLine2 string(255)   Second name line.
zipCode string(12)   Postal code.
streetAndNumberLine1 string(255)   Street and house number.
streetAndNumberLine2 string(255)   Second address line.
city string(70)   City.
countryCode string(2)   Country code.

Packer

Path: exportConsignment.includedTradeLineItems[].packer

JSON field Type Req. Description
identificationNumber string(70) ✓ Approval number of the packer.
nameLine1 string(255)   Name.
nameLine2 string(255)   Second name line.
zipCode string(12)   Postal code.
streetAndNumberLine1 string(255)   Street and house number.
streetAndNumberLine2 string(255)   Second address line.
city string(70)   City.
countryCode string(2)   Country code.

Quantity

Path: exportConsignment.includedTradeLineItems[]

JSON field Type Req. Description
measure.grossVolume number   Gross quantity.
measure.netVolume number   Net quantity. Not more than the gross quantity.
measure.unitCode string   Unit of the quantity. Values: Stuks, gr, kg, mt, ltr.
chargeableUnit.quantity integer   Number of packages.
chargeableUnit.unitCode string(100)   Package type code (UN/ECE Recommendation 21), exactly as in e-CertNL. Examples: AM = Ampoule, non-protected; CG = Cage; BX = Box; CH = Chest; CE = Creel.

Characteristics

Path: exportConsignment.includedTradeLineItems[]

JSON field Type Req. Description
applicableCertificateCharacteristics[].typeCode string(70) ✓ Type of the characteristic. See Item characteristics below.
applicableCertificateCharacteristics[].valueCode string(240) ✓ Value of the characteristic.
applicableExportCharacteristics[].typeCode string(70) ✓ Type of the export characteristic: DOEL, IVI_NUMMER, ORIGINE or VORM.
applicableExportCharacteristics[].valueCode string(240) ✓ Value of the export characteristic.
amountOfItems number   Amount of items, only used in Fish(CVI)

Item characteristics

Send these per item in includedTradeLineItems[].applicableCertificateCharacteristics and includedTradeLineItems[].applicableExportCharacteristics. In the sample file the export characteristics of the item are the same as those of the consignment.

typeCode Type Example value
TARIC_CODE Certificate characteristic 0406
BEWAARWIJZE Certificate characteristic Gekoeld

Dairy fields of an item

  • Product codes: applicableProduct.codeCFT, codeOCS and descriptionOCS are only used for dairy.
  • Approved establishment: approval.approvalType (for example Erkend bedrijf (CZU)) with approval.approvalAddress.identificationNumber (for example NL Z9999 EC).
  • Producer: producer.identificationNumber, the approval number of the producer.
  • Dates: dateRanges[].typeCode with a start date, for example 4 (best-before date).
    The codes are in the article Code lists.
  • Batches: one item per batch in batches[], each with its own quantities and dates.

Step 7: Artikelen (Goods items), raw materials

Raw material

Path: exportConsignment.includedTradeLineItems[].materials[]

JSON field Type Req. Description
descriptionText string(100)   Description of the raw material.
applicableProduct.productName string(120) ✓ Name of the product exactly as in e-CertNL.
applicableProduct.descriptionText string(70)   Description of the product, printed on the certificate.

Quantity

Path: exportConsignment.includedTradeLineItems[].materials[]

JSON field Type Req. Description
measure.grossVolume number   Gross quantity.
measure.netVolume number   Net quantity. Not more than the gross quantity.
measure.unitCode string   Unit of the quantity. Values: Stuks, gr, kg, mt, ltr.
chargeableUnit.quantity integer   Number of packages.
chargeableUnit.unitCode string(100)   Package type code (UN/ECE Recommendation 21), exactly as in e-CertNL. Examples: AM = Ampoule, non-protected; CG = Cage; BX = Box; CH = Chest; CE = Creel.

Characteristics

Path: exportConsignment.includedTradeLineItems[].materials[]

JSON field Type Req. Description
applicableCertificateCharacteristics[].typeCode string(70) ✓ Type of the characteristic.
applicableCertificateCharacteristics[].valueCode string(240) ✓ Value of the characteristic.
applicableProcessCharacteristics[].typeCode string(70) ✓ Type of the process characteristic.
applicableProcessCharacteristics[].valueCode string(240) ✓ Value of the process characteristic.
applicableExportCharacteristics[].typeCode string(70) ✓ Type of the export characteristic.
applicableExportCharacteristics[].valueCode string(240) ✓ Value of the export characteristic.
dateRanges[].typeCode integer ✓ Values: 0, 1, 2, 3, 4.
dateRanges[].startDate datetime ✓ Start date of the period.
dateRanges[].endDate datetime   End date of the period.
productionPeriod string   A description of the period in which the Partij is produced. Only applicable for CZU (Zuivel).
approval.approvalType string(100) ✓ The approval type
approval.approvalAddress.identificationNumber string(70) ✓ The identification number as known by e-CertNL
approval.approvalAddress.nameLine1 string(255)   The name line
approval.approvalAddress.nameLine2 string(255)   The second name line
approval.approvalAddress.zipCode string(12)   The zip code
approval.approvalAddress.streetAndNumberLine1 string(255)   The street and number line
approval.approvalAddress.streetAndNumberLine2 string(255)   The street and number line 2
approval.approvalAddress.city string(70)   The city
approval.approvalAddress.countryCode string(2)   The country code (ISO 3166-1 alpha-2)
producer.identificationNumber string(70) ✓ The identification number as known by e-CertNL
producer.nameLine1 string(255)   The name line
producer.nameLine2 string(255)   The second name line
producer.zipCode string(12)   The zip code
producer.streetAndNumberLine1 string(255)   The street and number line
producer.streetAndNumberLine2 string(255)   The street and number line 2
producer.city string(70)   The city
producer.countryCode string(2)   The country code (ISO 3166-1 alpha-2)

Response

The response has one result per request in nvwaExportResults: applicationReferenceId, isSaved, isSubmitted, errors. HTTP 200 does not mean every request is valid: always check isSaved and errors. All HTTP codes are in the article Payload rules. e-CertNL assigns a consignmentId after submission.
You receive it in the status updates (module Webhook).

Points to note

  • Write field names exactly as in the tables. The names of the fields are camelCase, for example address, name and country.code, not Address or Name. This is only about the field names: values can contain spaces and capitals.
  • Numbers are numbers. Send netVolume, quantity and numberOfCopies without quotes.
  • Leave out empty fields and lists. For example, don't send transportIdentification: "".
  • Codes must match e-CertNL exactly: certificate names, product names, package type codes and characteristic values.
  • Batches: each batch goes in batches under the item it belongs to.