VAT number check
Enter an EU or UK VAT number. The tool checks it against the format the European Commission publishes and, for EU and Northern Ireland numbers, asks VIES whether it is valid. VIES does not cover UK numbers that start with GB: HMRC checks those.
Is it registered?
Only the official services can confirm it:
- VIES, European CommissionWhether a VAT number from the EU or Northern Ireland is valid for intra-EU transactions.
- Check a UK VAT number, HMRCWhether a UK VAT number is valid, and the name and address of the business it is registered to.
According to the European Commission, an “invalid” answer from VIES can mean that the number does not exist, that it has not been activated for intra-EU transactions, or that its registration is not finished, because some EU countries require a separate registration for those transactions. And a valid answer does not in itself give a right to exempt an intra-EU supply from VAT, as the VIES legal notice says.
What the checker tests
- The format of 29 VAT prefixes: the 27 EU countries and Northern Ireland (XI), from the table the European Commission publishes in question 11 of the VIES FAQ, and the United Kingdom (GB), whose structure the VIES texts still describe. A UK number has 9 digits (HMRC), 12 for branch traders, or GD or HA and 3 digits for government departments and health authorities.
- Whether it is valid in VIES, when the VIES check is available: whether the VAT number is valid for intra-EU transactions and, if the country provides them, the name and address. Spain, for example, does not provide them (question 22 of the VIES FAQ).
- The control letter of a Spanish DNI or NIE, with the method published by Spain's Ministry of the Interior.
UK and Northern Ireland numbers
Since 1 January 2021, VIES no longer validates UK numbers with the GB prefix, and the European Commission refers traders who need to check one to the UK tax administration. HMRC's “Check a UK VAT number” service tells you whether a UK number is valid and shows the name and address of the business; a UK VAT-registered business can also use it to prove when it checked. A business trading under the Windsor Framework has XI at the beginning of its UK VAT number, and VIES does validate XI numbers. The checker applies the same structure to both prefixes.
What it does not test
- A UK number with GB against HMRC's records: use HMRC's service above.
- Check digits. The European Commission says it cannot divulge the algorithms behind VAT numbers, and the checker only applies those a national administration publishes: today, the Spanish DNI and NIE letter.
- Whether a name and address belong to the number. Your own tax administration can confirm that (question 17 of the VIES FAQ).
- Whether the number was valid on an earlier date: VIES only answers for the current day (question 6).
- A company's VAT number from its name or address: VIES does not search that way (question 19).
VAT number format in each country
| Country | Format according to VIES |
|---|---|
| Austria | ATU99999999 |
| Belgium | BE0999999999 / BE1999999999 |
| Bulgaria | BG999999999 / BG9999999999 |
| Croatia | HR99999999999 |
| Cyprus | CY99999999L |
| Czechia | CZ99999999 / CZ999999999 / CZ9999999999 |
| Denmark | DK99 99 99 99 |
| Estonia | EE999999999 |
| Finland | FI99999999 |
| France | FRXX 999999999 |
| Germany | DE999999999 |
| Greece | EL999999999 |
| Hungary | HU99999999 |
| Ireland | IE9S99999L / IE9999999LL |
| Italy | IT99999999999 |
| Latvia | LV99999999999 |
| Lithuania | LT999999999 / LT999999999999 |
| Luxembourg | LU99999999 |
| Malta | MT99999999 |
| Netherlands | NLSSSSSSSSSSSS |
| Northern Ireland | XI999 9999 99 / XI999 9999 99 999 / XIGD999 / XIHA999 |
| Poland | PL9999999999 |
| Portugal | PT999999999 |
| Romania | RO999999999 |
| Slovakia | SK9999999999 |
| Slovenia | SI99999999 |
| Spain | ESX9999999X |
| Sweden | SE999999999999 |
| United Kingdom | GB999 9999 99 / GB999 9999 99 999 / GBGD999 / GBHA999 |
9 is a digit, X a letter or a digit, S a letter, a digit, “+” or “*”, and L a letter. Source: European Commission, VIES FAQ, question 11; the GB row follows the structure the VIES texts still give for the United Kingdom.
Sources
- European Commission, VIES FAQ, question 11 and its format table: ec.europa.eu (read on 25 November 2026).
- European Commission, VIES: technical information on the REST service (check-vat-number), FAQ 1, 6, 17, 19 and 22, the notice on UK (GB) and Northern Ireland (XI) numbers and the legal notice: ec.europa.eu (read on 25 November 2026).
- European Commission, Your Europe, “Check a VAT number (VIES)”, last checked on 18 June 2026: europa.eu.
- HMRC, “Check a UK VAT number”: gov.uk.
- HMRC, “Accounting for VAT on goods moving between Great Britain and Northern Ireland from 1 January 2021”, updated on 1 October 2026: gov.uk.
- Spain's Ministry of the Interior, “Cálculo del dígito de control del NIF/NIE”: interior.gob.es.
Next steps in Odoo
- EN 16931 BR-CO-09: VAT number without country prefixWhy an e-invoice is rejected when the VAT number lacks its two country letters.
- Mandatory e-invoicing in EuropeWhich date applies to you, country by country.
- IBAN checkerLength, structure and check digits of an IBAN, also in your browser.
A free tool by FlexigoTech. We build modules and connectors for Odoo.
