Currency, Exchange Rates & VAT

EU VAT Number Guide: Format by Country, VIES Check and VAT Formulas

By Vaneesa LenzUpdated 4 min read

If you sell to businesses in other EU countries, a valid VAT number from your customer is what allows you to invoice without charging VAT under the reverse-charge rules. A mistyped or invalid number can leave you liable for the VAT yourself.

This guide lists the format for every EU country, explains how to confirm a number in the European Commission's VIES system, and shows the formulas for adding and removing VAT correctly.

Key takeaways

  • Every EU VAT number starts with a 2-letter country prefix. Greece uses EL, not GR.
  • A format check catches typos; a VIES check confirms the number is registered for cross-border trade.
  • Since Brexit, UK (GB) numbers are not in VIES, but Northern Ireland businesses trading goods use the XI prefix.
  • To remove VAT from a gross price, divide by (1 + rate). Never just subtract the rate from the gross.

VAT number format for all 27 EU countries

CountryPrefixFormat after the prefixExample
AustriaATU + 8 digitsATU12345678
BelgiumBE10 digits, starting with 0 or 1BE0123456789
BulgariaBG9 or 10 digitsBG123456789
CroatiaHR11 digitsHR12345678901
CyprusCY8 digits + 1 letterCY12345678X
CzechiaCZ8, 9 or 10 digitsCZ12345678
DenmarkDK8 digitsDK12345678
EstoniaEE9 digitsEE123456789
FinlandFI8 digitsFI12345678
FranceFR2 characters + 9 digitsFR12345678901
GermanyDE9 digitsDE123456789
GreeceEL9 digitsEL123456789
HungaryHU8 digitsHU12345678
IrelandIE8 or 9 characters (digits and letters)IE1234567WA
ItalyIT11 digitsIT12345678901
LatviaLV11 digitsLV12345678901
LithuaniaLT9 or 12 digitsLT123456789
LuxembourgLU8 digitsLU12345678
MaltaMT8 digitsMT12345678
NetherlandsNL9 digits + B + 2 digitsNL123456789B01
PolandPL10 digitsPL1234567890
PortugalPT9 digitsPT123456789
RomaniaRO2 to 10 digitsRO1234567890
SlovakiaSK10 digitsSK1234567890
SloveniaSI8 digitsSI12345678
SpainES9 characters; the first and/or last may be a letterESX1234567X
SwedenSE12 digitsSE123456789001
Examples show the pattern only and are not real registrations.

Northern Ireland and the UK

Since 1 January 2021, Great Britain VAT numbers (GB) cannot be checked in VIES; use HMRC's service instead. Northern Ireland businesses trading goods with the EU use the XI prefix, which VIES does check.

How to confirm a VAT number with VIES

A format check, like the one on our VAT validator, tells you whether a number could be valid. To confirm that it is actually registered for intra-EU trade, use VIES (VAT Information Exchange System), the European Commission's free online service that queries each member state's database.

  1. Open the VIES service on the European Commission website.
  2. Select the country and enter the number without the prefix.
  3. Read the result: valid or invalid. Some countries also return the registered name and address; others, such as Germany, do not.
  4. If you enter your own VAT number as the requester, VIES gives you a consultation number. Save it with the invoice as evidence that you checked.

"Invalid" does not always mean fake

A number can show as invalid if the business is registered only for domestic VAT and not for cross-border trade, or if a national database is temporarily unavailable. Ask the customer to confirm, and do not apply the reverse charge until the number checks out.

Free tool

Check whether a VAT number matches the official format for its country before you issue an invoice.

Validate a VAT number

Why the check matters: the reverse charge

When a VAT-registered business in one EU country sells goods or most services to a VAT-registered business in another, the seller normally does not charge VAT. Instead the customer accounts for it in their own country: this is the reverse charge. The invoice must show both parties' VAT numbers and a note such as "Reverse charge".

If the customer's VAT number turns out to be invalid, tax authorities can treat the sale as a domestic supply and ask the seller for the VAT that should have been charged. Checking the number before invoicing protects you.

VAT formulas: adding and removing VAT correctly

Gross price = net price × (1 + VAT rate)
Net price = gross price ÷ (1 + VAT rate)
VAT included in a gross price = gross price × rate ÷ (1 + rate)
Example at Germany's 19% standard rateCalculationResult
Add VAT to €100 net100 × 1.19€119.00
Remove VAT from €119 gross119 ÷ 1.19€100.00
VAT inside €119 gross119 × 0.19 ÷ 1.19€19.00
Common mistake: 19% of the gross119 × 0.19€22.61 (wrong)

The same formulas work for any rate, including the UAE's 5% and Saudi Arabia's 15%. Do the arithmetic instantly with our sales tax calculator or percentage calculator.

Frequently asked questions

Why does Greece use EL instead of GR?

EL comes from Ellada, the Greek name for the country. VAT numbers use EL even though the ISO country code is GR.

Is a format check enough before invoicing?

No. A format check catches typos, but only VIES (or the national tax authority) confirms that the number is registered for cross-border trade.

Can I check a UK VAT number in VIES?

Not for Great Britain (GB) numbers since 2021; use HMRC's VAT number checker. Northern Ireland numbers with the XI prefix can be checked in VIES.

How do I remove 19% VAT from a price?

Divide the gross price by 1.19. For example, €238 ÷ 1.19 = €200 net, so the VAT is €38.

Sources

  1. European Commission — VIES VAT number validation
  2. UK Government — Check a UK VAT number

This guide is general educational information, not financial, tax or legal advice. Figures were checked on the date shown and can change. Read how we research and review content in our editorial standards.

All guides
Back to all guides
Exchange rates are for informational purpose only and do not constitute financial advice
© 2026 FloatForex.com All rights reserved.