Component using the European Commission (EC) VAT Information Exchange System (VIES) to verify and validate VAT registration numbers in the EU, using PHP and Composer.
Added a fix for country validation made by @julesdohmen
Because the VIES service has shifted to SSL/TLS we needed to adapt support for it ASAP.
In this version we now support SSL/TLS for VIES:
Much gratitude to @gregsmirnov-av for reporting this
With Brexit being final, we like to welcome Northern Ireland to the VAT validation service. A huge thanks for @jonathanmaron to provide the update to make this possible.
The country code for Northern Ireland is XI, but the original VAT ID's remain the same as they were for the UK.
This release was long overdue but because of work, life and Covid-19 a delay was unfortunately not preventable.
With this release we have a few new features and some bug fixes:
This release was made possible thanks to the help of @jellyNoone and @fabianwelzer. Great work folks 👍 and thank you for your contributions 🙇!
It has taken a while but this release is jam-packed with bug fixes and improvements.
Here's a list of what has been done:
A huge thanks and appreciation for @peter279k for his pull requests and to @krzaczek, @robmeek, @fidelo-software and @MPablo for reporting issues. Thank you all 🙇 for your time and efforts.
Enjoy this new release 🚀
Thanks to the contributions of @jbrinksmeier, @sophiekuehn and @krzaczek an issue validating Finnish VAT numbers is now fixed.
A big shoutout to the people making this library better 👏
Minor updates:
A big shoutout this time to @krzaczek for his swift actions and code updates, but also a big thank you to @Smitsel and @MollieRick for their contributions in getting this change mentioned and updated.
Didn't check the code style properly and it failed our build. Fixed in this version.
Where we used to have an issue with the time always being set to 02:00 was in fact the timezone the request was made and not the time. As was researched by @cottton, the VIES service returns only the date and the timezone where the request was made for.
So now this VIES service will return you the correct date and the correct timezone, but as the time itself is not returned, it will default to "00:00:00".
Kudos to @cottton for raising the issue and fixing the problem. 🏅