NKoonen / vatchecker

[Prestashop]Checks if customer has a valid VAT number, and then puts the customer a specific group.
https://customs-documents.com
BSD 3-Clause "New" or "Revised" License
34 stars 14 forks source link

Add North Ireland RegEx #20

Closed HartLarsson closed 1 year ago

HartLarsson commented 2 years ago

North ireland is now identified by XI instead of GB maintaining the same VAT code structure

https://www.accountor.com/en/sweden/news/northern-ireland-new-vat-number-after-brexit-xi#:~:text=Northern%20Ireland%20new%20VAT%20number%20means%20that%20GB%20is%20changed,is%20XI%20instead%20of%20GB.

JoryHogeveen commented 2 years ago

Please see #14 Are you sure North Ireland should be included for zero-tax handling? From what I understood it shouldn't.

HartLarsson commented 1 year ago

yes is like sending to another EU member. so we must add XI.

EU directive n. 2020/1756 del 20 novembre 2020 specify that the North Ireland will have a bew XIU identification code instaed of GB and will be managed as a EU state so Taxes must be applied when is aprivate or not VIES validated VAT code

https://help.shopify.com/en/manual/taxes/uk/ni-tax-setup

<<Under Brexit, Northern Ireland (NI) has adopted a dual status and is considered part of both the EU and the UK tax regimes.

If you use registration-based tax settings, then VAT is calculated based on the order's origin and its destination. UK VAT applies to orders from within the United Kingdom to customers in Northern Ireland, and to orders from within Northern Ireland to customers in the United Kingdom. EU VAT applies to orders from within the European Union to customers in Northern Ireland, and to orders from within Northern Ireland to customers in the European Union.>>