> ## 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.

# NCTS Overview

> How Transit Declarations, house consignments, and goods items fit together.

## 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.

```mermaid theme={null}
flowchart LR
  transit["Transit Declaration"] --> house["House consignments"]
  house --> items["Goods items"]
```

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 the `ncts` module. Every NCTS route except the credential itself requires `X-Eaze-Client-Ref`.

| Identifier | Where you get it | Where you use it |
| - | - | - |
| `clientRef` | [List Clients](https://docs.eazecustoms.com/api-reference/auth/list-clients.md) | `X-Eaze-Client-Ref` |
| `templateId` | [List NCTS Templates](https://docs.eazecustoms.com/api-reference/ncts/list-ncts-templates.md) | Optional on create |
| Transit Declaration ID | [Create Transit Declaration](https://docs.eazecustoms.com/api-reference/ncts/create-transit-declaration.md) | Get, import, houses, documents |
| House consignment ID | [List House Consignments](https://docs.eazecustoms.com/api-reference/ncts/list-house-consignments.md) | Get house and list its goods items |
| `uploadId` | [Create Upload](https://docs.eazecustoms.com/api-reference/uploads/create-upload.md) with `ncts_items` | Departure import only |
| `operationId` | Import Departure Details | [Get Operation](https://docs.eazecustoms.com/api-reference/operations/get-operation.md) |

`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](https://docs.eazecustoms.com/implementation/ncts-departure.md) or [NCTS Arrival](https://docs.eazecustoms.com/implementation/ncts-arrival.md). Do not reuse a Departure request for Arrival.

**2. Discover templates**

Call [List NCTS Templates](https://docs.eazecustoms.com/api-reference/ncts/list-ncts-templates.md). `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](https://docs.eazecustoms.com/api-reference/ncts/get-transit-declaration.md) returns the LRN, status, validation summary, counts, and the stored business detail. [List Transit Declarations](https://docs.eazecustoms.com/api-reference/ncts/list-transit-declarations.md) 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

```bash theme={null}
curl 'https://staging.api.eazecustoms.com/public/v1/ncts/declaration-templates?movementType=DEPARTURE' \
  --header 'Authorization: Bearer EZ_11111111-1111-4111-8111-111111111111_exampleSecretValueNotReal' \
  --header 'X-Eaze-Client-Ref: ACME-AMS'
```

```json theme={null}
{
  "data": [
    {
      "id": "abababab-abab-4aba-8aba-abababababab",
      "name": "Amsterdam departure",
      "isDefault": true,
      "movementType": "DEPARTURE",
      "procedureType": "D1"
    }
  ],
  "pagination": { "limit": 20, "hasMore": false, "nextCursor": null }
}
```

After creation, Eaze Customs validates the draft in the background. `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`.

```json theme={null}
{
  "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" }
}
```

Each guarantee includes `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](https://docs.eazecustoms.com/implementation/statuses.md).

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](https://docs.eazecustoms.com/webhooks/events.md) and [Verify Signatures](https://docs.eazecustoms.com/webhooks/verify-signatures.md).

| Situation | What to do |
| - | - |
| HTTP 422 `ncts_configuration_incomplete` | Set one default template for that movement type, or send `templateId`. |
| HTTP 403 | The credential does not include `ncts`. |
| HTTP 404 | The Transit Declaration is not visible for this client. |

Next: [NCTS Departure](https://docs.eazecustoms.com/implementation/ncts-departure.md).


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