UK EORI Number (Economic Operators Registration and Identification)
Detects UK HMRC Economic Operators Registration and Identification (EORI) numbers prefixed with GB (Great Britain) or XI (Northern Ireland Windsor Framework) followed by 12 digits (VAT-linked usually ending 000) or 15 digits.
- Type
- regex
- Engine
- universal
- Confidence
- high
- Confidence justification
- High confidence: uppercase GB/XI + 12 or 15 digits is the exact HMRC customs trader identifier format, distinct in length from 9-digit GB VAT numbers.
- Jurisdictions
- uk
- Regulations
- Taxation (Cross-border Trade) Act 2018 (UK)
- Frameworks
- ISO 27001, ISO 27701
- Data categories
- business, financial, government-id
- Scope
- narrow
- Risk rating
- 4
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview
Pattern
(?-i)\b((?:GB|XI)(?:\d{12}|\d{15}))\b
Corroborative evidence keywords
EORI, EORI number, HMRC, Customs Declaration Service, CDS, import declaration, consignee
Proximity: 300 characters
Should match
GB123456789000— 14-character Great Britain VAT-linked EORI number (GB + 12 digits)EORI: XI987654321000— Northern Ireland XI-prefixed EORI numberGB123456789000123— 17-character branch-specific GB EORI number (GB + 15 digits)
Should not match
GB123456789— 9-digit UK VAT number (handled by uk-vat-number, not 12/15-digit EORI)gb123456789000— Lowercase gb rejected by case-sensitive ruleEnter the importer EORI number on the Customs Declaration Service entry— Prose instruction without an EORI valueSample template: placeholder example record for training only— Template/sample fixture suppressed by shared exclusion dictionary
Known false positives
- Commercial shipping invoices routinely display the exporter/importer EORI. Mitigation: Risk 4 OFFICIAL reflects commercial trader metadata, and local_noise_filter lets organizations exclude their own EORI.