Skip to main content
GET
/
v1
/
declarations
/
{id}
Get import declaration status
curl --request GET \
  --url https://sandbox-api.easecustoms.com/v1/declarations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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": []
}
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

id
number
required
The unique declaration ID returned when creating the declaration.
{
  "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": []
}