EU VAT-Compliant Prices Calculation API

Use VatZen API to compute correct prices depending on the customer's location and adjusted to the product's category, to apply special reduced VAT rates. Automatically geolocate your customer by IP to calculate the correct price.

Always show the same price you want to charge your customer. Generate your price from backend and then display it in details on frontend, using shared id assigned.

Prices API Response for
100EUR in Germany
{
  "success": true,
  "amount": {
    "total_incl_vat": 12000,
    "total_excl_vat": 10000,
    "vat_amount": 2000
  },
  "category": null,
  "vat_rate": 20,
  "country": {
    "code": "DE",
    "name": "Germany",
    "local_name": "Deutschland",
    "member_state": true
  },
  "requested": {
    "amount": 10000,
    "vat_included": false
  }
}

Always charge the correct price

EU VAT Prices Calculation

When selling goods online for customers in EU, you have to apply the proper VAT rate, depending on the customer's country as well as on the good's category, to apply reduced rates.

VatZen allows you to detect customer's location and automatically apply correct VAT rate and calculate precice price.

API Requests samples

  // Calculate VAT-inclusive price for ebook sale
  // for the customer in Germany
  await fetch('https://api.vatzen.com/api/price
    ? api_key=YOUR_API_KEY
    & amount = 10000
    & vat_included = false
    & category = ebook
    & country_code = DE
  ');

API Requests samples

  // Calculate price and obtain id from your backend
  const priceId = await fetch('https://api.vatzen.com/api/prices
    ? api_key=YOUR_API_KEY
    & amount = 10000 & country_code = DE
  ');

  // GEt the price on frontend using
  // public key and show it to the customer
  const priceObject = await fetch(
    `https://api.vatzen.com/api/prices/${priceId}
      ? public_key=YOUR_PUBLIC_KEY`);

Store and share your prices

Save prices in our DB and retrieve to display them

It's a common scenario, when you want to calculate the price from your backend, and then display it to your user on the frontend. This way, you can always be sure that you show the same values for your users all the time.

You can easily do it with VatZen's hot prices endpoints. Once you generate the price, we will assign the uniq id to it and return this id as the result of the API query.

Help is always there

World-Class Tech Support

Our technical support team is great at giving you exactly the information that you need, when you need it. All our Pro plans includes access to priority support to assist you in integration and usage of our APIs.

We provide different support channels, from email and live-chat to video calls and programming assistance. With our pro plan you can be sure that integration will go smoothly and you can always turn to us for help.

Easy to integrate

Programming languages Libraries

In order to make VatZen integration as simple as possible we've built libraries for most popular programming languages, so you won't need to deal with API requests, but with our simple interfaces.

Use VatZen libraries for NodeJS, Ruby or Python and build VAT complaint business in minutes! And please, let us know if we are missing some language. Maybe PHP?

You have questions, we have answers

Frequently Asked Questions

What is VatZen?

VatZen offers different services for VAT compliance, such as instant EU VAT number validation, VAT compliant price calculations and VAT rates for all 28 current member states of the European Union. Our system is secure and built for large scale to be ready to support any business' needs.

Why do I need VatZen?

Since January 1st, 2015, EU laws require you to charge VAT on private customers irrespective of where your business is located, inside or outside the EU. The VAT amount depends on the customer’s location. Business customers with a valid VAT number are exempt from being surcharged. Our API helps you in different ways: you can get the official EU VAT rates, perform VAT number checks, generate VAT compliant invoices and more.

What are digital products?

As we mentioned above, you are required to add VAT to the price of the digital good, so what does the digital good mean? The European Commission calls them electronically supplied services and defines them as “services which are delivered over the Internet or an electronic network and the nature of which renders their supply essentially automated and involving minimal human intervention, and impossible to ensure in the absence of information technology.”

Let us give you a few examples of digital products:

  • E-books, when you purchase if online, for example via Amazon of subscription service such a Scribd.
  • Media, such as movies, music and publications that are delivered as digital files or streaming services..
  • Cloud-based software, All these falls into the category: Software-as-a-Service (SaaS), Platform-as-a-Service (PaaS), and Infrastructure-as-a-Service (IaaS).
  • Downloadable and streaming music, when you purchase downloadable MP3 or use a service like Spotify.
  • Websites, site hosting services, and internet service providers.

Should I charge VAT on my digital products?

VAT amount depends on where your customer is located. Any business that sell to European consumers must apply, collect, and submit VAT against all customer invoices. A VAT-registered business is exempt under a reverse-charge scheme, but you are responsible for validating their VAT number. You can use VatZen to geolocate your customer and get the proper VAT Rate and the validate business VAT number if provided by your customer.

Is it required to issue an invoice?

Yes, EU regulations state that you are required to issue an invoice either electronically or on paper everytime you sell goods, render services, or receive payment on account. Using VatZen, you can generate VAT-complient invoices using our API.

Is it required to check a customer’s VAT number?

Yes, it is required when you sell to business in EU. Every quarter, businesses have to submit a recapitulative statement to their tax administration. The customer (i.e. their VAT number) stated in your recapitulative statement must be correct.

Using VatZen you can check whether the VAT number provided by your customer is registered in the relevant national database. The valid VAT number of your customer should be mentioned on your invoice.

Where does the API's VAT data come from?

Here at VatZen, we aim to provide the highest possible level of data accuracy and response speed possible. We're requesting data from official EU services and trying different mechanisms in order to get the result as fast as possible.