← All guides · EN 16931 & validation
VAT categories explained: S, Z, E, AE, K, G and O on an e-invoice line
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
Convert an invoice free
Put this guide into practice now: convert one invoice free — validated UBL 2.1 XML plus a Factur-X PDF, with the acceptance checker for your client’s country. See pricing for bulk conversion, country rule packs and monitored clients.
Short answer
The VAT category on an invoice line tells your client's system how the line is taxed: S standard rate, Z zero-rated, E exempt, AE reverse charge, K intra-EU supply, G export, O outside scope. Category and rate must agree — S requires a rate above 0, while Z, E and AE require exactly 0 — and choosing the wrong category is one of the most common reasons structured invoices fail validation.
What is a VAT category?
A VAT category is the coded tax treatment of an invoice line (BT-151 in EN 16931), paired with the VAT rate (BT-152). The validator here accepts S, Z, E, AE, K, G, O, L and M, enforces that S carries a rate above zero and that Z, E and AE carry a rate of exactly zero, and groups the tax breakdown by category and rate.
Why a code, not just a rate?
A rate alone is ambiguous. A line at 0% might be zero-rated, exempt, reverse-charged, an export or outside the scope of VAT — five different tax treatments that a client's system books five different ways, with different reporting and different evidence requirements. The category code removes the ambiguity: it states the treatment, and the rate then states the percentage that treatment applies.
That is why structured invoicing insists on the pair. On a PDF, 'VAT: EUR 0.00' passes silently. In a structured invoice, category AE at 0% tells the buyer to self-account for the tax under reverse charge; category E at 0% says no VAT applies because the supply is exempt; category Z says the supply is taxable at a zero rate. Same zero, three different bookings — and the receiving system acts on the code, not on your intentions.
The categories you will actually use
S is the everyday case: standard-rated supplies at your country's standard rate (or a reduced rate where one applies to the item — the rate is yours to set, the category says it is a normal taxed line). Z covers supplies taxed at 0% under the VAT system. E covers exempt supplies, where no VAT is chargeable by law. AE is reverse charge: the supplier charges no VAT and the buyer accounts for it — the standard treatment for cross-border B2B services inside the EU.
K marks intra-EU supplies of goods to a business customer in another member state. G covers exports outside the EU. O is for supplies outside the scope of VAT altogether. L and M complete the accepted list in this product's validator. Most freelancers and small firms live in S and AE; the rest appear as soon as goods, exports or exempt activities enter the invoice.
The rules that bind category to rate
The validator enforces the agreement mechanically. BR-22 rejects a category outside the accepted list. BR-S-08 fails a standard-rated line whose rate is zero or missing — a very common slip when a template defaults every rate to 0. The zero-family rule fails Z, E or AE lines carrying any rate other than exactly 0: a reverse-charge line at 20% is a contradiction the client's system will not book.
These checks run per line, and the tax breakdown is then built per category-and-rate pair: each pair gets its own taxable amount and tax amount in the invoice's tax total. Mixed invoices — some lines S, one line AE — are perfectly valid and common; what is not valid is a line whose code and rate tell different stories, or two treatments merged into one line to save typing.
Reverse charge (AE): the cross-border workhorse
AE deserves its own warning because it carries an extra rule: across borders, a reverse-charge line requires the buyer's VAT identifier on the invoice. That identifier is the evidence that the buyer is a business who will self-account. Without it, validation fails with the reverse-charge rule — and rightly, because the buyer's system and tax position depend on that number being present and correct.
Cross-border B2B invoices also require the seller's VAT identifier generally. So the AE workflow is: confirm the buyer is a business in another country, collect their VAT identifier before you invoice, mark the lines AE at 0%, and let the validator confirm both identifiers are present. Do that and the most commonly rejected cross-border invoice becomes the most routine one you send.
Choosing categories on mixed invoices
Real invoices mix treatments: a consultancy day at the standard rate, a zero-rated item, expenses recharged under a different treatment. The structured answer is one line per treatment — never blend two categories into a single line with an averaged rate. The tax breakdown then shows each category's taxable base separately, which is what the client's booking and your own VAT return both need.
If you are unsure which category a supply takes, that is a tax question, not a formatting question — the converter validates consistency, it does not choose your tax treatment. Decide the treatment first (with your accountant where it matters), then express it in the line's category and rate. The validator's job is to make sure the invoice faithfully carries the decision, and that the totals follow from it.
How categories flow into totals
Category is not decoration: it drives the arithmetic. For each category-and-rate pair, the engine sums the line extensions into a taxable amount, then computes tax as that amount times the rate — except that E, AE, O and Z lines contribute no tax, by construction. Allowances and charges adjust the document around those subtotals, and the payable amount is the tax-exclusive total plus the tax total, minus prepaid amounts.
This is why a wrong category is worse than a typo. Put an AE line under S and the invoice charges VAT that should not exist; put an S line under E and VAT vanishes that the client expected to reclaim. The invoice still 'adds up' — it just adds up to the wrong tax. Validation catches the code-rate contradictions; choosing the right code in the first place is the supplier's craft, and this guide is the map.
Setting VAT categories: 5 steps
- Decide the tax treatment of each supply first — standard, zero-rated, exempt, reverse charge, intra-EU, export or outside scope.
- Give each treatment its own line; never merge two categories into one line with a blended rate.
- Set the rate to agree with the category: above 0 for S, exactly 0 for Z, E and AE.
- For cross-border AE lines, collect and enter the buyer's VAT identifier, and include your own.
- Convert and read the tax breakdown: one subtotal per category and rate, matching your lines.
Worked example: a mixed invoice done right
A trainer invoices a Dutch client: two training days at EUR 900.00 each (EUR 1,800.00) supplied cross-border B2B, category AE at 0% with the client's VAT identifier recorded, plus EUR 150.00 of printed materials supplied under the same reverse-charge treatment on their own AE line. The tax breakdown shows a single AE subtotal: taxable EUR 1,950.00, tax EUR 0.00, payable EUR 1,950.00.
Contrast the failed version: the same lines coded S at 0% 'because no VAT is charged'. BR-S-08 rejects them instantly — S demands a rate above zero. The amount of VAT was never the question; the category was the invoice's statement of why no VAT appears, and AE is the statement that fits.
Frequently asked questions
What is the difference between Z and E?
Both produce 0% on the line, but Z means the supply is taxable at a zero rate, while E means the supply is exempt from VAT. They book differently in your client's system and your VAT reporting, so the code must match the treatment.
When do I use AE (reverse charge)?
For cross-border B2B supplies where the buyer accounts for the VAT — typically services sold to a business client in another EU country. The buyer's VAT identifier must be on the invoice.
Can one invoice mix categories?
Yes — one line per treatment. The tax breakdown groups taxable amounts by category and rate, so mixed invoices validate and book cleanly.
What happens if category and rate disagree?
Validation fails: S with a rate of 0 fails BR-S-08, and Z, E or AE with a non-zero rate fail the zero-rate rule. Fix the pair so they tell the same story.
Who decides which category applies?
You do — it is a tax treatment decision about your supply. The converter enforces consistency between category, rate and totals; it does not choose treatments.
Keep going
Run the free tool this guide is about: convert an invoice · acceptance checker · pricing · about EInvoice Translator · all guides
Related guides
- EN 16931 business rules explained: what BR codes mean when validation fails
- Reverse charge VAT on e-invoices: category AE, 0%, and the identifier rule
- Invoice totals and the BR-CO rules: how e-invoice arithmetic must reconcile
- Cross-border invoices: when seller and buyer VAT identifiers are required
- How to validate an e-invoice before you send it (and read the errors)