GSTIN verification and EU VAT number check
For GSTIN verification, the tool checks the format and check digit in your browser. VIES, the European Commission database, covers EU VAT numbers only and confirms their registration. Example: FR03552081317, where 03 is the key calculated from SIREN 552081317. The tool recognises 45 identifiers, including GSTIN, EIN and CNPJ.
Check algorithm: GSTIN
A correct format and check digits show that a number is well formed; only the official register confirms that it has been issued and is active.
How the check works
Three checks, from the fastest to the most reliable.
- 1
Format
The number is cleaned up (spaces, dots, hyphens) and compared with the country’s official format: number of digits, allowed letters, prefix.
- 2
Check digits
Most countries build in a key calculated from the other digits. A typo makes it wrong, so the error is caught without sending anything.
- 3
Official register
A European VAT number is checked in VIES; a SIREN is checked in the public register of French companies.
Why check a customer’s VAT number?
To invoice a supply of goods to a business in another Member State without VAT, the seller must hold the customer’s valid VAT number: since 2020 this has been a condition of the exemption (Directive 2006/112/EC, Article 138). For a reverse-charge supply of services, the customer’s number also appears on the invoice.
Our guide to checking a VAT number in VIES explains the process and the proof to keep.
How is an EU VAT number structured?
It starts with the country code (FR, DE, IT… and EL for Greece), followed by a sequence specific to each country: 11 characters in France (a 2-digit key and the SIREN), 9 digits in Germany, “U” and 8 digits in Austria. The table of VAT number formats by country lists them all.
In France, the key is calculated from the SIREN: key = (12 + 3 × (SIREN modulo 97)) modulo 97. For SIREN 552081317, the key is 03, which gives FR03552081317.
What if VIES does not respond?
VIES queries each Member State’s tax administration in real time; when one of them is unavailable, no answer can be given. That does not make the number invalid: try again later and keep a record of your attempts.
Where must the VAT number appear?
On invoices between businesses in the EU, the seller’s number and, for intra-EU transactions and reverse charge, the customer’s number. The rules on the VAT number on an invoice are covered in a dedicated guide.
Once the customer is verified, you can send the contract or quote for online signature.
Further reading
The questions that follow a check, answered one by one.
Frequently asked questions
How do I check an EU VAT number?
Enter it with its country prefix: the tool checks the format and check digits in your browser, then queries VIES, the European Commission’s official database.
How is the French VAT key calculated from a SIREN?
Key = (12 + 3 × (SIREN modulo 97)) modulo 97, written as two digits. For SIREN 552081317, the key is 03: FR03552081317.
Why does VIES say the number is not valid?
The number may have been mistyped, not yet activated for intra-EU transactions, or deregistered. VIES being unavailable, on the other hand, is never shown as the number being invalid.
Can I check a UK VAT number in VIES?
Only Northern Ireland numbers, with the XI prefix. Other UK numbers are checked with HMRC, the UK tax authority; the tool verifies their format and check digits.
Can the tool verify a GSTIN or other numbers from outside the EU?
Yes, for the format and, where one exists, the check digits: Indian GSTIN, US EIN, Brazilian CNPJ, Chinese unified social credit code, Japanese corporate number, Russian INN and others. VIES itself only covers EU VAT numbers.
Is the number I enter stored?
No. The format and check digits are verified in your browser; for VIES or the company register, the number passes through our server without being stored.
See also
Customer verified? Get the contract signed
Quotes, contracts or purchase orders signed online, eIDAS-compliant, no printing.