A simple REST API for calculating VAT in the EU.
curl https://vatmossapi.com/v1/VAT \ -d key=3809rda43yfgx8os0benfhdb \ -d seller_country=DE \ -d buyer_country=DE \ -d buyer_zip=1090
EU businesses selling digital services have to charge consumers local VAT. For example: Say your company is German but your customer lives in Sweden. Then you need to charge the Swedish rate (25%), not the German one (19%). You owe the collected tax to Sweden.
MOSS stands for "Mini One Stop Shop". Instead of requiring you to file a tax report in Sweden, MOSS lets you declare and pay the tax in your home country. The service automatically distributes the proceeds to the various EU member states.
Tax rules are complex and change continuously in the EU. For instance, did you know that the rate for Austria is 20%, but if your customer is in Jungholz then it is 19%?
Using an API has the advantage that you are always applying the correct rate. To achieve this, this web site updates itself every day with data from the most widely used GitHub project on the subject.
(Last update check: Jan 23, 2018. Library version 2.2.)
At the moment, yes. But this may change in the future. To be notified in advance, please leave us your email: