vat.php v2.0.3 Release Notes

Release Date: 2020-04-17 // almost 4 years ago
  • 📦 Ditch client for jsonvat.com as it is discontinued. This package already was already using the client for ibericode/vat-rates by default.

    If you were manually using Ibericode\Vat\Clients\JsonVatClient in your code then change it to use Ibericode\Vat\Clients\IbericodeVatRatesClient instead.

    $client = new Ibericode\Vat\Clients\IbericodeVatRatesClient();$rates = new Ibericode\Rates\Rates('/path-for-storing-cache-file.txt', 12 \* 3600, $client);
    

Previous changes from v2.0.2

    • 🛠 Fixes an issue with invalid ES, IE and GB VAT numbers being accepted (when given a valid VAT number with a suffix or prefix). Thanks to @Swop for catching it.