v1

latestOpenAPI 3.0.32026-07-237163303.5 KB
Endpoints

Get the full declaration by MRN

Get the full declaration with the given MRN and version.

get/customs/declarations-information/mrn/{mrn}/full

Path parameters

mrnstring required
Example:20GB52P19SNIHX8PA6

Movement Reference Number

Must be a URL encoded string up to 35 characters long.

Query parameters

declarationVersioninteger

The version of a declaration. Omitting this parameter will return the latest version.

Headers

Acceptstring required
Example:application/vnd.hmrc.2.0+xml

Specifies the version of the API that you want to call. See versioning.

X-Badge-Identifierstring
Example:ABC123

Represents the end-user who is interacting with the subscribed application.

CSPs must have an X-Badge-Identifier or X-Submitter-Identifier.

Must be 6 to 12 characters, consisting of any combination of numeric digits and/or upper-case letters.

X-Submitter-Identifierstring
Example:GB123456789000

The EORI associated with the originating owner of the declaration.

CSPs must have an X-Badge-Identifier or X-Submitter-Identifier.

Must have a maximum length of 17 characters, consisting of any combination of numeric digits and/or letters.