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

# Bulk create declarations

> Create multiple export declarations in a single request. Processing is partial-success: valid items are created even if others fail.

Create multiple export declarations in one request. Processing is partial-success: valid items are created even if others fail.

### Request Payload

<ParamField body="declarations" type="array" required>
  List of declaration payloads to create in bulk. Each item in the array must follow the simplified `EXPORT` or full declaration schema.
</ParamField>

### Response

The response returns an array containing the creation results for each submitted declaration. You should inspect the `success` field for each item in the list to verify if it was successfully created or encountered validation errors.

<ResponseExample>
  ```json 201 Created theme={null}
  {
    "results": [
      {
        "success": true,
        "referenceNumber": "EXP-2026-01001",
        "declarationId": 46,
        "shipmentId": 19,
        "status": "processing",
        "lrn": "NL202600006"
      },
      {
        "success": false,
        "referenceNumber": "EXP-2026-01002",
        "errors": [
          "DeclarationItems.0.commodityCode must be a valid HS code"
        ]
      }
    ]
  }
  ```
</ResponseExample>
