VAT
VAT is applied after price rules and currency conversion. When a rounding profile applies, it rounds the price including VAT (or excluding VAT), and the VAT is then calculated from the rounded price; see Rounding. Every price a query returns is given both excluding and including VAT for the tax area in the query.
How VAT is applied
VAT is controlled mainly by the pricelist, not the SKU. The SKU provides the VAT class; the pricelist sets how VAT is applied.
VAT modes
Every pricelist has a vat_mode:
NET: the pricelist's prices exclude VAT, and VAT is added.GROSS: the pricelist's prices include VAT, and VAT is deducted to give the price excluding VAT.
VAT rates
The rate is found from the article's VAT class in the query's tax area: it is the rate for that tax area and VAT class in force at the query's as_of. Rates have start dates, so you can schedule a rate change, and changing a rate requires no change to any pricelist.
The VAT baseline
A new tenant includes:
- the VAT classes
STANDARD,REDUCED,REDUCED_2,SUPER_REDUCED,ZEROandEXEMPT; - 31 tax areas: the EU countries,
GB,NO,CHandIS; - each country's national VAT rates in force in October 2026, with 2020-01-01 as their start date.
REDUCED, REDUCED_2 and SUPER_REDUCED hold a country's reduced rates, highest first. If a country has fewer reduced rates, the remaining classes have no rate there: an article with such a class cannot be priced in that tax area, and a query for it fails with 400. ZERO and EXEMPT are 0% everywhere. Regional rates, such as those in Madeira or on the Greek islands, are not included.
| Tax area | STANDARD | REDUCED | REDUCED_2 | SUPER_REDUCED | |
|---|---|---|---|---|---|
AT | Austria | 20 | 13 | 10 | 4.9 |
BE | Belgium | 21 | 12 | 6 | — |
BG | Bulgaria | 20 | 9 | — | — |
CH | Switzerland | 8.1 | 3.8 | 2.6 | — |
CY | Cyprus | 19 | 9 | 5 | 3 |
CZ | Czechia | 21 | 12 | — | — |
DE | Germany | 19 | 7 | — | — |
DK | Denmark | 25 | — | — | — |
EE | Estonia | 24 | 13 | 9 | — |
ES | Spain | 21 | 10 | 4 | — |
FI | Finland | 25.5 | 13.5 | 10 | — |
FR | France | 20 | 10 | 5.5 | 2.1 |
GB | United Kingdom | 20 | 5 | — | — |
GR | Greece | 24 | 13 | 6 | — |
HR | Croatia | 25 | 13 | 5 | — |
HU | Hungary | 27 | 18 | 5 | — |
IE | Ireland | 23 | 13.5 | 9 | 4.8 |
IS | Iceland | 24 | 11 | — | — |
IT | Italy | 22 | 10 | 5 | 4 |
LT | Lithuania | 21 | 12 | 5 | — |
LU | Luxembourg | 17 | 14 | 8 | 3 |
LV | Latvia | 21 | 12 | 5 | — |
MT | Malta | 18 | 12 | 7 | 5 |
NL | Netherlands | 21 | 9 | — | — |
NO | Norway | 25 | 15 | 12 | — |
PL | Poland | 23 | 8 | 5 | — |
PT | Portugal | 23 | 13 | 6 | — |
RO | Romania | 21 | 11 | — | — |
SE | Sweden | 25 | 12 | 6 | — |
SI | Slovenia | 22 | 9.5 | 5 | — |
SK | Slovakia | 23 | 19 | 5 | — |
Rates are in percent. Each country decides which goods take which rate: give each article the class that matches its rate in every tax area you sell in, as described below.
When a country changes a rate, add the new rate with the date it takes effect; the old rate stays in force until then. For example, if Sweden's 12% rate rose to 13% on 1 January 2028:
POST /vatrate
Content-Type: application/json
{
"tax_area_code": "SE",
"vat_class_code": "REDUCED",
"rate": 13.0,
"start_date": "2028-01-01T00:00:00Z"
}
You can add your own tax areas, classes and rates in the same way, through the API or under VAT in the console.
You can deactivate a tax area or VAT class without deleting it: POST /taxarea/{code}/active?value=false, POST /vatclass/{code}/active?value=false. A price query for an inactive tax area is refused with 400, as is a query for an article whose VAT class is inactive. value=true activates it again.
Article VAT classes
An article's VAT class in a tax area determines which VAT rate applies to it there. An article without a class in a tax area is treated as STANDARD, so you only need to assign a class to articles that are not standard-rated.
How it works
Each assignment links three things:
- Article (SKU): the product being priced
- Tax area: the geographical region (for example,
SEfor Sweden,DEfor Germany) - VAT class: the tax category (for example,
STANDARD,REDUCED,ZERO,EXEMPT)
When a price query names a tax_area, Quantaprice looks up the article's VAT class in that tax area, and then the VAT rate for that class in the tax area.
Example
An article SKU-123 sold in Sweden and Germany:
| SKU | Tax area | VAT class | VAT rate |
|---|---|---|---|
| SKU-123 | SE | STANDARD | 25% |
| SKU-123 | DE | REDUCED | 7% |
The same product can have different VAT classes in different tax areas: food, for example, can be standard-rated in one country and reduced-rated in another.
Assigning VAT classes
To assign a VAT class to an article in a tax area:
POST /article-taxclass
Content-Type: application/json
{
"sku_code": "SKU-123",
"tax_area_code": "SE",
"vat_class_code": "STANDARD",
"start_date": "2025-01-01T00:00:00Z"
}
start_date lets you record past and scheduled changes: if a product's VAT classification changes, for example because of new regulations, you can record the new class with a future start date. Without start_date, the class applies from the earliest date, so queries about the past use it too. (A VAT rate without start_date applies from now.)
To get an article's VAT class in a tax area:
In the response, the article is named sku; a write sends it as sku_code. For an article with no class assigned in the tax area, the response is 404: the article is STANDARD there.
To list every assignment in a tax area:
Interaction with other pricing features
Inheritance
Every pricelist sets its own VAT mode; it is not inherited.
Bundles
VAT is calculated per component, with each component's own VAT class, so bundles with mixed VAT classes are taxed correctly.
Scheduled updates
VAT rates and article VAT classes take a start date, so you can schedule changes; see Scheduled updates.
Historical pricing
A query with as_of uses the VAT rates and classes in force at that moment.
Summary
The article's VAT class in the queried tax area determines the VAT rate, and the pricelist's VAT mode determines whether its prices include VAT. VAT is applied after rules and currency conversion, and before rounding.
See also
- Currencies — VAT precision is set per currency.
- Rounding — rounding is applied after VAT.
- Bundles — how VAT is calculated per component for bundles.
- API reference — the full specification of the
/article-taxclass,/taxarea,/vatclassand/vatrateendpoints.