Login   Register  
PHP Classes
elePHPant
Icontem

VAT Checker: Check if a European VAT number is valid

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Benjamin Boigienman
Name: Benjamin Boigienman <contact>
Classes: 3 packages by
Country: France France
Age: 32
All time rank: 14810 in France France
Week rank: 304 Down14 in France France Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Benjamin Boigienman  >  VAT Checker  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: VAT Checker
Base name: vatchecker
Description: Check if a European VAT number is valid
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2037 users
All time rank: 1799
Week users: 1 user
Week rank: 1435 Up
 
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Perfect (100%) - Good (87%) - - Sufficient (68%) 265
Month: Not yet rated by the users

  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 Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
VIES VAT number validation
VIES VAT number validation

  Files folder image Files  
File Role Description
Accessible without login Plain text file data_vat.xml Data Data file
Accessible without login Plain text file error_vat.xml Data Error file
Plain text file vatchecker_class.php Class Class
Accessible without login Plain text file vat_test.php Example Test

Download Download all files: vatchecker.tar.gz vatchecker.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.