yolk / valvat

Validates european vat numbers. Standalone or as a ActiveModel validator.
MIT License
321 stars 80 forks source link

Support for Northern Ireland (XI) #108

Closed albertbellonch closed 2 years ago

albertbellonch commented 2 years ago

Hello,

As a consequence of Brexit, Northern Ireland goods mean that the country is not GB but XI, apparently with the same VAT number for the company. More information here: https://www.gov.uk/vat-registration/selling-or-moving-goods-in-northern-ireland

Could you add support for this? I would be pleased to do it as well, I would just need some directions on how to do it so I can issue a PR.

Best,

albertbellonch commented 2 years ago

Closing since after analyzing the gem's code I see there is support already.

Thanks for your great work! ❤️