Location: PHPKode > scripts > VAT Checker > vat-checker/vat_test.php
require_once("vatchecker_class.php");

$vat = new VATChecker("data_vat.xml", "error_vat.xml", "fr");

$vatno = "FR88 331 121 327";

if($vat->check($vatno))
	echo "numéro valide (".ucfirst($vat->getPays($vatno)).")";
else 
	echo $vat->getLastError();
Return current item: VAT Checker