This class can check whether an VAT (Value Added Tax) number is valid according to rules of each European country.
The class loads VAT number structure using regular expressions for each European country defined in a separate XML file.
If the given VAT number structure is correct, the class checks the VIES site (VAT Information Exchange System) to verify whether the VAT number is valid.
The class can present error messages in either English are French. Support for more idioms can add easily updating the error XML file.
May 2005
Number 6 |
VAT (Value Added Tax) is a tax that European companies have to charge when they sell products or services to clients in Europe.
When possible clients have to provide their VAT number to associate to the transactions about the products or services that they purchase from the European companies.
To avoid later problems it is important that the supplied VAT numbers are correct.
This class provides a solution to automatically validate VAT numbers, thus reducing the chances of any eventual problems.
Manuel Lemos |
|
Pages that reference this package |
|
|
Forms Widgets and Validation This article will cover some of the things you’ll need to know if you’re thinking of building your own E-Commerce/Shopping Cart solution. I’ll be covering stuff like Credit/Debt Card Validation, UK Postcode Validation, UK Telephone Validation and UK County Selection... |
Latest pages that reference packages
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|