Vereinfachen Sie Ihre Zollversandverfahren. Verwalten Sie Ihre NCTS-Daten mit einer sicheren, schnellen und umfassenden API.
Ausführliche Dokumentation aller API-Endpunkte
JWT-Token für den API-Zugriff abrufen
https://zollmax.com/api/v1/login{
"email": "user@example.com",
"password": "Password"
}{
"token": "eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo3OCwiZXhwIjoxNjQ1NzA3MTMyfQ.ipp2TR9UEtpvZ9eF4ng-e3GWEaElX5NayxgyNPpt8jQ",
"user_id": 78,
"expires_at": "2024-12-31T23:59:59Z"
}NCTS-Daten im JSON-Format übermitteln
https://zollmax.com/api/v1/ncts_declarations/json{
"doc_type": "T1",
"doc_date": "2022-01-27",
"vehicle_code": null,
"vehicle_coun": "GB",
"trailer_code": "TEST123",
"trailer_coun": "GB",
"border_cross_vehicle": "",
"container": "",
"seal_info": null,
"security": true,
"tanker": false,
"is_aeo": false,
"aeo_location": null,
"transit_date": null,
"departure_custom_code": "GB000060",
"dispatch_country_id": "GB",
"load_place": "GB London",
"goods_location": "",
"arrival_custom_code": "DE007430",
"destination_country_id": "DE",
"unload_place": "DE",
"border_custom_code": null,
"transit_customs_codes": "FR620001",
"transit_countries_codes": "GB,FR,BE,NL,DE",
"carrier_name": "TEST TRANSPORT",
"carrier_address": "Some Address",
"carrier_postcode": "11111",
"carrier_city": "London",
"carrier_country_id": "GB",
"carrier_taxno": null,
"carrier_eori_code": null,
"trans_method": "road",
"roro_operator_code": null,
"guarantee_price": "0.0",
"guarantee_curr": null,
"status": "draft",
"lrn_no": null,
"lrn": null,
"mrn": null,
"mrn_no": null,
"lrn_url": "https://zollmax.com/ncts_declarations/500072/preview.pdf",
"manifesto_price": "0.0",
"manifesto_curr": null,
"position_no": "",
"remote_ref": "TestRef001",
"notes": null,
"goods_attributes": [
{
"line_no": 1,
"gtip_code": "69109000",
"commodity": "Construction equipments",
"brut_wg": 19199.96,
"net_wg": 16721.82,
"invoice_amount": "18906.0",
"invoice_curr": "EUR",
"exp_customs_type": null,
"exp_customs_partial": null,
"exp_customs_no": "21GB000X1234567890",
"manifesto_type": null,
"dep_country_id": "GB",
"arv_country_id": "DE",
"sender_taxno": null,
"sender_name": "GB EXPORTER TEST 2",
"sender_address": "Test consignor address 2",
"sender_postcode": "11111",
"sender_city": "London",
"sender_country_id": "GB",
"sender_eori_code": null,
"consignee_taxno": "",
"consignee_name": "DE IMPORTER TEST",
"consignee_address": "Test consignee address",
"consignee_postcode": "50678",
"consignee_city": "KOLN",
"consignee_country_id": "DE",
"consignee_eori_code": null,
"packs_attributes": [
{
"pack_type": "BI",
"pack_count": "62",
"notes": "As Addressed"
}
],
"documents_attributes": [
{
"doc_type": "380",
"doc_no": "Invoice 123",
"pre_post": "A"
}
]
},
{
"line_no": 2,
"gtip_code": "69109000",
"commodity": "Other construction equipments",
"brut_wg": 19199.96,
"net_wg": 16721.82,
"invoice_amount": "20000.0",
"invoice_curr": "EUR",
"dep_country_id": "GB",
"arv_country_id": "DE",
"sender_name": "GB EXPORTER TEST 2",
"sender_address": "Test consignor address 2",
"sender_postcode": "11111",
"sender_city": "London",
"sender_country_id": "GB",
"sender_eori_code": null,
"consignee_taxno": null,
"consignee_name": "DE IMPORTER TEST 2",
"consignee_address": "Test consignee address 2",
"consignee_postcode": "50678",
"consignee_city": "KOLN",
"consignee_country_id": "DE",
"consignee_eori_code": null,
"packs_attributes": [
{
"pack_type": "BI",
"pack_count": "62",
"notes": "As Addressed"
}
],
"documents_attributes": [
{
"doc_type": "730",
"doc_no": "CMR002",
"pre_post": "A"
},
{
"doc_type": "380",
"doc_no": "Invoice 1234",
"pre_post": "A"
},
{
"doc_type": "830",
"doc_no": "21GB000X1234567891",
"pre_post": "A"
}
]
}
]
}doc_type
stringDokumentart (T1, T2 usw.)
T1doc_date
stringErstellungsdatum des Dokuments
2022-01-27status
stringAktueller Status des Dokuments
draftremote_ref
stringExterne Referenznummer
TestRef001vehicle_code
stringAmtliches Kennzeichen des Fahrzeugs
nullvehicle_coun
stringLändercode des Fahrzeugs
GBtrailer_code
stringAmtliches Kennzeichen des Anhängers
TEST123trans_method
stringBeförderungsart
roaddeparture_custom_code
stringCode der Abgangszollstelle
GB000060arrival_custom_code
stringCode der Bestimmungszollstelle
DE007430transit_countries_codes
stringDurchfuhrländer (durch Komma getrennt)
GB,FR,BE,NL,DEcarrier_name
stringFirmenname des Frachtführers
TEST TRANSPORTcarrier_address
stringAnschrift des Frachtführers
Some Addressgoods_attributes
arrayArray der Warenpositionen
[...]gtip_code
stringHS-/GTIP-Warennummer
69109000commodity
stringWarenbezeichnung
Construction equipmentsbrut_wg
numberBruttogewicht (kg)
19199.96{
"status": "success",
"reference_number": "MNF230000212",
"message": "NCTS data processed successfully"
}NCTS-Daten im XML-Format übermitteln
https://zollmax.com/api/v1/ncts_declarations/xml{
"manifesto": {
"ncts_data": "<BG015B><MesSenMES3>TRA.APP</MesSenMES3><SenIdeCodQuaMES4>BGC201593324ZZZZ7</SenIdeCodQuaMES4></BG015B>"
}
}{
"status": "success",
"reference_number": "MNF230000212",
"message": "NCTS data processed successfully"
}Status einer bestimmten NCTS-Referenznummer abfragen
https://zollmax.com/api/v1/ncts_declarations/{reference_number}{
"reference_number": "22TR34130001564240",
"status": "in_transit",
"current_location": "Istanbul Port",
"estimated_arrival": "2024-01-15T14:30:00Z"
}Liste aller NCTS-Datensätze abrufen
https://zollmax.com/api/v1/ncts_declarations{
"data": [
{
"reference_number": "22TR34130001564240",
"status": "in_transit",
"created_at": "2024-01-10T09:00:00Z"
}
],
"total": 1,
"page": 1
}Vom System gesendete ungelesene Nachrichten abrufen
https://zollmax.com/api/v1/messages/unread{
"messages": [
{
"id": 1,
"type": "status_update",
"message": "Your shipment has arrived at destination",
"created_at": "2024-01-15T10:30:00Z"
}
],
"count": 1
}NCTS-Dokumente im PDF-Format herunterladen
https://zollmax.com/api/v1/ncts_declarations/{reference_number}/pdf{
"message": "PDF file download will start",
"download_url": "https://zollmax.com/downloads/MNF230000212.pdf"
}Sofort einsatzbereite Postman-Collection zum Testen der API
7 Endpunkte mit Authentifizierung und Beispielen
HTTP-Statuscodes, die in API-Antworten auftreten können, sowie Lösungsvorschläge
Anfrage erfolgreich verarbeitet
Der normale Prozessablauf wird fortgesetzt
Ungültige Anfrageparameter oder ungültiges Datenformat
Prüfen Sie die Anfragedaten und verwenden Sie das korrekte Format
Ungültiges oder fehlendes Authentifizierungs-Token
Melden Sie sich an und verwenden Sie ein gültiges Bearer-Token
Angeforderte Ressource nicht gefunden
Prüfen Sie die URL und die Ressourcenverweise
Das Datenformat ist korrekt, entspricht aber nicht den Geschäftsregeln
Prüfen Sie die NCTS-Datenstruktur und die Pflichtfelder
Anfragelimit überschritten
Verringern Sie die Anfragehäufigkeit und versuchen Sie es erneut
Unerwarteter serverseitiger Fehler
Versuchen Sie es später erneut oder wenden Sie sich an das Support-Team
Dienst vorübergehend nicht verfügbar
Das System wird möglicherweise gewartet – versuchen Sie es später erneut