Skip to main content
POST

Authorizations

Authorization
string
header
required

Send Authorization: Bearer followed by the full Eaze Customs API credential. The credential looks like EZ__. It is shown only when Eaze Customs creates or rotates it.

Headers

X-Eaze-Client-Ref
string
required

Required. Send the clientRef returned by List Clients. Do not send this header on Get Credential Details or List Clients.

Required string length: 1 - 100
Example:

"ACME-AMS"

Idempotency-Key
string
required

Required. Use 1 to 200 visible ASCII characters. Create a new key for a new request. Send the same key only when you retry the exact same request after a network failure. The same key with a different body is rejected.

Required string length: 1 - 200
Pattern: ^[!-~]{1,200}$
Example:

"6f1c0b3e-8a21-4c5d-9e10-1a2b3c4d5e6f"

Body

application/json
commercialReference
string
required

Your commercial reference for this Transit Declaration. 1 to 100 characters.

Required string length: 1 - 100
templateId
string<uuid>

Optional Departure template ID from List NCTS Templates. When omitted, Eaze Customs uses the single default Departure template. Creation fails if there is not exactly one default.

clientReference
string | null

Optional reference from your own system, up to 100 characters.

Maximum string length: 100
destinationOffice
string

Optional Customs office of destination, 1 to 17 characters.

Required string length: 1 - 17
remarks
string | null

Optional note, up to 512 characters.

Maximum string length: 512
movementType
enum<string>

Optional for Departure. Omit it, or send DEPARTURE. Do not send Arrival fields on a Departure.

Available options:
DEPARTURE
declarationType
enum<string>

Optional transit declaration type: T-, TIR, T1, T2, T2F, or T2SM. The selected template supplies the value when you omit it.

Available options:
T-,
TIR,
T1,
T2,
T2F,
T2SM
additionalDeclarationType
enum<string>

Optional. A for a standard declaration, or D for a pre-lodged declaration. The template supplies the value when you omit it.

Available options:
A,
D
countryOfDispatch
string

Optional two-letter country code. Example: NL. The template supplies the value when you omit it.

Pattern: ^[A-Za-z]{2}$
countryOfDestination
string

Optional two-letter country code. Example: DE. The template supplies the value when you omit it.

Pattern: ^[A-Za-z]{2}$
departureOffice
string

Optional Customs office code, 1 to 17 characters. The template supplies the value when you omit it.

Required string length: 1 - 17

Response

Successful response.

id
string<uuid>
required

Public Transit Declaration ID. Use it to read houses, goods, and documents.

commercialReference
string | null
required

Your commercial reference for this transit declaration.

Maximum string length: 100
clientReference
string | null
required

Your own reference for this transit declaration.

Maximum string length: 100
lrn
string
required

Local Reference Number assigned when the Transit Declaration is created.

mrn
string | null
required

For Departure, null until Customs assigns an MRN. For Arrival, the MRN you supplied.

movementType
enum<string>
required

DEPARTURE or ARRIVAL.

Available options:
DEPARTURE,
ARRIVAL
declarationType
enum<string> | null
required

Transit declaration type, such as T1 or T2.

Available options:
T-,
TIR,
T1,
T2,
T2F,
T2SM
additionalDeclarationType
enum<string> | null
required

A is a standard declaration. D is a pre-lodged declaration.

Available options:
A,
D
countryOfDispatch
string | null
required

Two-letter country code where the transit starts.

countryOfDestination
string | null
required

Two-letter country code of the destination.

departureOffice
string | null
required

Customs office of departure.

destinationOffice
string | null
required

Customs office of destination.

arrivalNotificationDateTime
string<date-time> | null
required

Date and time of the arrival notification on an Arrival declaration. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

remarks
string | null
required

Note stored on the transit declaration.

status
string | null
required

Current business status. Departure and Arrival use different status values. See the status guide.

template
object | null
required

Template used to create this transit declaration.

validation
object
required

Whether this declaration can be sent to Customs.

counts
object
required

Number of house consignments and goods items.

createdAt
string<date-time> | null
required

When this transit declaration was created. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

updatedAt
string<date-time> | null
required

When this transit declaration was last changed. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

businessData
object

Parties, countries, offices, transport, locations, security, gross mass, and guarantee business fields. Each guarantee includes type, reference number, other reference, amount, currency, and verification status. Arrival responses also include traderAtDestination and arrival.

customsOutcome
object

Acceptance, release, transit deadline, departure control result, actual arrival, and completion times. A time is null until Customs records that outcome.

finalDocumentStatuses
object

tad is NOT_AVAILABLE, PREPARING, or READY. A RELEASED status can still have tad PREPARING or NOT_AVAILABLE.