Northern Ireland · XI
The XI VAT number (Northern Ireland)
The only prefix in VIES that does not belong to a member state. Northern Ireland left the EU with the rest of the United Kingdom and stayed inside the EU VAT regime — for goods, and only for goods.
Format: XI + 9 digits (also 12 digits, or GD/HA + 3)
Applies to: goods only. Services follow UK rules.
Issued by: HMRC, normally alongside an existing GB registration.
The format
An XI number has the same shape as a UK VAT number, with a different prefix.
- XI + 9 digitsThe standard form.
- XI + 12 digitsA branch registration: the 9-digit number plus a 3-digit branch code.
- XIGD / XIHA + 3Government departments and health authorities.
The nine digits carry a modulus 97 check. They are normally the same digits as the business’s GB VAT number — the XI registration is an add-on to it, not a separate registration.
When an XI number is required
Under the Windsor Framework, Northern Ireland runs a dual VAT regime: goods follow EU rules, services follow UK rules. The prefix is what tells a counterparty which regime applies.
An XI number is used when selling goods located in Northern Ireland to a customer in the EU, when receiving goods in Northern Ireland from an EU supplier, and when moving goods between Northern Ireland and a member state. For a service — consultancy, software, licensing — the GB number applies and the EU reverse charge for services does not run through XI at all.
A GB number is not an XI number. Replacing GB with XI on a number that was never enrolled produces something VIES rejects. HMRC issued XI numbers automatically to traders it identified under the Protocol, mostly those with BT postcodes; everyone else has to notify HMRC and be assessed.
Finding the business behind a number
Companies House
Companies House covers Northern Irish companies and is free and complete — and, as everywhere, it is keyed by company number, not by VAT number. The XI number is issued by HMRC, and nothing connects the two.
HMRC
HMRC ran a public VAT number lookup that returned the registered name and address. It was withdrawn in February 2025, and the replacement sits behind OAuth application credentials. The convenient free route that existed until recently no longer does.
VIES
XI numbers are listed in VIES like any member state’s. Validity comes back reliably; name and address are not disclosed.
Northern Ireland pitfalls
- Do not derive XI from GB. The digits usually match, but the enrolment is what makes the number valid, and most GB registrations have none.
- XI covers goods only. Using it on a services invoice is wrong even when the number itself is valid.
- A rejected XI number often means "not enrolled", not "not a business". The company may be trading perfectly legally under its GB number.
- The HMRC public lookup is gone. Anything built on it before February 2025 has stopped working.
- XI is not a country code. It exists only for VAT, and no ISO list will resolve it.
One API for 27 member states, Northern Ireland included
Vatlas accepts XI exactly like the twenty-seven member state prefixes. The most instructive answer for Northern Ireland is not a success but a miss, because it is the one you will meet most often — a number that is well formed and simply not enrolled:
curl "https://api.vatlas.dev/v1/vat/XI366303014" \
-H "Authorization: Bearer $VATLAS_KEY"
Response:
200 OK
{
"error": {
"code": "VAT_NOT_REGISTERED",
"message": "VIES reports that "XI366303014" is not registered for intra-community transactions. The company may well exist in its national register without being VAT registered there."
},
"meta": {
"checked": ["database", "VIES"],
"checkedAt": "2026-08-28T10:22:56.805Z"
}
}
Note what this is not: it is not a 400, because the number is syntactically valid, and it is not a 503, because VIES answered. A 404 VAT_NOT_REGISTERED is a definitive answer, and meta.checked proves VIES was actually consulted before it was given. The three cases are reported apart precisely because an application should treat them differently.
meta.origin says where the answer came from: database for a register imported locally, source for a national API queried live, vies as a last resort. The shape of the response never changes from one country to the next.
Free to try. An email address creates an account — no credit card, no sales call — with 100 requests a month and a working key in about a minute.
Frequently asked
The XI VAT number in short
What is an XI VAT number?
A UK VAT number enrolled under the Windsor Framework so that it works for goods moving between Northern Ireland and the EU. It carries the XI prefix instead of GB.
Can I turn a GB number into an XI number?
No. The digits are usually the same, but the number is only valid if HMRC has enrolled the business, and most GB registrations are not enrolled.
Does an XI number cover services?
No. Under the Windsor Framework the EU VAT rules apply to goods only; services follow UK rules and the GB number.
Why can I no longer look up a UK VAT number for free?
HMRC withdrew its public VAT lookup service in February 2025. The replacement requires registered application credentials.
Is XI a country code?
No. It exists for VAT purposes only and appears in no ISO country list.
VAT numbers in other countries
Last updated 28 August 2026.