---
title: "Send a declaration data message"
method: POST
path: "/customs/transits/movements/departures"
tags: ["Departures"]
---

# Send a declaration data message

`POST /customs/transits/movements/departures`

Send a transit declaration to the customs office of departure to notify it that you wish to carry out a transit operation.

This request is also called an ‘Declaration Data’ E_DEC_DAT (IE015) message.
<br/><br/>
If you use this endpoint to send a small message (up to 5MB), a successful response:

- will contain a URI, which you can use to get the message status
- will contain the departure ID specifying the departure returned
- can also include an optional box ID, which you can use to match this movement to any messages received from the Push Pull Notifications API

If you use this endpoint to send a large message (up to 8MB), a successful response will include:

- a URL and additional metadata that you must use when uploading your file
- a message ID that allows you track the status of that specific message

**Note:** If an Economic Operators Registration and Identification (EORI) number has not been assigned to you, an HTTP 403 Forbidden error is returned.

## Headers

- `Accept` 'application/vnd.hmrc.3.0+json', required
- `Content-Type` 'application/json' | 'application/xml', required

## Response `202`

Accepted

- union
  - object
    - `_links` object, required
      - `self` object, required
        - `href` string, required
      - `messages` object, required
        - `href` string, required
    - `departureId` string, required
    - `messageId` string, required
    - `boxId` string
  - object
    - `_links` object, required
      - `self` object, required
        - `href` string, required
      - `messages` object, required
        - `href` string, required
    - `departureId` string, required
    - `messageId` string, required
    - `boxId` string
    - `uploadRequest` object, required
      - `href` string, required
      - `fields` object, required

## Other responses

- `400` — Bad Request
- `406` — Not Acceptable
- `413` — Payload Too Large

---

[API](https://skmtc.net/hmrc/apis/common-transit-convention-traders.md) · [All operations](https://skmtc.net/hmrc/apis/common-transit-convention-traders/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hmrc/common-transit-convention-traders/revisions/3f42685e9ab3/schema)
