mikejolley / eu-vat-rates-for-digital-goods Goto Github PK
View Code? Open in Web Editor NEWA simple way to grab VAT rates for Digital Goods for all EU Member States in JSON format. Ideal for syncing with WooCommerce ;)
A simple way to grab VAT rates for Digital Goods for all EU Member States in JSON format. Ideal for syncing with WooCommerce ;)
Romania increased its VAT rate to 20% on the 1st of January 2016 as seen here: http://www.vatlive.com/vat-rates/european-vat-rates/eu-vat-rates/
Hi,
Looking at the data format, I guess that you began with the work of https://github.com/modmore/euvatrates.com/blob/master/rates.json .
However, I think both formats are still problematic.
modmore lists all the legal tax rates, but there's no information on which goods have which rate applied. So, you need to know that in Luxembourg, e-books get the 'super reduced rate'.
You've taken a different approach, and listed the e-book rate directly. But this is also problematic, because Luxembourg does not specifically have an "e-book rate": as listed in http://ec.europa.eu/taxation_customs/resources/documents/taxation/vat/how_vat_works/rates/vat_rates_en.pdf, there are groups of rates, and then you need the extra knowledge of what kind of goods attract which rate.
I think it'd be better if the data could include both these pieces of information, so that consumers can have more flexibility and more closely match the legal setup. e.g.
"rates" : {
"LU": {
"country": "Luxembourg",
"standard_rate": 15.00,
"reduced_rate": 12.00,
"reduced_rate_alt": 6.00,
"super_reduced_rate": 3.00,
"parking_rate": 12.00
},
}
"rate-assignments": {
"LU": {
"ebooks": "super_reduced_rate"
}
}
David
Monaco (MC) and Isle of Man (IM) are separate countries, and have their own ISO country codes. The are, correctly, treated by WooCommerce as separate countries. However, Monaco is effectively part of France for VAT purposes (and so has the same VAT rates), and the Isle of Man, by agreement with the UK, has the same VAT rates.
Data needs adding for these two countries - presently, there is none.
Note that WooCommerce core itself makes this mistake at least 3 times. I have filed an issue for that also in the relevant place.
David
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.