apilayer / euvatrates.com

Super simple (static) web service to grab VAT rates for all EU Member States, in preparation of the new 2015 VAT regulation.
http://euvatrates.com
MIT License
53 stars 15 forks source link

UK code should be GB #2

Closed davidalbert closed 9 years ago

davidalbert commented 9 years ago

The propser ISO code is "GB". See http://www.iso.org/iso/fr/home/standards/country_codes/country_names_and_code_elements.htm

Mark-H commented 9 years ago

Just added GB yesterday :)

From the changelog on the site (also in the commit log):

[2014-12-30] Include GB and GR rates elements as duplicates of the UK and EL elements to deal with how differences in how the EU and ISO hav determined country codes. The duplicates (the ISO representation: GB and GR) contain a new iso_duplicate_of element referring to the EU-style country code. The originals (the EU representation: UK and EL) contain a new iso_duplicate element, referring to the ISO-style country code.

There's a use case for both UK and GB as UK is the official according to the EU, per http://publications.europa.eu/code/pdf/370000en.htm#pays so they're both included in the json now.