# Changelog

## [Unreleased](https://github.com/driesvints/vat-calculator/compare/3.25.0...3.x)

## [3.25.0](https://github.com/driesvints/vat-calculator/compare/3.24.0...3.25.0) - 2025-11-24

* Support PHP 8.5 by [@spaze](https://github.com/spaze) in https://github.com/driesvints/vat-calculator/pull/201

## [3.24.0](https://github.com/driesvints/vat-calculator/compare/3.23.0...3.24.0) - 2025-10-02

* fix: missing key 'rules' in test by [@comhon-project](https://github.com/comhon-project) in https://github.com/driesvints/vat-calculator/pull/199
* feat: handle several vat rates for exception rules by [@comhon-project](https://github.com/comhon-project) in https://github.com/driesvints/vat-calculator/pull/198

## [3.23.0](https://github.com/driesvints/vat-calculator/compare/3.22.0...3.23.0) - 2025-08-03

* Update Romania's main VAT to 21%, low to 11% by [@gregberger](https://github.com/gregberger) in https://github.com/driesvints/vat-calculator/pull/194

## [3.22.0](https://github.com/driesvints/vat-calculator/compare/3.21.0...3.22.0) - 2025-07-01

* Update Estonia's main VAT rate to 24% by [@Seldaek](https://github.com/Seldaek) in https://github.com/driesvints/vat-calculator/pull/189

## [3.21.0](https://github.com/driesvints/vat-calculator/compare/3.20.0...3.21.0) - 2025-06-09

* Add uk vat checks by [@joshuacadman01](https://github.com/joshuacadman01) in https://github.com/driesvints/vat-calculator/pull/193

## [3.20.0](https://github.com/driesvints/vat-calculator/compare/3.19.0...3.20.0) - 2025-02-28

* Remove UK VAT checks by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/pull/191

## [3.19.0](https://github.com/driesvints/vat-calculator/compare/3.18.0...3.19.0) - 2025-02-13

* Laravel v12 Support by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/pull/190

## [3.18.0](https://github.com/driesvints/vat-calculator/compare/3.17.0...3.18.0) - 2025-01-06

* Add missing French overseas by [@boutetnico](https://github.com/boutetnico) in https://github.com/driesvints/vat-calculator/pull/187

## [3.17.0](https://github.com/driesvints/vat-calculator/compare/3.16.0...3.17.0) - 2025-01-01

* slovakia-2025 by [@MartinMystikJonas](https://github.com/MartinMystikJonas) in https://github.com/driesvints/vat-calculator/pull/186

## [3.16.0](https://github.com/driesvints/vat-calculator/compare/3.15.0...3.16.0) - 2024-12-05

* Updated reduced vat rate for Poland by [@soukicz](https://github.com/soukicz) in https://github.com/driesvints/vat-calculator/pull/184

## [3.15.0](https://github.com/driesvints/vat-calculator/compare/3.14.0...3.15.0) - 2024-12-05

* Austria has only two reduced rates by [@soukicz](https://github.com/soukicz) in https://github.com/driesvints/vat-calculator/pull/183

## [3.14.0](https://github.com/driesvints/vat-calculator/compare/3.13.0...3.14.0) - 2024-11-21

* Update VatCalculator.php by [@DonCamillo11](https://github.com/DonCamillo11) in https://github.com/driesvints/vat-calculator/pull/182

## [3.13.0](https://github.com/driesvints/vat-calculator/compare/3.12.0...3.13.0) - 2024-10-08

* PHP 8.4 support by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/pull/179

## [3.12.0](https://github.com/driesvints/vat-calculator/compare/3.11.0...3.12.0) - 2024-09-02

* Update Finland rates by [@jevgeni-sultanov](https://github.com/jevgeni-sultanov) in https://github.com/driesvints/vat-calculator/pull/177

## [3.11.0](https://github.com/driesvints/vat-calculator/compare/3.10.1...3.11.0) - 2024-05-14

* Update postal code exceptions for Portugal by [@toyi](https://github.com/toyi) in https://github.com/driesvints/vat-calculator/pull/174

## [3.10.1](https://github.com/driesvints/vat-calculator/compare/3.10.0...3.10.1) - 2024-05-10

* Reduced rate and parking rate corrected for Belgium by [@edwwaarrdd](https://github.com/edwwaarrdd) in https://github.com/driesvints/vat-calculator/pull/173

## [3.10.0](https://github.com/driesvints/vat-calculator/compare/3.9.0...3.10.0) - 2024-02-12

* Add support for laravel 11 by [@shuvroroy](https://github.com/shuvroroy) in https://github.com/driesvints/vat-calculator/pull/172

## [3.9.0](https://github.com/driesvints/vat-calculator/compare/3.8.0...3.9.0) - 2024-01-04

- Update Estonia VAT rate by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/commit/86db9c8608c026b91ce914fa7aa0ec4231faeb05

## [3.8.0](https://github.com/driesvints/vat-calculator/compare/3.7.0...3.8.0) - 2024-01-03

* Update Swiss VAT rates for 2024 by [@spaze](https://github.com/spaze) in https://github.com/driesvints/vat-calculator/pull/169
* Update VAT rate for Azores to 16% by [@spaze](https://github.com/spaze) in https://github.com/driesvints/vat-calculator/pull/170
* Correct VAT and postal code for Campione d'Italia by [@spaze](https://github.com/spaze) in https://github.com/driesvints/vat-calculator/pull/168

## [3.7.0](https://github.com/driesvints/vat-calculator/compare/3.6.0...3.7.0) - 2024-01-01

* Starting 2024, CZ has just one low rate 12% by [@spaze](https://github.com/spaze) in https://github.com/driesvints/vat-calculator/pull/164
* Adjust Luxemburg rates by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/pull/167

## [3.6.0](https://github.com/driesvints/vat-calculator/compare/3.5.0...3.6.0) - 2023-09-21

- PHP 8.3 support by [@driesvints](https://github.com/driesvints) in https://github.com/driesvints/vat-calculator/pull/161

## [3.5.0](https://github.com/driesvints/vat-calculator/compare/3.4.0...3.5.0) - 2023-08-30

- Don't rely on Laravel config component by [@gregberger](https://github.com/gregberger) in https://github.com/driesvints/vat-calculator/pull/154

## [3.4.0](https://github.com/driesvints/vat-calculator/compare/3.3.0...3.4.0) - 2023-06-09

- Allow all tax rules to be overwritten by @Fossil01 & @driesvints in https://github.com/driesvints/vat-calculator/pull/156

## [3.3.0](https://github.com/driesvints/vat-calculator/compare/3.2.0...3.3.0) - 2023-01-11

### Added

- Laravel v10 Support by @driesvints in https://github.com/driesvints/vat-calculator/pull/152

## [3.2.0](https://github.com/driesvints/vat-calculator/compare/3.1.2...3.2.0) - 2023-01-05

### Added

- Added detailed VAT rates by @greenhof in https://github.com/driesvints/vat-calculator/pull/151

## [3.1.2](https://github.com/driesvints/vat-calculator/compare/3.1.1...3.1.2) - 2022-11-09

### Changed

- Test on PHP 8.2 by @driesvints in https://github.com/driesvints/vat-calculator/pull/149

## [3.1.1](https://github.com/driesvints/vat-calculator/compare/3.1.0...3.1.1) - 2022-09-19

### Fixed

- Fix rounding of values by @driesvints in https://github.com/driesvints/vat-calculator/pull/147

## [3.1.0](https://github.com/driesvints/vat-calculator/compare/3.0.2...3.1.0) - 2022-07-06

### Added

- Added `isValidVatNumberFormat` by @pmochine in https://github.com/driesvints/vat-calculator/pull/143
- Added connection timeout for the SOAP Client by @pmochine in https://github.com/driesvints/vat-calculator/pull/143

## [3.0.2 (2022-01-11)](https://github.com/driesvints/vat-calculator/compare/3.0.1...3.0.2)

### Fixed

- Correct VAT and postal code for Campione d'Italia ([#138](https://github.com/driesvints/vat-calculator/pull/138))

## [3.0.1 (2022-01-10)](https://github.com/driesvints/vat-calculator/compare/3.0.0...3.0.1)

### Fixed

- Fix some Italian postal codes ([#137](https://github.com/driesvints/vat-calculator/pull/137))

## [3.0.0 (2021-10-20)](https://github.com/driesvints/vat-calculator/compare/2.5.2...3.0.0)

### Changed

- Drop support for PHP 7.2 and below ([#131](https://github.com/driesvints/vat-calculator/pull/131))
- Drop support for Laravel 5.8 and below ([#131](https://github.com/driesvints/vat-calculator/pull/131))
- Refactor validation rule ([#133](https://github.com/driesvints/vat-calculator/pull/133))

### Fixed

- Remove incorrect VAT rates ([#130](https://github.com/driesvints/vat-calculator/pull/130))

### Removed

- Remove front-end functionality ([#128](https://github.com/driesvints/vat-calculator/pull/128))
- Remove translations ([5097c75](https://github.com/driesvints/vat-calculator/commit/5097c752dffa3ca823010816078805017fec2c75))
- Remove IP lookup functionality ([#129](https://github.com/driesvints/vat-calculator/pull/129))

## [2.5.2 (2021-05-26)](https://github.com/driesvints/vat-calculator/compare/2.5.1...2.5.2)

### Changed

- Using get_headers to avoid 404 status code with file_get_contents ([#119](https://github.com/driesvints/vat-calculator/pull/119))
- Throw unavailable exception for UK VAT API ([3c937b4](https://github.com/driesvints/vat-calculator/commit/3c937b4cde8e3a8936eecf4ce56395f2daa6baa6))

## [2.5.1 (2021-05-25)](https://github.com/driesvints/vat-calculator/compare/2.5.0...2.5.1)

### Fixed

- Fix invalid UK VAT number validation ([6e674e4](https://github.com/driesvints/vat-calculator/commit/6e674e41d413c219f5e66ba53946a8138f88e6bc))

## [2.5.0 (2021-05-24)](https://github.com/driesvints/vat-calculator/compare/2.4.2...2.5.0)

### Added

- Validate UK VAT numbers ([#116](https://github.com/driesvints/vat-calculator/pull/116))

## [2.4.2 (2021-01-24)](https://github.com/driesvints/vat-calculator/compare/2.4.1...2.4.2)

### Fixed

- Revert temporary german VAT change ([#102](https://github.com/driesvints/vat-calculator/pull/102))
- Use HTTPS for links ([#105](https://github.com/driesvints/vat-calculator/pull/105))
- Fix IPV6 resolving ([#83](https://github.com/driesvints/vat-calculator/pull/83), [3c6b16d](https://github.com/driesvints/vat-calculator/commit/3c6b16d819a1f2fff61fce16b625a184d1c2fac2))

## 2.0.0 (2016-06-28)

- VAT rate detection now supports ZIP codes, to take edge cases into consideration

## 1.7.1 (2016-06-16)

- Fixed bug when using multiple Validator extensions in Laravel

## 1.7.0 (2016-05-11)

- Added Cashier 6 support

## 1.6.3 (2016-04-07)

- Added "shouldCollectVAT" method

## 1.6.2 (2016-02-10)

- Added polish validation rule message

## 1.6.1 (2016-01-14)

- Added support for `vat-taxrate` as an extra field for the JS frontend integration. Thanks @orottier

## 1.6.0 (2016-01-12)

- Added support for setting your own "business country code" which will be used when selling to business customers inside your own country. Previous versions returned the wrong VAT rate (0%).

## 1.5.5 (2016-01-11)

- Romania reduces VAT to 20% in 2016

## 1.5.4 (2015-09-18)

- Fixed issue in vat_calculator.js

## 1.5.3 (2015-09-18)

- Added valid_vat_id and calculate JS success callback

## 1.5.2 (2015-09-18)

- Added greek tax rate

## 1.5.1 (2015-09-16)

- Added spark asset publishing

## 1.5.0 (2015-09-08)

- Added VAT Calculator JS

## 1.4.4 (2015-09-07)

- The package can now be used without Laravel

## 1.4.3 (2015-09-07)

- Updated standard VAT rate for Luxembourg

## 1.4.2 (2015-09-06)

- Added facade explanation to README and fixed a bug in the ServiceProvider

## 1.4.1 (2015-09-03)

- Fixed getClientIP tests

## 1.4.0 (2015-09-02)

- Added IP to country lookup.

## 1.3.0 (2015-09-02)

- Added Laravel Validator extension.

## 1.2.1 (2015-09-01)

- Added chainable methods for the Laravel Cashier integration, to allow a more readable command.

## 1.2.0 (2015-09-01)

- Added Laravel Cashier integration

## 1.1.0 (2015-09-01)

- Added VAT number validation.

## 1.0.0 (2015-09-01)

- First release.
