> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eazecustoms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Transit Declaration

> Read one Transit Declaration, including its LRN, MRN, status, parties, transport, locations, guarantee business fields, Customs outcome, transit accompanying document status, and how many House Consignments and Goods Items it contains.



## OpenAPI

````yaml /openapi/public-v1.json get /public/v1/ncts/transit-declarations/{transitDeclarationId}
openapi: 3.0.0
info:
  title: Eaze Customs Public API
  version: '1.0'
  description: >-
    Customer API for Shipments, Import and Export Declarations, NCTS Departure
    and Arrival, RTO, and documents. Configure webhook endpoints in the Eaze
    Customs Portal. Authenticate with an Eaze Customs API credential. Staging —
    For Integration Testing: https://staging.api.eazecustoms.com. All routes in
    this specification start with /public/v1.
servers:
  - url: https://staging.api.eazecustoms.com
    description: >-
      Staging — For Integration Testing. Do not append /public/v1. That prefix
      is already part of each path.
security:
  - bearer: []
paths:
  /public/v1/ncts/transit-declarations/{transitDeclarationId}:
    get:
      summary: Get Transit Declaration
      description: >-
        Read one Transit Declaration, including its LRN, MRN, status, parties,
        transport, locations, guarantee business fields, Customs outcome,
        transit accompanying document status, and how many House Consignments
        and Goods Items it contains.
      operationId: PublicTransitDeclarations_findOne
      parameters:
        - name: X-Eaze-Client-Ref
          in: header
          description: >-
            Required. Send the clientRef returned by List Clients. Do not send
            this header on Get Credential Details or List Clients.
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 100
            example: ACME-AMS
          example: ACME-AMS
        - name: transitDeclarationId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicTransitDeclarationSummaryDto'
              example:
                id: 44444444-4444-4444-8444-444444444444
                commercialReference: TR-2026-0188
                clientReference: PO-44821
                lrn: 26NL00000000001881
                mrn: 26NL00000000003001
                movementType: DEPARTURE
                declarationType: T1
                additionalDeclarationType: A
                countryOfDispatch: NL
                countryOfDestination: DE
                departureOffice: NL000432
                destinationOffice: DE003305
                arrivalNotificationDateTime: null
                remarks: null
                status: RELEASED
                template:
                  id: abababab-abab-4aba-8aba-abababababab
                  name: Amsterdam departure
                validation:
                  status: NOT_APPLICABLE
                  readyForSubmission: false
                counts:
                  houseConsignments: 1
                  goodsItems: 1
                createdAt: '2026-11-17T10:00:00.000Z'
                updatedAt: '2026-11-17T14:00:00.000Z'
                businessData:
                  representation: DIRECT
                  parties:
                    holder:
                      name: Holder BV
                      eori: NL123456789
                      address:
                        street: Harbour 1
                        city: Rotterdam
                        state: null
                        postcode: 3011AA
                        country: NL
                    representative: null
                    consignor: null
                    consignee: null
                    carrier: null
                  countries:
                    dispatch: NL
                    destination: DE
                    border: DE
                    routing:
                      - sequenceNumber: 1
                        country: DE
                  offices:
                    departure: NL000432
                    destination: DE003305
                    transit:
                      - referenceNumber: BE000001
                        arrivalTime: null
                    exit: []
                  transport:
                    containerIndicator: false
                    means:
                      - sequenceNumber: 1
                        mode: DEPARTURE
                        transportType: '3'
                        transportTypeName: '30'
                        identificationNumber: TRUCK-1
                        nationality: NL
                        conveyanceReferenceNumber: null
                    equipment:
                      - sequenceNumber: 1
                        containerIdentificationNumber: MSCU1234567
                        numberOfSeals: 1
                        seals:
                          - sequenceNumber: 1
                            identifier: SEAL1
                  locations:
                    goods:
                      type: B
                      qualifier: U
                      details:
                        unlocode: NLRTM
                    loading:
                      country: NL
                      location: Rotterdam
                      unLocode: NLRTM
                    unloading:
                      country: DE
                      location: Duisburg
                      unLocode: DEDUI
                  security: '0'
                  bindingItinerary: false
                  grossMass: '12.500'
                  guarantees:
                    - type: '1'
                      referenceNumber: 26NL1234567890123
                      otherReference: null
                      amount: '2500.00'
                      currency: EUR
                      verificationStatus: SUCCESS
                customsOutcome:
                  acceptedAt: '2026-11-17T12:00:00.000Z'
                  releasedAt: '2026-11-17T14:00:00.000Z'
                  transitDeadline: '2026-11-24T14:00:00.000Z'
                  departureControlResult:
                    code: A3
                    controlledBy: NL000432
                    text: null
                  actualArrivalAt: null
                  completedAt: null
                finalDocumentStatuses:
                  tad: PREPARING
        '400':
          description: E0001 — malformed or invalid request.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0001
                message: Invalid request parameters
                errors:
                  - field: shipmentType
                    message: 'Invalid option: expected one of "IMPORT"|"EXPORT"'
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '401':
          description: >-
            E0002 — missing, invalid, expired or revoked Eaze Customs API
            credential.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0002
                message: >-
                  Missing, invalid, expired or revoked Eaze Customs API
                  credential
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '403':
          description: E0003 — credential, module or client authorization denied.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0003
                message: The import module is not enabled for this credential
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '404':
          description: E0004 — authorized resource not found.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0004
                message: Shipment not found
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '429':
          description: >-
            E0008 — Public API rate limit exceeded; retry after the indicated
            delay.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0008
                message: Public API rate limit exceeded
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '500':
          description: >-
            E0009 — unexpected server error; report requestId if the problem
            persists.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0009
                message: Unexpected server error
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
        '503':
          description: >-
            E0011 — required asynchronous processing is not enabled or
            available.
          headers:
            X-Request-Id:
              description: >-
                Globally unique request UUID; identical to requestId in the
                error body and structured logs.
              schema:
                type: string
                format: uuid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
              example:
                errorCode: E0011
                message: Public API background processing is not enabled
                errors: []
                requestId: 550e8400-e29b-41d4-a716-446655440000
      security:
        - bearer: []
components:
  schemas:
    PublicTransitDeclarationSummaryDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Public Transit Declaration ID. Use it to read houses, goods, and
            documents.
        commercialReference:
          type: string
          nullable: true
          maxLength: 100
          description: Your commercial reference for this transit declaration.
        clientReference:
          type: string
          nullable: true
          maxLength: 100
          description: Your own reference for this transit declaration.
        lrn:
          type: string
          description: >-
            Local Reference Number assigned when the Transit Declaration is
            created.
        mrn:
          type: string
          nullable: true
          description: >-
            For Departure, null until Customs assigns an MRN. For Arrival, the
            MRN you supplied.
        movementType:
          type: string
          enum:
            - DEPARTURE
            - ARRIVAL
          description: DEPARTURE or ARRIVAL.
        declarationType:
          type: string
          nullable: true
          enum:
            - T-
            - TIR
            - T1
            - T2
            - T2F
            - T2SM
          description: Transit declaration type, such as T1 or T2.
        additionalDeclarationType:
          type: string
          nullable: true
          enum:
            - A
            - D
          description: A is a standard declaration. D is a pre-lodged declaration.
        countryOfDispatch:
          type: string
          nullable: true
          description: Two-letter country code where the transit starts.
        countryOfDestination:
          type: string
          nullable: true
          description: Two-letter country code of the destination.
        departureOffice:
          type: string
          nullable: true
          description: Customs office of departure.
        destinationOffice:
          type: string
          nullable: true
          description: Customs office of destination.
        arrivalNotificationDateTime:
          type: string
          nullable: true
          format: date-time
          description: >-
            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:
          type: string
          nullable: true
          description: Note stored on the transit declaration.
        status:
          type: string
          nullable: true
          description: >-
            Current business status. Departure and Arrival use different status
            values. See the status guide.
        template:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/PublicTransitDeclarationTemplateSummaryDto'
          description: Template used to create this transit declaration.
        validation:
          $ref: '#/components/schemas/PublicTransitValidationSummaryDto'
          description: Whether this declaration can be sent to Customs.
        counts:
          $ref: '#/components/schemas/PublicTransitDeclarationCountsDto'
          description: Number of house consignments and goods items.
        createdAt:
          type: string
          nullable: true
          format: date-time
          description: >-
            When this transit declaration was created. Date and time in ISO 8601
            format. Example: 2026-11-17T10:30:00Z.
        updatedAt:
          type: string
          nullable: true
          format: date-time
          description: >-
            When this transit declaration was last changed. Date and time in ISO
            8601 format. Example: 2026-11-17T10:30:00Z.
        businessData:
          allOf:
            - $ref: '#/components/schemas/PublicTransitBusinessDataDto'
          description: >-
            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:
          allOf:
            - $ref: '#/components/schemas/PublicTransitCustomsOutcomeDto'
          description: >-
            Acceptance, release, transit deadline, departure control result,
            actual arrival, and completion times. A time is null until Customs
            records that outcome.
        finalDocumentStatuses:
          type: object
          properties:
            tad:
              type: string
              enum:
                - NOT_AVAILABLE
                - PREPARING
                - READY
              description: >-
                Status of the transit accompanying document. NOT_AVAILABLE means
                no document is expected yet. PREPARING means Eaze Customs is
                creating it. READY means you can download it.
          description: >-
            tad is NOT_AVAILABLE, PREPARING, or READY. A RELEASED status can
            still have tad PREPARING or NOT_AVAILABLE.
      required:
        - id
        - commercialReference
        - clientReference
        - lrn
        - mrn
        - movementType
        - declarationType
        - additionalDeclarationType
        - countryOfDispatch
        - countryOfDestination
        - departureOffice
        - destinationOffice
        - arrivalNotificationDateTime
        - remarks
        - status
        - template
        - validation
        - counts
        - createdAt
        - updatedAt
    PublicApiError:
      type: object
      required:
        - errorCode
        - message
        - errors
        - requestId
      properties:
        errorCode:
          type: string
          example: E0001
        message:
          type: string
          example: Invalid request parameters
        errors:
          type: array
          items:
            $ref: '#/components/schemas/PublicApiValidationIssue'
        requestId:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
    PublicTransitDeclarationTemplateSummaryDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Public ID of the template used for this transit declaration.
        name:
          type: string
          description: Name of the template used for this transit declaration.
      required:
        - id
        - name
    PublicTransitValidationSummaryDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - PENDING
            - PASSED
            - FAILED
            - NOT_APPLICABLE
          description: >-
            PENDING means it is not checked yet. PASSED means it can be
            submitted. FAILED means it must be corrected. NOT_APPLICABLE means
            the current status is not waiting for validation.
        readyForSubmission:
          type: boolean
          description: True only when this declaration is ready to send to Customs.
      required:
        - status
        - readyForSubmission
    PublicTransitDeclarationCountsDto:
      type: object
      properties:
        houseConsignments:
          type: number
          description: Number of house consignments on this transit declaration.
        goodsItems:
          type: number
          description: Number of goods items on this transit declaration.
      required:
        - houseConsignments
        - goodsItems
    PublicTransitBusinessDataDto:
      type: object
      additionalProperties: false
      description: >-
        Parties, route, offices, transport, locations, security, mass, and
        guarantees stored on the transit declaration. Arrival responses also
        include traderAtDestination and arrival.
      properties:
        representation:
          type: string
          nullable: true
          enum:
            - DIRECT
            - INDIRECT
            - NONE
          description: >-
            Who files with Customs. DIRECT means the party files in its own
            name. INDIRECT means a representative files in their own name. NONE
            means no representative is used.
        parties:
          type: object
          additionalProperties: false
          description: >-
            Parties named on the transit declaration. A role is null when that
            party is not stored.
          properties:
            holder:
              nullable: true
              description: Transit holder, the principal responsible for the movement.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
            representative:
              nullable: true
              description: Party that represents the holder.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
            consignor:
              nullable: true
              description: Party that sends the goods.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
            consignee:
              nullable: true
              description: Party that receives the goods.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
            carrier:
              nullable: true
              description: Party that transports the goods.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
            traderAtDestination:
              nullable: true
              description: Party at the destination. Present on an Arrival declaration.
              allOf:
                - $ref: '#/components/schemas/PublicPartyDto'
          required:
            - holder
            - representative
            - consignor
            - consignee
            - carrier
        countries:
          type: object
          additionalProperties: false
          description: >-
            Countries of dispatch, destination, border crossing, and the route
            between them.
          properties:
            dispatch:
              type: string
              nullable: true
              description: Two-letter country code where the transit starts, such as NL.
            destination:
              type: string
              nullable: true
              description: Two-letter country code of the destination, such as DE.
            border:
              type: string
              nullable: true
              description: Two-letter country code of the border crossing.
            routing:
              type: array
              description: Countries the consignment passes through, in order.
              items:
                type: object
                additionalProperties: false
                description: One country on the route of the goods.
                properties:
                  sequenceNumber:
                    type: integer
                    nullable: true
                    description: Position of this country in the route.
                  country:
                    type: string
                    description: Two-letter country code, such as BE.
                required:
                  - country
          required:
            - dispatch
            - destination
            - border
            - routing
        offices:
          type: object
          additionalProperties: false
          description: Customs offices for departure, destination, transit, and exit.
          properties:
            departure:
              type: string
              nullable: true
              description: Customs office of departure, such as NL000432.
            destination:
              type: string
              nullable: true
              description: Customs office of destination, such as DE003305.
            transit:
              type: array
              description: Customs offices of transit the movement passes through.
              items:
                type: object
                additionalProperties: false
                description: One customs office of transit.
                properties:
                  referenceNumber:
                    type: string
                    description: Customs office code, such as BE000001.
                  arrivalTime:
                    type: string
                    format: date-time
                    nullable: true
                    description: >-
                      Estimated arrival at this office. Date and time in ISO
                      8601 format. Example: 2026-11-17T10:30:00Z.
                required:
                  - referenceNumber
            exit:
              type: array
              description: Customs offices where the goods leave the security area.
              items:
                type: object
                additionalProperties: false
                description: One customs office of exit.
                properties:
                  referenceNumber:
                    type: string
                    description: Customs office code.
                required:
                  - referenceNumber
          required:
            - departure
            - destination
            - transit
            - exit
        transport:
          type: object
          additionalProperties: false
          description: >-
            Container flag, means of transport, and equipment for the transit
            movement.
          properties:
            containerIndicator:
              type: boolean
              description: True when the goods travel in a container.
            means:
              type: array
              description: Vehicles and conveyances used for this movement.
              items:
                type: object
                additionalProperties: false
                description: One means of transport.
                properties:
                  sequenceNumber:
                    type: integer
                    description: Position of this means of transport.
                  mode:
                    type: string
                    enum:
                      - DEPARTURE
                      - ARRIVAL
                      - ACTIVE_BORDER
                      - PASSIVE_BORDER
                      - ROUTING
                    description: >-
                      Which part of the journey this vehicle belongs to:
                      departure, arrival, an active or passive border crossing,
                      or the route.
                  transportType:
                    type: string
                    nullable: true
                    description: Transport type code. One character, such as 3 for road.
                  transportTypeName:
                    type: string
                    nullable: true
                    description: >-
                      Identification type code. Two characters, such as 30 for a
                      road-vehicle registration number.
                  identificationNumber:
                    type: string
                    nullable: true
                    description: >-
                      Registration or identification number of the vehicle or
                      conveyance.
                  nationality:
                    type: string
                    nullable: true
                    description: Two-letter country code of the vehicle or conveyance.
                  conveyanceReferenceNumber:
                    type: string
                    nullable: true
                    description: Voyage, flight, or other conveyance reference.
                required:
                  - sequenceNumber
                  - mode
                  - transportType
                  - transportTypeName
                  - identificationNumber
                  - nationality
                  - conveyanceReferenceNumber
            equipment:
              type: array
              description: Containers used for this movement, with their seals.
              items:
                type: object
                additionalProperties: false
                description: One container and its seals.
                properties:
                  sequenceNumber:
                    type: integer
                    description: Position of this container.
                  containerIdentificationNumber:
                    type: string
                    nullable: true
                    description: Container identification number, such as MSCU1234567.
                  numberOfSeals:
                    type: integer
                    nullable: true
                    description: How many seals are attached to this container.
                  seals:
                    nullable: true
                    type: array
                    description: Seals attached to this container.
                    items:
                      type: object
                      additionalProperties: false
                      description: One seal on the container.
                      properties:
                        sequenceNumber:
                          type: integer
                          description: Position of this seal.
                        identifier:
                          type: string
                          description: Seal number.
                      required:
                        - sequenceNumber
                        - identifier
                required:
                  - sequenceNumber
                  - containerIdentificationNumber
                  - numberOfSeals
                  - seals
          required:
            - containerIndicator
            - means
            - equipment
        locations:
          type: object
          additionalProperties: false
          description: Goods location and the places of loading and unloading.
          properties:
            goods:
              type: object
              additionalProperties: false
              description: Place where the goods are located.
              properties:
                type:
                  type: string
                  nullable: true
                  description: >-
                    Kind of place where the goods are held. One character, such
                    as B for an authorized place.
                qualifier:
                  type: string
                  nullable: true
                  description: >-
                    What the location details identify. One character, such as U
                    for a UN/LOCODE.
                details:
                  nullable: true
                  description: Identifiers and address stored for this goods location.
                  allOf:
                    - $ref: '#/components/schemas/PublicGoodsLocationDetailsDto'
              required:
                - type
                - qualifier
                - details
            loading:
              type: object
              additionalProperties: false
              description: Place where the goods are loaded.
              properties:
                country:
                  type: string
                  nullable: true
                  description: Two-letter country code of the place of loading.
                location:
                  type: string
                  nullable: true
                  description: Name of the place of loading, such as Rotterdam.
                unLocode:
                  type: string
                  nullable: true
                  description: UN/LOCODE of the place of loading, such as NLRTM.
              required:
                - country
                - location
                - unLocode
            unloading:
              type: object
              additionalProperties: false
              description: Place where the goods are unloaded.
              properties:
                country:
                  type: string
                  nullable: true
                  description: Two-letter country code of the place of unloading.
                location:
                  type: string
                  nullable: true
                  description: Name of the place of unloading, such as Duisburg.
                unLocode:
                  type: string
                  nullable: true
                  description: UN/LOCODE of the place of unloading, such as DEDUI.
              required:
                - country
                - location
                - unLocode
          required:
            - goods
            - loading
            - unloading
        security:
          type: string
          nullable: true
          description: Security code for the transit movement. One digit.
        bindingItinerary:
          type: boolean
          description: True when the movement must follow a fixed route.
        grossMass:
          type: string
          nullable: true
          description: >-
            Total gross mass of the transit movement. A decimal number sent as
            text, such as "12.50".
        guarantees:
          type: array
          description: Guarantees that cover this transit movement.
          items:
            type: object
            additionalProperties: false
            description: One transit guarantee and its verification status.
            properties:
              type:
                type: string
                description: Guarantee type code, such as 1.
              referenceNumber:
                type: string
                description: Guarantee reference number.
              otherReference:
                type: string
                nullable: true
                description: Second guarantee reference, when one is stored.
              amount:
                type: string
                description: >-
                  Guaranteed amount. A decimal number sent as text, such as
                  "12.50".
              currency:
                type: string
                description: Currency of the guaranteed amount, such as EUR.
              verificationStatus:
                type: string
                enum:
                  - PENDING
                  - NOT_REQUIRED
                  - IN_PROGRESS
                  - SUCCESS
                  - FAILED
                description: >-
                  Result of the guarantee check. PENDING, NOT_REQUIRED,
                  IN_PROGRESS, SUCCESS, or FAILED.
            required:
              - type
              - referenceNumber
              - otherReference
              - amount
              - currency
              - verificationStatus
        arrival:
          type: object
          additionalProperties: false
          description: Arrival settings. Present on an Arrival declaration.
          properties:
            simplifiedProcedure:
              type: boolean
              description: True when this arrival uses the simplified procedure.
            communicationLanguageAtDestination:
              type: string
              nullable: true
              enum:
                - en
                - nl
              description: Language used with the trader at the destination. en or nl.
          required:
            - simplifiedProcedure
            - communicationLanguageAtDestination
      required:
        - representation
        - parties
        - countries
        - offices
        - transport
        - locations
        - security
        - bindingItinerary
        - grossMass
        - guarantees
    PublicTransitCustomsOutcomeDto:
      type: object
      additionalProperties: false
      description: >-
        Acceptance, release, deadline, control, arrival, and completion recorded
        by Customs.
      properties:
        acceptedAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When Customs accepted the transit declaration. Date and time in ISO
            8601 format. Example: 2026-11-17T10:30:00Z.
        releasedAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When Customs released the movement. Date and time in ISO 8601
            format. Example: 2026-11-17T10:30:00Z.
        transitDeadline:
          type: string
          format: date-time
          nullable: true
          description: >-
            Deadline for presenting the goods at the office of destination. Date
            and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.
        departureControlResult:
          nullable: true
          description: >-
            Control result recorded at departure. Null until Customs records
            one.
          allOf:
            - type: object
              additionalProperties: false
              description: Control result at the office of departure.
              properties:
                code:
                  type: string
                  description: Control result code, such as A3.
                controlledBy:
                  type: string
                  nullable: true
                  description: Customs office that carried out the control.
                text:
                  type: string
                  nullable: true
                  description: Extra text Customs recorded with the control result.
              required:
                - code
                - controlledBy
                - text
        actualArrivalAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When the goods arrived at the destination. Date and time in ISO 8601
            format. Example: 2026-11-17T10:30:00Z.
        completedAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            When Customs wrote off the transit movement. Date and time in ISO
            8601 format. Example: 2026-11-17T10:30:00Z.
      required:
        - acceptedAt
        - releasedAt
        - transitDeadline
        - departureControlResult
        - actualArrivalAt
        - completedAt
    PublicApiValidationIssue:
      type: object
      required:
        - message
      properties:
        field:
          type: string
          example: filename
        code:
          type: string
          example: invalid_format
        message:
          type: string
          example: Filename contains unsupported characters
    PublicPartyDto:
      type: object
      additionalProperties: false
      description: Name, EORI, and address of a party on a declaration.
      properties:
        name:
          type: string
          nullable: true
          description: Legal or trading name of this party.
        eori:
          type: string
          nullable: true
          description: EORI number of this party.
        address:
          type: object
          additionalProperties: false
          description: Postal address of this party.
          properties:
            street:
              type: string
              nullable: true
              description: Street and house number.
            city:
              type: string
              nullable: true
              description: City or town.
            state:
              type: string
              nullable: true
              description: State, province, or region.
            postcode:
              type: string
              nullable: true
              description: Postal code.
            country:
              type: string
              nullable: true
              description: Two-letter country code, such as NL.
          required:
            - street
            - city
            - state
            - postcode
            - country
      required:
        - name
        - eori
        - address
    PublicGoodsLocationDetailsDto:
      type: object
      additionalProperties: false
      description: Identifiers and address for a goods location.
      properties:
        unlocode:
          type: string
          nullable: true
          description: UN/LOCODE of the location, such as NLRTM.
        gnssLatitude:
          type: string
          nullable: true
          description: Latitude of the location.
        gnssLongitude:
          type: string
          nullable: true
          description: Longitude of the location.
        GNSS:
          type: array
          nullable: true
          minItems: 2
          maxItems: 2
          items:
            type: string
            description: One coordinate. Latitude is first and longitude is second.
          description: Latitude and longitude as two text values, latitude first.
        customsOffice:
          type: string
          nullable: true
          description: >-
            Customs office for this location. Two letters and six digits, such
            as NL000432.
        eori:
          type: string
          nullable: true
          description: EORI number of the operator at this location.
        authorizationNo:
          type: string
          nullable: true
          description: Authorization number of the place where the goods are held.
        economicOperator:
          type: string
          nullable: true
          description: Identifier of the economic operator responsible for this location.
        ContactPerson:
          nullable: true
          description: Person to contact at this location.
          allOf:
            - type: object
              additionalProperties: false
              description: Person to contact at this location.
              properties:
                name:
                  type: string
                  description: Name of the contact person.
                phoneNumber:
                  type: string
                  description: Phone number of the contact person.
                eMailAddress:
                  type: string
                  nullable: true
                  description: Email address of the contact person.
              required:
                - name
                - phoneNumber
        Address:
          nullable: true
          description: Postal address of the goods location.
          allOf:
            - type: object
              additionalProperties: false
              description: Postal address of the goods location.
              properties:
                houseNo:
                  type: string
                  nullable: true
                  description: House number.
                street:
                  type: string
                  nullable: true
                  description: Street name.
                city:
                  type: string
                  nullable: true
                  description: City or town.
                stateRegion:
                  type: string
                  nullable: true
                  description: State or region.
                countryCode:
                  type: string
                  nullable: true
                  description: Two-letter country code.
                postCode:
                  type: string
                  nullable: true
                  description: Postal code.
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: EZ_<credential-id>_<secret>
      type: http
      description: >-
        Send Authorization: Bearer followed by the full Eaze Customs API
        credential. The credential looks like EZ_<credential-id>_<secret>. It is
        shown only when Eaze Customs creates or rotates it.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.