Validating vat numbers
When someone sets up a company or business, this person will get a VAT number.
This VAT number has to be mentioned on every invoice or receipt.
To validate them, we use the VIES API which is provided by the EU: Hotjar currently only accepts intra-Community VAT numbers which are successfully validated by VIES.
Legally we are bound to charge VAT to European customers who do not provide one such VAT number.
We do our best to make this task as easy as possible with our VAT checker.
The search result that is displayed within the VIES tool can be in one of two ways; EU VAT information exists (valid) or it doesn't exist (invalid).They vary in lenght, sometimes have checksums and so on. Normaly I am using regex to validate simple strings - but this looks kind of very complex to me. This is due to one of the following reasons: These changes are not always reflected immediately in the national databases and consequently in VIES.For urgent matters, we advise you to contact your local tax administration.