UK EORI CDS / XI Generator
Generate and format United Kingdom EORI numbers (GB and XI Northern Ireland) for HMRC Customs Declaration Service (CDS).
Waiting for generation...
About UK EORI CDS / XI
The EORI (Economic Operators Registration and Identification) number is issued by HM Revenue & Customs (HMRC) for businesses undertaking customs declarations via the Customs Declaration Service (CDS).
Under the Northern Ireland Protocol (Windsor Framework), HMRC regulates two official prefixes: GB (for Great Britain) and XI (for Northern Ireland operators trading with the EU), followed by 9 or 12 digits.
Anatomy & Structure of UK EORI
The post-Brexit EORI customs identifier has a structure regulated by HMRC:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 to 2 | Jurisdictional Prefix | 2 letters | GB for Great Britain or XI for Northern Ireland (Windsor Framework) | GB |
| 3 to 11 | VAT Registration Number | 9 digits | Core entity tax identifier registered with HMRC | 123456789 |
| 12 to 14 | Branch Suffix (Optional) | 3 digits | Extension for local branches or subdivisions (usually 000) | 000 |
EORI CDS Validation Algorithm
EORI integrity validation by CDS follows official HMRC guidelines:
EORI = (GB | XI) + (9 or 12 digits)
- 1. Remove all whitespace and punctuation characters.
- 2. Validate that the string starts strictly with prefix 'GB' or 'XI'.
- 3. Check that the total length is either 11 characters (base) or 14 characters (with branch suffix).
- 4. Verify that all characters following the prefix are decimal numeric digits.