Skip to main content
GET
Get Declaration

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"

Path Parameters

declarationId
string
required

Response

Successful response.

id
string<uuid>
required

Public Declaration ID. Use it for goods items and documents.

shipmentId
string<uuid>
required

Public Shipment ID this declaration belongs to.

shipmentType
enum<string>
required

IMPORT or EXPORT, taken from the shipment.

Available options:
IMPORT,
EXPORT
lrn
string
required

Local Reference Number assigned by Eaze Customs.

mrn
string | null
required

Movement Reference Number assigned by Customs. Null until Customs assigns one.

commercialReference
string
required

Your commercial reference for this declaration.

customsStatus
string | null
required

Current declaration status, such as CREATED, RELEASED, or COMPLETED. See the status guide for the meaning of each value.

controlTypes
string[]
required

Customs controls on this declaration. PHYSICAL_CONTROL is a physical check. DOC_CONTROL is a document check. Empty when no control is selected.

progress
object
required

Progress code and lifecycle stage of this declaration.

summary
object
required

Procedure, countries, invoice value, mass, and goods item count.

timestamps
object
required

When the declaration was created, sent to Customs, accepted, cleared, and exited.

businessData
object
required

Parties, countries, offices, locations, transport, transaction, costs, security, and guarantee references stored on the Declaration. A missing party is null. Amounts are decimal strings.

customsOutcome
object
required

provisionalRelease and provisionalTax for the current Declaration.