Northern Ireland VAT number: format and validation

By Remco from Avatcado

Format

XI followed by 9 or 12 digits. The local term is VAT registration number (VAT Reg No, English).

Pattern: /^\d{9}(\d{3})?$/

  • Same digits as the trader's GB VAT number with XI substituted for GB; it is an add-on to the UK VAT registration, not a separate one
  • Used by Northern Ireland traders for goods moving between NI and the EU under the Windsor Framework; services stay under UK-only VAT rules and use GB
  • XI numbers validate in VIES; GB numbers were removed from VIES on 1 January 2021

Example of a registered number: XI 510 4813 31

Check digit

Northern Ireland VAT numbers carry a check digit (MOD 97 / MOD 9755): Same check as the underlying GB VAT number: weights 8 down to 2 over the first 7 digits, with the last 2 digits as the check (the 9755 variant adds 55 before reducing).

Check a Northern Ireland VAT number

Validated live against the HM Revenue and Customs (listed in VIES for goods) (official register).

Enter a VAT number to see the live API response

Validate via API

The same validation as an API call, with the example number above:

curl "https://api.avatcado.com/v1/validate?vat_number=XI510481331" \
  -H "Authorization: Bearer avat_live_your_api_key"
import Avatcado from "@avatcado/node";

const avatcado = new Avatcado("avat_live_your_api_key");
const { data, error } = await avatcado.vat.validate({
  vatNumber: "XI510481331",
});

if (data?.data.valid) {
  console.log(`Registered: ${data.data.company?.name}`);
}

Free tier includes 500 validations per month. Get an API key or read the API documentation.

Frequently asked questions

When should a business use its XI number instead of GB?

Only for goods transactions involving Northern Ireland under the EU VAT rules that still apply there: NI-EU supplies, acquisitions, and related listings. Services and GB-internal trade always use the GB number.

How do I validate an XI VAT number?

Through VIES, which treats XI as a member-state code; HMRC's own checker covers the same registration under its GB form. A number can be valid as XI and the identical digits valid as GB simultaneously, because it is one registration.

Related guides

VAT rate in Northern Ireland

The standard VAT rate in Northern Ireland is 20%. Reduced rates: 5%, 0%. Northern Ireland uses UK VAT rates. See all Northern Ireland VAT rates.

Sources