3 ms·
Luckily we've found this: "Super simple (static) web service to grab VAT rates for all EU Member States, in preparation of the new 2015 VAT regulation." See: ht
by bartkappenburg 12y ago
Luckily we've found this: "Super simple (static) web service to grab VAT rates for all EU Member States, in preparation of the new 2015 VAT regulation." See: https://github.com/modmore/euvatrates.com https://github.com/modmore/euvatrates.com
We've used this (for http://www.voyando.com http://www.voyando.com) to change our software (ie. replaced a static VAT-variable for EU countries to a dynamic one based on what customers filled in during sign up). It was no more than 4 hours of work :-).
The (extra) tax filings are no more than a list with the different countries & VAT amounts. My bookkeeper/accountant will handle the rest ;-).
- AhtiK 12y agoThe suggested http://euvatrates.com/rates.json http://euvatrates.com/rates.json and pretty much any EU taxation document uses country code "EL" for Greece while ISO standard and most geolocation APIs use "GR". Just make sure your code doesn't crash because of this :) "GB" vs "UK" for United Kingdom is another one to pay attention to.
- kuschku 12y agoIt’s about consistence. Name of the Country in it’s own language, abbreviated to 2 letters. Results in EL for Greece, UK for the United Kingdom, etc. GB is an island and has nothing to do with the UK, it’s as if you’d call Japan now Hokkaido, it makes no sense.
- AhtiK 12y agoYet, if you look at, let's say https://freegeoip.net/json/linweb.codehoop.com https://freegeoip.net/json/linweb.codehoop.com then there's "country_code":"GB","country_name":"United Kingdom" :) Which is correct, "GB" is ISO 3166 Alpha-2 country code for United Kingdom.
- michaelt 12y agoWell, GB is consistent if the rule you're following is "Use the ISO country code" as "GB" is the ISO country code for the UK [1]. [1] http://en.wikipedia.org/wiki/ISO_3166-1 http://en.wikipedia.org/wiki/ISO_3166-1
- syntern 12y agoHungary does not start with "HU" in Hungarian (Magyarország). This logic is certainly flawed. We have standard international abbreviations for a reason, please use them.
- bojanz 12y agoWe've also started creating a dataset as a part of our more broad-reaching PHP library: https://github.com/commerceguys/tax https://github.com/commerceguys/tax