A business customer types a VAT number at checkout, your store applies reverse charge, and the order completes. Nothing fails. If that number was not valid, the VAT you did not charge is yours to pay, and you will learn this months later from your accountant rather than from your shop.
What validation does and when it has to happen
Validation checks the number against VIES, the EU system that confirms whether a VAT identifier is registered and active in the member state that issued it. The answer is yes or no, and it has to arrive before the order completes.
Timing is the whole point. A number checked at checkout changes the outcome: the customer sees the problem, fixes a typo or pays VAT. The same number checked in February changes nothing, because the invoice is issued, the money is collected and the tax treatment is already recorded.
What validation does not do is confirm that the person typing it is entitled to use it. VIES answers whether the number exists and is active, not who is holding it.
What goes wrong without it
Three failures, in order of how often they happen.
- A typo. The commonest by far, and the easiest to fix, because the customer is still on the page.
- A number that is no longer active. Registrations are cancelled. A number that worked last year may not work today.
- A number from the wrong country. Format looks plausible, prefix does not match the billing address, and nothing in a default checkout objects.
All three produce the same result: reverse charge applied when domestic VAT was due.
What to do when VIES is unavailable
It happens, and it is the part most setups handle badly. National systems behind VIES go offline for maintenance, and during that window a perfectly valid number cannot be confirmed.
You have two options and you should choose deliberately rather than discover the default. Block the order until validation succeeds, which protects you and loses the sale. Or accept the order, flag it, and verify afterwards, which keeps the sale and gives you a list to check.
For most stores the second is right, provided the flag actually produces a list somebody looks at.
Keeping proof
Record the result of the check with the order: the number, the response and the date. The number being valid today is not evidence it was valid at the moment of sale, and that moment is the one that matters.
Validation belongs at checkout, not in a spreadsheet afterwards. Flexible Invoices checks the buyer’s VAT number against VIES as the order is placed and applies the right VAT treatment to the document that follows.
Summary
VAT number validation checks a buyer’s identifier against VIES, the EU system confirming whether a number is registered and active in the issuing member state, and the check has to happen before the order completes.
Timing is what makes it useful. Validated at checkout, a bad number is something the customer can fix or pay around. Validated months later, nothing changes, because the invoice is issued and the tax treatment is recorded. Note that VIES confirms a number exists and is active, not that the person entering it is entitled to use it.
Three failures account for almost all cases: a typo, which is the most common and the easiest to correct while the customer is still on the page; a registration that has been cancelled since it last worked; and a number from a country that does not match the billing address. All three end the same way, with reverse charge applied where domestic VAT was due, leaving the uncharged amount as your liability.
VIES outages need a deliberate decision rather than a default. Blocking the order protects you and loses the sale, while accepting and flagging it keeps the sale and produces a list to verify. The second works for most stores, provided somebody reviews the list.
Record the number, the response and the date against the order. Validity today is not evidence of validity at the moment of sale, and that moment is the one that counts.
Frequently asked questions
These four decide how a store handles VAT numbers day to day.
Is checking the format enough?
No. A correctly formatted number can be inactive or belong to someone else. Only a VIES check tells you whether it is registered.
Can I validate numbers in bulk after the fact?
You can, and it is better than nothing, but it answers the wrong question. It tells you the status now, not at the time of sale.
What should the customer see if validation fails?
A message that names the problem and lets them correct it. Silently charging VAT without explanation generates support tickets.
Does this apply to buyers outside the EU?
VIES covers EU VAT numbers. Sales outside the EU follow export rules and a different set of checks.

