einvoice / EN 16931 / XRechnung rule reference
BR-O-13
An Invoice with a 'Not subject to VAT' (O) VAT breakdown (BG-23) shall NOT contain a Document level allowance (BG-20) whose VAT category code (BT-95) is not 'Not subject to VAT'.
Enthält eine Rechnung eine UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) mit einem Code der Umsatzsteuerkategorie (BT-118) „nicht umsatzsteuerbar“, so darf sie keine NACHLÄSSE AUF DOKUMENTENEBENE (BG-20) enthalten, bei denen der Code der Umsatzsteuerkategorie des Nachlasses auf Dokumentenebene (BT-95) nicht „nicht umsatzsteuerbar“ lautet.
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT".
- Business terms
BG-20BG-23BT-95BT-118- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
- Location (UBL-2.1 path)
cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory- Fix
- Adjust the VAT breakdown at `cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory` so that An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT".
- Fix (Deutsch)
- Ergänzen Sie das erforderliche Element bei `cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory`: Enthält eine Rechnung eine UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) mit einem Code der Umsatzsteuerkategorie (BT-118) „nicht umsatzsteuerbar“, so darf sie keine NACHLÄSSE AUF DOKUMENTENEBENE (BG-20) enthalten, bei denen der Code der Umsatzsteuerkategorie des Nachlasses auf Dokumentenebene (BT-95) nicht „nicht umsatzsteuerbar“ lautet.
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT".
The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official CEN EN 16931 1.3.16 Schematron.
Everything here is free and open source — pick up whatever helps, at your own pace:
- Licensing — Apache-2.0 for everyone, including closed-source embedding; an optional $29 / $290 commercial license adds support and rule-corpus update notices.
- German remediation (
--lang de) — the German fix for this rule is in the section above; the CLI surfaces it in place of the English message with--lang de. - Quickstart / free on-ramp — the README, a copy-paste CI-gate recipe, and a 5-minute worked walkthrough.