What you can do
NCTS is the transit procedure. A Transit Declaration is the Customs transit file. It is either a Departure or an Arrival. You create the Transit Declaration, and for a Departure you can import a goods file. You can then read house consignments, goods items, and documents. The Public API does not submit the declaration to Customs, and it does not update, amend, cancel, or change guarantees. There is no separate NCTS Shipment resource.Before you start
The credential needs thencts module. Every NCTS route except the credential itself requires X-Eaze-Client-Ref.
commercialReference is your business reference and is required when you create a declaration. clientReference is an optional reference of your own. The LRN is generated by Eaze Customs. The MRN is assigned by Customs later. On Arrival you already know the MRN and you send it.
Steps
1
Choose Departure or Arrival
Departure starts a transit movement. Arrival notifies the office of destination about a movement that already has an MRN.Follow NCTS Departure or NCTS Arrival. Do not reuse a Departure request for Arrival.
2
Discover templates
Call List NCTS Templates.
movementType defaults to DEPARTURE when you omit it. Send ARRIVAL for Arrival templates.If you omit templateId on create, Eaze Customs uses the single default template for that movement type. Zero defaults, or more than one, returns HTTP 422 with ncts_configuration_incomplete.3
Read the result
Get Transit Declaration returns the LRN, status, validation summary, counts, and the stored business detail. List Transit Declarations returns the short summary. House consignments and goods items appear after a successful Departure import, or when they already exist on the declaration.
Working example
validation.status is PENDING while the declaration is NEW, PASSED when it is READY_TO_DECLARE, FAILED when it is BLOCKED or INVALID, and NOT_APPLICABLE for other statuses. readyForSubmission: true means the draft passed validation. It does not mean this API can submit it to Customs.
Get Transit Declaration returns the header together with businessData, customsOutcome, and finalDocumentStatuses.
type, referenceNumber, otherReference, amount, currency, and verificationStatus. verificationStatus is PENDING, NOT_REQUIRED, IN_PROGRESS, SUCCESS, or FAILED. finalDocumentStatuses.tad is NOT_AVAILABLE, PREPARING, or READY. grossMass is a decimal string. A missing party is null. Departure omits traderAtDestination and arrival.
Statuses and errors
Departure and Arrival use different status values. See Statuses. A release webhook tells you that Customs released the movement. Call Get Transit Declaration for the current record.finalDocumentStatuses.tad can still be PREPARING or NOT_AVAILABLE after release, and release does not mean the movement is finished. See Webhook Events and Verify Signatures.
Next: NCTS Departure.