Simply Calculated

UK and EU VAT number formats

A VAT number is a country code followed by a set number of digits or characters. Knowing the layout helps you spot a mistyped number before you check it.

UK VAT numbers

A UK VAT registration number is GB followed by 9 digits, usually written in groups: GB123 4567 89. You may also see it without the GB, as 123 4567 89.

A few businesses have 12 digits: the usual 9, then 3 more, such as GB123 4567 89 001. The European Commission’s table describes these as identifying branch traders. Check a 12-digit number exactly as written: in our tests of HMRC’s service, a 12-digit number is looked up as a number in its own right, not as a branch of the 9-digit one.

Government departments use GBGD and 3 digits, and health authorities GBHA and 3 digits. HMRC’s online check accepts only 9 and 12 digit numbers, so it can’t confirm these.

Northern Ireland (XI) numbers

Since the UK left the EU, businesses in Northern Ireland that trade goods with the EU use the prefix XI in place of GB for those dealings. The number after the prefix is the same as their GB number, for example XI123 4567 89. XI numbers are checked through the EU’s VIES service, not HMRC’s UK service.

When a Northern Ireland business sends an invoice to a customer in the EU, it must show the customer’s VAT number with that country’s code in front (Notice 700/21, section 4.2).

EU VAT numbers by country

In the examples, letters other than the country code stand for letters, and the digits are made up. Enter the number exactly as it appears on the invoice.

CountryCodeAfter the codeExample layout
AustriaATU and 8 digitsATU12345678
BelgiumBE10 digits, starting 0 or 1BE0123456789
BulgariaBG9 or 10 digitsBG123456789
CroatiaHR11 digitsHR12345678901
CyprusCY8 digits and a letterCY12345678L
CzechiaCZ8, 9 or 10 digitsCZ12345678
DenmarkDK8 digits (often written in pairs)DK12 34 56 78
EstoniaEE9 digitsEE123456789
FinlandFI8 digitsFI12345678
FranceFR2 characters, then 9 digitsFRXX123456789
GermanyDE9 digitsDE123456789
GreeceEL9 digits (EL, not GR)EL123456789
HungaryHU8 digitsHU12345678
IrelandIE8 or 9 characters, ending in one or two lettersIE1234567T
ItalyIT11 digitsIT12345678901
LatviaLV11 digitsLV12345678901
LithuaniaLT9 or 12 digitsLT123456789
LuxembourgLU8 digitsLU12345678
MaltaMT8 digitsMT12345678
NetherlandsNL12 charactersNL123456789B01
PolandPL10 digitsPL1234567890
PortugalPT9 digitsPT123456789
RomaniaRO2 to 10 digitsRO1234567
SlovakiaSK10 digitsSK1234567890
SloveniaSI8 digitsSI12345678
SpainES9 characters; the first and last can be letters, but not both digitsESX1234567X
SwedenSE12 digitsSE123456789012

Typing them correctly

  • Greece is EL. Greek VAT numbers start EL, not GR, the country’s usual code.
  • Austria always has a U. The country code is AT and the first character after it is always U, so the number starts ATU (VIES FAQ, question 21).
  • Spaces and dots don’t matter. Checkers ignore them, but the digits and their order do.
  • Letters count. Some countries, such as France, Ireland, the Netherlands and Spain, mix letters and digits. Copy them exactly.
  • A correct layout isn’t a valid number. The format only tells you the number could exist. Only a check against the register tells you it does.
Our VAT number checker is coming soon. To check an EU or XI number now, use the European Commission’s VIES service.