ibericode / vat

PHP library for dealing with European VAT
https://packagist.org/packages/ibericode/vat
MIT License
425 stars 61 forks source link

UK/GB Vat number support #49

Closed paulhennell closed 2 years ago

paulhennell commented 2 years ago

As of 01/01/2021 (Brexit) the Vies validator no longer supports GB VAT numbers.

Currently this library still supports validateVatNumberFormat('GB000000000') as true, but running validate on any GB code throws a ViesException of invalid input.

There is a (new) API from the UK here - Would you be open to a PR that added support for GB numbers using this or do you want to stay EU/Vies specific?

oktaykalfa commented 2 years ago

Hello, im having the same problem, are you considering to solve this?

dannyvankooten commented 2 years ago

Hello @paulhennell,

I am terribly sorry for the late reply, but at this time I would like the library to stay specific to the EU simply because that is how we're using it ourselves and I'd rather not take on the burden of maintaining parts of the library that we are not using ourselves.