Skip to content

CDS12005: Identification not recognised

CDS returns CDS12005 when an EORI or VAT number on the declaration isn't one it recognises, or isn't allowed in the data element it's in.

What CDS12005 means

Authorisation Error: Party ID unknown or invalid

An EORI or VAT number included on the declaration is not recognised or the number used is not permitted in this DE.

HMRC, Customs Declaration Service error codes, list dated 9 June 2026. Contains public sector information licensed under the Open Government Licence v3.0.

Why declarations get CDS12005

The number isn't recognised

A typo, a missing digit, or an old number. Check GB EORI numbers in the bulk EORI checker.

The number is real but not allowed in that data element

For example, a GB EORI as declarant (DE 3/18) on an import into Northern Ireland, which HMRC allows only in narrow cases. An authorisation that doesn't belong to the party is a different error, CDS12150.

How to fix CDS12005

  1. Go to the element the rejection points to. For example, Declaration/AuthorisationHolder[1]/ID is DE 3/39. The number will be in one of these:
  2. Send the declaration again with a new local reference number in DE 2/5. CDS rejects an LRN reused within 48 hours (CDS12003).

All 181 CDS error codes

Sources

Checked against these sources on 12 November 2026.