Changelog History
Page 1
-
v2.0.3 Changes
April 17, 2020📦 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 useIbericode\Vat\Clients\IbericodeVatRatesClient
instead.$client = new Ibericode\Vat\Clients\IbericodeVatRatesClient();$rates = new Ibericode\Rates\Rates('/path-for-storing-cache-file.txt', 12 \* 3600, $client);
-
v2.0.2 Changes
January 16, 2020- 🛠 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.
-
v2.0.1
November 12, 2019 -
v2.0 Changes
February 11, 2019🔖 Version 2.0 release is a complete rewrite, resulting in a much simpler and more usable public API. Check out the README for updated usage examples.
📦 The package has moved to a new Composer package name as well. It's now called ibericode/vat.
-
v1.2.1 Changes
February 07, 2019Additions
validateCountryCode
method onCountries
class.validateIpAddress
method onCountries
class.
👌 Improvements
- 👉 Use HTTPS protocol for ip2c.org geo-location service.
- ⬆️ Bump package requirement to PHP 7.1 or later
- ➕ Add argument and return type declarations
- Don't issue HTTP request for IP geo-location if IP isn't valid or is in local range
-
v1.2.0
January 08, 2019 -
v1.1.3
January 07, 2019 -
v1.1.2 Changes
December 04, 2017VIES SOAP client is now lazy instantiated
-
v1.1.1 Changes
July 06, 2017🚀 This release allows you to configure a custom timeout for the VIES client via constructor parameters.
-
v1.1 Changes
February 24, 2017🚀 This release allows you to fetch the VAT rates for any future or past date thanks to a pull request by @bpolaszek.
*Example: *
This fetches the VAT rate in The Netherlands (NL) on 2010-01-01.
$rates = new DvK\Vat\Rates\Rates();$rates-\>country('NL', 'standard', new \Datetime('2010-01-01')); // 19
👀 Because this change requires VAT periods to be stored in the Rates class, the
Rates::all()
method now returns a slightly different array format. See the inline docs on the Client interface for details on the format.