Skip to content

Releases: ibericode/vat

v1.1.2

04 Dec 13:34
1d1d533
Compare
Choose a tag to compare

VIES SOAP client is now lazy instantiated

v1.1.1

06 Jul 09:57
Compare
Choose a tag to compare

This release allows you to configure a custom timeout for the VIES client via constructor parameters.

v1.1

24 Feb 09:16
Compare
Choose a tag to compare

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.

v1.0.2

15 Feb 10:03
Compare
Choose a tag to compare

Require psr/simple-cache and have NullCache implement it, thanks to @Jarlskov.

v1.0.1

21 Jan 09:24
Compare
Choose a tag to compare
  • Set required PHP version in composer.json to PHP 5.6
  • Use CURL with 10 second timeout for IP geolocation & retrieving VAT rates

v1.0.0

16 Jan 19:31
Compare
Choose a tag to compare
first commit