Relation, authorisation and sequence errorsRelation & missing element

CDS12158Missing Element - A non-GB EORI requires entry of NI Movement AI Codes in DE 2/2

HMRC explanation

A relevant party on an NI declaration has been entered with an XI EORI number, however no NI AI statements (NIIMP, NIDOM, NIEXP) are present.

Source: HMRC, Customs Declaration Service error codes, Open Government Licence v3.0. GOV.UK publication · Licence

What this means

A party on a Northern Ireland declaration has an XI EORI, but the declaration carries none of the NI movement statements HMRC lists for DE 2/2: NIIMP, NIDOM or NIEXP.

What to check for CDS12158

  • Whether the party's EORI should be an XI number at all, or whether a GB EORI was intended.
  • Whether the movement is genuinely a Northern Ireland movement.
  • Whether one of the NI movement statements has been entered in DE 2/2, the additional information element.

HMRC's error list names the missing statements but does not say which one applies to a movement. That depends on the movement itself, so confirm it against HMRC's guidance on additional information codes before you resubmit.

What to check across the Relation, authorisation and sequence errors

Two elements, or a value and a rule, disagree. Read both elements together: completing one element with a particular code often requires another value, and the fault is frequently in the element you did not change. The family also covers parties and authorisations that are not recognised, references that must be unique, and messages sent out of sequence.

FAQ
What does CDS12158 mean?

CDS12158 means a relevant party on a Northern Ireland declaration has been entered with an XI EORI number, but the declaration has none of the NI movement statements HMRC lists, NIIMP, NIDOM or NIEXP, in DE 2/2. Check the party's EORI and whether the right statement is present before you resubmit.

Which NI statement does CDS12158 need?

HMRC's error list names NIIMP, NIDOM and NIEXP but does not say which applies, because that depends on the movement itself. Check how the goods are moving into, within or out of Northern Ireland against HMRC's guidance on additional information codes, then enter that statement in DE 2/2.

A declaration that clears CDS can still be wrong

The free eligibility checker confirms your import activity and whether a free post-clearance audit applies. No data upload, no commitment.

Source: HMRC, Customs Declaration Service error codes, Open Government Licence v3.0. GOV.UK publication · Licence