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

Chamber of Commerce - Overview

With the Chamber of Commerce module, you create trade documents for the Chamber of Commerce (KvK) from your own platform: a Certificate of Origin (COO) or an EUR certificate.

Important: this module uses its own endpoint and its own message structure. The rules on Payload rules apply to the other modules, not to this one.

Differences from the other modules

  Chamber of Commerce Other modules
Endpoint /api/Import/ImportDossier /erpservices/ImportDossier
Specification /help/import/import.json /erpservices/swagger/v1/import.json
Field names PascalCase, for example ShipmentIdentifier camelCase, for example dossierNumber
Structure Header and Body dossierNumber with an array per message type
Dossier reference ShipmentIdentifier dossierNumber
Reference per document None applicationReferenceId
Status updates No Yes
Authentication Basic authentication only (username and password) OAuth 2.0 (Client ID and Client Secret)

Endpoint

POST {base-url}/api/Import/ImportDossier
Authorization: Basic <base64(username:password)>
Content-Type: application/json

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

[VERIFY: the specification shows the path /api/proxy/Import/ImportDossier, which is the path of the help page. Confirm the path customers use.]

Authentication

The Chamber of Commerce module only supports Basic authentication. A Client ID and Client Secret (OAuth 2.0), as used by the other modules, don't work here.

Send the username and password of a Shipment user with every request, base64-encoded in the pattern username:password:

Authorization: Basic <base64(username:password)>

Use a user with the profile Public API (recommended) or Administrator. Create a dedicated Public API user for your integration: this user can only use the API and can't change anything else in Shipment. Don't use a personal account: the integration then keeps working when someone leaves or changes their password. The steps are in Create a Public API user below.

The endpoint also accepts XML (application/xml, text/xml). We recommend JSON.

Request structure

{
"Header": {
"ShipmentIdentifier": "ERP_2026_000123"
},
"Body": {
"CountryCodeOfDestination": "US",
"Parties": [
{ "PartnerRole": 0, "InternalCode": "YOUR_EXPORTER_CODE" }
],
"ChamberOfCommerce": {
"COO": {
"NumberOfCopies": 1,
"CooGoodsItems": [
{ "Description": "...", "Quantity": "..." }
]
}
}
}
}

[VERIFY: replace with a complete, working example from the Postman collection.]

Header

Field Type Required Description
ShipmentIdentifier string, max. 30 Yes Your reference for the dossier. This is the dossier number: the same value as dossierNumber in the other modules. No spaces at the start or end. Use underscores, not hyphens.
TemplateIdentifier string, max. 40 No Template in Shipment to start from. [VERIFY]
UserID string, max. 35 No User in Shipment. [VERIFY]
Trigger string No [TO DO: description and possible values]

Create a Public API user

  1. Log in to Stratech Shipment or Beurtvaartadres ShipmentManager with an Administrator account.
  2. Click Beheer > Instellingen (Management > Settings), then Gebruikers (Users).
  3. Click Toevoegen (Add).
  4. Enter a name and email address, and choose the profile Public API.
  5. Click Toepassen (Apply). The user receives an email to set a password.

Body: Chamber of Commerce

The documents are in Body.ChamberOfCommerce.

Certificate of Origin (COO)

Field Description
NumberOfCopies Number of copies, 0 to 10.
CountriesOfOrigin Countries of origin of the goods.
Manufacturer Manufacturer. Location is required, max. 34 characters.
Statement1No Replacement certificate. Requires OriginalDate and ReplacementReason (1 to 88 characters).
Statement2No [TO DO: description]
Statement3Evidence [TO DO: description]
CooGoodsItems Goods on the certificate. Description max. 71 characters, Quantity max. 23 characters.

EUR certificate (EUR)

Field Description
CertificateType Required. 0 or 1. [VERIFY: 0 = EUR.1 and 1 = EUR-MED?]
Cumulation Cumulation, max. 30 characters.
ExportationCountries Countries of exportation.
CountriesOfOrigin Countries of origin.
PreferentialConditions Preferential conditions.
PreferentialEvidence Preferential evidence.
EurGoodsItems Goods on the certificate. Description max. 71, Quantity max. 12, Invoice max. 12 characters.

TransportInformation (list of text lines) applies to both documents.

Body: other fields

Field Description
CountryCodeOfDestination Country of destination, 2-letter code.
CountryOfDestination Country of destination as text, max. 20 characters per line, max. 2 lines.
Parties Parties, with PartnerRole, InternalCode (address book), Name (1 to 150 characters), Identifiers and Address. [VERIFY: meaning of PartnerRole 0 and 2]
ShipmentInstructions Comments, with Text (max. 322 characters) and CommentType.
TradeTerms Incoterm (TermsOfDelivery, 3 letters) and location (max. 256 characters).
TransportDetails Transport means, equipment, seals, goods location and itinerary.
Customs Customs details, such as payment terms and warehouse.
ShipmentGoodsItems Goods items of the shipment, with commodity code, weights, packaging and customs details.

[VERIFY: which of these fields are used for Chamber of Commerce documents, and which are only relevant for other uses of this endpoint?]

Response

Field Description
DossierId ID of the dossier in Shipment.
StatusCode Result: 0, 7, 8, 9, 10, 11 or 999. [TO DO: meaning of each value]
Message Message about the result.
ValidationErrors Validation errors, if any.

[TO DO: HTTP status codes for errors. The specification only lists 200.]

Combining with other documents

ShipmentIdentifier is the dossier number. Use the same value as dossierNumber in the other modules to combine documents in one dossier.

  • Allowed: start a dossier with a Chamber of Commerce document, then add declarations or transport documents (such as a CMR) through the API with the same dossierNumber.
  • Not allowed: add a Chamber of Commerce document to a dossier that already contains a declaration or transport document. Use a new dossier for the Chamber of Commerce document.