Get the full declaration by MRN
Get the full declaration with the given MRN and version.
Request
- Base URLhttps://test-api.service.hmrc.gov.uk
- AuthOAuth 2Authorization codehttps://api.service.hmrc.gov.uk/oauth/authorizeToken URLhttps://api.service.hmrc.gov.uk/oauth/tokenScopeswrite:customs-declarations-information
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Movement Reference Number
Must be a URL encoded string up to 35 characters long.
Query parameters
The version of a declaration. Omitting this parameter will return the latest version.
Headers
Specifies the version of the API that you want to call. See versioning.
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.
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.
Changes
No recorded changes to this operation across all 1 revision of this API.