This component validates VAT numbers against the official tax system of the EU.
Upload the files to a webserver.
Navigate in your webbrowser to the uploaded EU Live Vat Validation. That's all!
Check out the demo for a visual impression of the front-end.
Check out the demo-file which is called index.php.
Results can be shown easily: $result->valid (Gives True or False) $result->name (Gives the name of the company registered on this vat number) $result->adress (Gives the adress of the company registered on this vat number) $result->iso (Gives the country) $result->vat(Gives the vat number)
Set a GET request to the EULiveVatValidation.php script or enter its location in the browser, in the following format:
http://www.yourdomain.com/vatcheck/EULiveVatValidation.php?iso=COUNTRY&vat=VATNUMBER
For example:
If you would like to check a German VAT-number in the EU-system the COUNTRY will be: DE. You can use the two letter short-code of a country. The VATNUMBER will be a given number which can have different lengths for each country. It could contain letters.
What will the check do?
The country and the vat-number will be checked in the system of the EU. The results are live. This means the data is always up-to-date.
Response values
The check will return results in one of several formats:
Default is a TEXT response. It is possible to define the return-method in the request URL:
http://www.yourdomain.com/vatcheck/EULiveVatValidation.php?iso=COUNTRY&vat=VATNUMBER&method=json
When the country or the vat is not filled in an empty page is shown. In this case a visitor does not immediately see any data you do not want him to see.
About the system
Supported countries
Questions & Comments