Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.73 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.73 KB

Travis CI Code Climate Codacy Badge

Validate VAT Numbers

This is a PHP library to check the validity of VAT numbers across Europe. Most of the PHP libraries I have seen only validate the country code and the number of characters or are just checking the VIES webservice.

This library will be validating each VAT number against the check digit that is embedded in each number which is much more complete and will ensure that the number is actualy valid (at least according to the checkdigit algorithm).

Supported Countries

This PHP library is still very much a work in progress and I am adding tests and (as much as possible) finding documentation about each country and algorithm before proceeding to the next country.

  • Albania (Still unfinished but mostly working)
  • Argentina
  • Australia
  • Austria
  • Belgium
  • Canada
  • Colombia
  • Germany
  • Luxembourg
  • Norway
  • Poland
  • Portugal
  • Slovenia
  • Spain
  • Sweden

Thank you

I'm using the great JSVAT and python_stdnum libraries as inspiration and using them to confirm that my implementations are correct and also when I get stuck or can't find information about them. I will be contributing to them when I am more advanced in my own work. THANK YOU! :)