Skip to content

A Ruby library to provide VAT rates for all EU countries

Notifications You must be signed in to change notification settings

frogggias/vat-rates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VAT Rates

This repository is a collection of all VAT rates for EU countries. It's primary purpose is to render a JSON hash containing all rates which can be consumed by web applications.

This JSON payload is provided free of charge at http://jsonvat.com.

The primary purpose for creating this is because of changes in the VAT rules which require some companies to invoice their customers in the customer's own VAT rate rather than theirs.

The hosting for jsonvat.com is provided by Viaduct

Hosted by Viaduct

If you're a Ruby developer, you may be interested in my JSONVAT.com client library which provides a Ruby interface to this backend.

Important Notes

This information is provided on an as-is basis. The authors or contributors cannot be held responsible for its accuracy or completeness. You use the data provided by jsonvat.com entirely at your own risk.

The API returns the standard & reduced VAT rates for EU countries. In some circumstances, you may need to charge other rates for certain types of product. For a full list, see this document.

Updating VAT Rates

While I will do my best to keep VAT rates up to date, any pull requests with updated information will be gratefully received. To add a new VAT rate, simply add a period section to the appropriate file in the rates directory. For example:

period do
  effective_from 2014, 1, 10
  rate :reduced, 10
  rate :standard, 20s
end

About

A Ruby library to provide VAT rates for all EU countries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%