VAT number formats
By Jose PollmanPublished Updated
What country is this VAT prefix?
If a check reported "Wrong format", the number does not match the shape its country uses. That is checked before the registry is contacted, so the number was never looked up — fix the format and run it again.
The most common cause is a transposed pair of digits. It is worth re-reading the number from the invoice rather than from what you typed, because a transposition looks correct when you already know what it should say.
Two codes that are not what you expect
- Greece is EL, not GR. Greek VAT numbers are filed under EL, which is not the ISO country code. Entering GR will fail before it reaches the registry.
- Northern Ireland is XI. Since the Windsor Framework, Northern Irish businesses use XI for goods and are checked through VIES, while the rest of the UK uses GB and is checked through HMRC.
Every country, and its own page
One row per country here, and one page per country behind it — the prefix, the exact pattern, two format examples, where to verify a number and the mistakes people make with that country in particular. Switzerland and Norway are included because their suppliers turn up on invoices; neither is in VIES and this site does not check either, which their pages say plainly.
| Prefix | Country | After the prefix | Example | Verify at |
|---|---|---|---|---|
| AT | Austria | the letter U, 8 digits | ATU12345678 | VIES |
| BE | Belgium | 10 digits | BE0123456789 | VIES |
| BG | Bulgaria | 9 to 10 digits | BG123456789 | VIES |
| HR | Croatia | 11 digits | HR12345678901 | VIES |
| CY | Cyprus | 8 digits, 1 letter | CY12345678L | VIES |
| CZ | Czechia | 8 to 10 digits | CZ12345678 | VIES |
| DK | Denmark | 8 digits | DK12345678 | VIES |
| EE | Estonia | 9 digits | EE123456789 | VIES |
| FI | Finland | 8 digits | FI12345678 | VIES |
| FR | France | 2 letters or digits, 9 digits | FRXX123456789 | VIES |
| DE | Germany | 9 digits | DE123456789 | VIES |
| EL | Greece | 9 digits | EL123456789 | VIES |
| HU | Hungary | 8 digits | HU12345678 | VIES |
| IE | Ireland | 7 digits, 1 letter | IE1234567FA | VIES |
| IT | Italy | 11 digits | IT12345678901 | VIES |
| LV | Latvia | 11 digits | LV12345678901 | VIES |
| LT | Lithuania | 9 digits | LT123456789 | VIES |
| LU | Luxembourg | 8 digits | LU12345678 | VIES |
| MT | Malta | 8 digits | MT12345678 | VIES |
| NL | Netherlands | 9 digits, the letter B, 2 digits | NL123456789B01 | VIES |
| XI | Northern Ireland | 9 digits | XI123456789 | VIES |
| NO | Norway | 9 digits | NO 123 456 789 MVA | Brønnøysundregistrene |
| PL | Poland | 10 digits | PL1234567890 | VIES |
| PT | Portugal | 9 digits | PT123456789 | VIES |
| RO | Romania | 2 to 10 digits | RO1234567890 | VIES |
| SK | Slovakia | 10 digits | SK1234567890 | VIES |
| SI | Slovenia | 8 digits | SI12345678 | VIES |
| ES | Spain | 1 letter or digit, 7 digits, 1 letter or digit | ESX1234567X | VIES |
| SE | Sweden | 12 digits | SE123456789001 | VIES |
| CHE | Switzerland | 9 digits | CHE-123.456.789 MWST | UID-Register |
| GB | United Kingdom | 9 digits | GB123456789 | HMRC |
Formatting that does not matter
Spaces, dots, slashes and hyphens are stripped before checking, and so is the country prefix if you include it. DE 123 456 789and 123456789are treated identically.
A valid format is not a valid number
Passing the format check only means the number has the right shape. Whether it is registered, and to whom, is what the registry lookup answers — and a registered number still tells you nothing about whether the bank details on the invoice are right.
Run a vendor check →Registry, IBAN, EU sanctions and sending domain, in one pass. Free, no signup.
Invoice Checker →Drop in a supplier’s invoice, or paste its text, and the VAT numbers, bank accounts and email domains on it are read out in your browser — the file itself is never uploaded. Correct anything misread, then run every check at once.