Skip to main content

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, ZERO and EXEMPT;
  • 31 tax areas: the EU countries, GB, NO, CH and IS;
  • 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 areaSTANDARDREDUCEDREDUCED_2SUPER_REDUCED
ATAustria2013104.9
BEBelgium21126—
BGBulgaria209——
CHSwitzerland8.13.82.6—
CYCyprus19953
CZCzechia2112——
DEGermany197——
DKDenmark25———
EEEstonia24139—
ESSpain21104—
FIFinland25.513.510—
FRFrance20105.52.1
GBUnited Kingdom205——
GRGreece24136—
HRCroatia25135—
HUHungary27185—
IEIreland2313.594.8
ISIceland2411——
ITItaly221054
LTLithuania21125—
LULuxembourg171483
LVLatvia21125—
MTMalta181275
NLNetherlands219——
NONorway251512—
PLPoland2385—
PTPortugal23136—
RORomania2111——
SESweden25126—
SISlovenia229.55—
SKSlovakia23195—

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:

text
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, SE for Sweden, DE for 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:

SKUTax areaVAT classVAT rate
SKU-123SESTANDARD25%
SKU-123DEREDUCED7%

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:

text
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:

GET/article-taxclass/SKU-123/SE

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:

GET/article-taxclass/by-area?tax_area=SE

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, /vatclass and /vatrate endpoints.