The complete guide to validating VAT numbers
A VAT registration number is the single most important compliance field on a business invoice, yet it is also one of the most frequently mistyped. A transposed digit, a dropped country prefix or a stray space can turn a valid registration into one that fails automated checks — and the consequences (rejected invoices, blocked input-tax reclaim, audit findings) surface long after the invoice was approved. Validating the number up front, the moment it enters your workflow, is the cheapest insurance there is.
How VAT number formats differ by country
Every EU member state defines its own VAT-number structure, and the UK has its own as well. German numbers are DE followed by nine digits; French numbers are FR plus two characters and nine digits; Dutch numbers end in a B and two digits; UK numbers are GB followed by nine (or twelve) digits; and Greece, unusually, uses the EL prefix rather than GR. A validator has to know all of these patterns to give a correct answer — checking length, allowed characters and the country-specific structure, not just whether the string "looks like" a VAT number.
Format validation vs registration lookup
There are two levels of VAT verification. The first is format validation: does the number match its country's structural pattern? This catches the overwhelming majority of real-world errors, because most bad VAT numbers are simply mistyped or incomplete. The second level is registration lookup — confirming, via the EU's VIES service, that the number is actually registered and active. The checker on this page does both, in that order: format validation runs locally in your browser as you type, and for a well-formed EU number one click sends the registration lookup to VIES. UK numbers go to HMRC's service on GOV.UK, as described above. Checking the format first saves a wasted lookup on a number that was simply mistyped — which is why the VIES button only appears once the format passes.
From a single number to a whole invoice
Validating one VAT number is useful; validating it in the context of an invoice is transformative. The Invoice VAT Checker and the AI VAT Auditor take the VAT number alongside the subtotal, rate, VAT amount and total, and confirm that everything reconciles — so a valid number on an invoice with broken maths is still caught. Upload an invoice to the checker, or extract VAT data at scale with the invoice parser, and every VAT number is validated automatically as part of the audit.








