2017 © Pedro Peláez
 

library vat-validation

EU VAT number validation

image

snowcap/vat-validation

EU VAT number validation

  • Thursday, May 29, 2014
  • by Snowcap
  • Repository
  • 5 Watchers
  • 10 Stars
  • 26,827 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Vat Validation

About

Vat-Validation is a PHP class allowing you to, (*1)

  • Validate a VAT number
  • Retrieve information like the name or the address of the company

The data is extracted from a European Commission webservice, (*2)

It actually only works for European countries, (*3)

Usage

See examples/example.php, (*4)

Some available methods

$validation->isValid()
$validation->getName()
$validation->getDenomination()
$validation->getAddress() 

Requirements

  • PHP 5.3>
  • Soap extension enabled

Disclaimer

Take a look at http://ec.europa.eu/taxation_customs/vies/viesdisc.do to know when/how you're allowed to use this service and his information, (*5)

The Versions

29/05 2014

dev-master

9999999-dev https://github.com/snowcap/vat-validation

EU VAT number validation

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Jérôme Poskin
by Pierre Vanliefland
by Edwin Hermans

utility