Check VAT Number Format by Country
Every UK and EU VAT number starts with a two-letter country code. The UK uses GB, Northern Ireland businesses trading goods with the EU use XI, and Greece uses EL rather than GR. The checker accepts spaces, dots and lowercase, and tells you the right format before it calls a registry.
| Country | Prefix | After the prefix | Example |
|---|---|---|---|
| Austria | AT | U followed by 8 digits | ATU12345678 |
| Belgium | BE | 10 digits, starting with 0 or 1 | BE0123456789 |
| Bulgaria | BG | 9 or 10 digits | BG123456789 |
| Cyprus | CY | 8 digits and a letter | CY12345678X |
| Czechia | CZ | 8, 9 or 10 digits | CZ12345678 |
| Germany | DE | 9 digits | DE123456789 |
| Denmark | DK | 8 digits | DK12345678 |
| Estonia | EE | 9 digits | EE123456789 |
| Greece | EL | 9 digits | EL123456789 |
| Spain | ES | 9 characters: a letter or digit, 7 digits, then a letter or digit (not all digits) | ESA1234567B |
| Finland | FI | 8 digits | FI12345678 |
| France | FR | 2 letters or digits, then 9 digits | FR12345678901 |
| Croatia | HR | 11 digits | HR12345678901 |
| Hungary | HU | 8 digits | HU12345678 |
| Ireland | IE | 8 or 9 characters, like 1234567T or 1234567WA | IE1234567T |
| Italy | IT | 11 digits | IT12345678901 |
| Lithuania | LT | 9 or 12 digits | LT123456789 |
| Luxembourg | LU | 8 digits | LU12345678 |
| Latvia | LV | 11 digits | LV12345678901 |
| Malta | MT | 8 digits | MT12345678 |
| Netherlands | NL | 9 digits, the letter B, then 2 digits | NL123456789B01 |
| Poland | PL | 10 digits | PL1234567890 |
| Portugal | PT | 9 digits | PT123456789 |
| Romania | RO | 2 to 10 digits | RO1234567 |
| Sweden | SE | 12 digits ending in 01 | SE123456789001 |
| Slovenia | SI | 8 digits | SI12345678 |
| Slovakia | SK | 10 digits | SK1234567890 |
| United Kingdom | GB | 9 digits (12 for a branch, or GD/HA and 3 digits for government and health bodies) | GB123456782 |
| Northern Ireland | XI | 9 digits (12 for a branch) | XI123456782 |
UK VAT numbers
A standard UK VAT number is GB followed by 9 digits, for example GB123456782. The last two digits are check digits worked out from the first seven (HMRC's mod 97 and mod 9755 methods), so the checker catches most typos on its own, without an HMRC lookup. Branches of a group can have 12 digits. Government departments use GD and health authorities HA, each followed by 3 digits. A VAT-registered UK business that imports or exports usually has the EORI number GB, the same 9 digits, then 000, which is why the checker tries that EORI for you.
Ireland, Belgium and Malta also issue the EORI from the VAT number, so the checker tries those too. Other EU countries, Germany and France among them, issue the EORI from a different register, so it cannot be worked out from the VAT number: check it on its own with the EORI checker.
When to Check a VAT Number
- Before you zero-rate a sale of goods to an EU business, or apply the reverse charge on services.
- When you set up a new supplier, so the VAT on their invoices is reclaimable.
- Before a customer master clean-up, migration or ERP go-live: run the whole list and fix the rows that come back not valid or wrong format.
- When an invoice or purchase order shows a VAT number you have not seen before.
If orders and invoices from these partners still arrive as PDFs and emails, the free invoice extractor and PO extractor pull the VAT number and line items out for you. For UK retail EDI, the EDIFACT inspector reads EANCOM and other EDIFACT files.
VAT Numbers and Peppol E-Invoicing
For most UK businesses the VAT number is also the Peppol address: scheme 9932 followed by the VAT number, such as 9932:GB123456782. That is why a VAT check here comes with a Peppol check. When a customer shows as "On Peppol", you can send them invoices through any Peppol access point today, and their system can read the invoice without anyone keying it in.
The UK government plans to require e-invoices for VAT invoices from April 2029, with Peppol as the network. A wrong VAT number on a customer record will then stop the invoice at routing, so the clean-up you do with this checker now is the same data work the mandate needs. Read our guides to the UK e-invoicing mandate for 2029 and Peppol in the UK, or search by GLN or name with the Peppol lookup.
Where the VAT Answers Come From
- UK VAT numbers (GB): checked here for format and HMRC check digits only, not against HMRC's register. Confirm a registration with HMRC's own checker.
- EU and Northern Ireland VAT numbers (XI): the European Commission's VIES, which asks each member state's own system. GB numbers left VIES on 1 January 2021.
- GB EORI numbers: HMRC's Check EORI number API. EU and XI EORI numbers: the European Commission's EORI validation service.
- Peppol: the Peppol SML and each participant's SMP, the same data access points use to route documents.
Registry lookups run at the moment you select Check. A registry's answer is held in memory for up to 10 minutes, so checking the same VAT number twice does not ask the registry twice, and the numbers you check are not stored or logged.
Checking an EORI number instead? Use the EORI number checker.