> ## 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 import declaration status

> Poll the current status of an import declaration.

Poll the status and details of an import declaration. If the declaration has validation errors, they will be listed under the `errors` array.

### Path Parameters

<ParamField path="id" type="number" required>
  The unique declaration ID returned when creating the declaration.
</ParamField>

<ResponseExample>
  ```json 200 OK (Validated & Ready) theme={null}
  {
    "declarationId": 42,
    "shipmentId": 15,
    "referenceNumber": "180-43189021",
    "status": "ready",
    "lrn": "NL202600001",
    "mrn": "26NL90831023812038",
    "type": "IMPORT",
    "declarationOffice": "NL000850",
    "representation": "DIRECT",
    "items": [
      {
        "id": 7,
        "description": "Men's cotton trousers",
        "hsCode": "6203421100",
        "quantity": 500,
        "grossMass": 250,
        "netMass": 220,
        "value": 1875,
        "currency": "EUR",
        "originCountry": "CN"
      }
    ],
    "errors": []
  }
  ```

  ```json 200 OK (With validation errors) theme={null}
  {
    "declarationId": 42,
    "shipmentId": 15,
    "referenceNumber": "180-43189021",
    "status": "invalid",
    "type": "IMPORT",
    "items": [
      {
        "id": 7,
        "description": "Men's cotton trousers",
        "hsCode": "6203421100"
      }
    ],
    "errors": [
      {
        "field": "DeclarationItems.0.netWeight",
        "errorType": "missingData",
        "description": "Net weight is required for imports to NL",
        "isBlocking": true
      }
    ]
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "statusCode": 404,
    "message": "Declaration not found or not accessible.",
    "error": "Not Found"
  }
  ```
</ResponseExample>
