einvoice / EN 16931 / XRechnung rule reference
BR-AF-08
For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is 'IGIC', the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) plus document level charge amounts (BT-99) minus document level allowance amounts (BT-92) where the VAT category code is 'IGIC' and the VAT rate equals BT-119.
Für jeden einzelnen Wert des Umsatzsteuersatzes der Umsatzsteuerkategorie (BT-119), bei dem der Code der Umsatzsteuerkategorie (BT-118) „IGIC (Kanarische Inseln)“ lautet, muss der nach Umsatzsteuerkategorie zu versteuernde Betrag (BT-116) in einer UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) gleich der Summe der Nettobeträge der Rechnungspositionen (BT-131) zuzüglich der Summe der Beträge der Zuschläge auf Dokumentenebene (BT-99) abzüglich der Summe der Beträge der Nachlässe auf Dokumentenebene (BT-92) sein, für die der Code der Umsatzsteuerkategorie (BT-151, BT-102, BT-95) „IGIC (Kanarische Inseln)“ lautet und der Umsatzsteuersatz (BT-152, BT-103, BT-96) gleich dem Umsatzsteuersatz der Umsatzsteuerkategorie (BT-119) ist.
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
- Business terms
BG-23BT-92BT-95BT-96BT-99BT-102BT-103BT-116BT-118BT-119BT-131BT-151BT-152- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax
- Location (UBL-2.1 path)
/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']- Fix
- Adjust the VAT breakdown at `/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']` so that For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
- Fix (Deutsch)
- Ergänzen Sie das erforderliche Element bei `/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`: Für jeden einzelnen Wert des Umsatzsteuersatzes der Umsatzsteuerkategorie (BT-119), bei dem der Code der Umsatzsteuerkategorie (BT-118) „IGIC (Kanarische Inseln)“ lautet, muss der nach Umsatzsteuerkategorie zu versteuernde Betrag (BT-116) in einer UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) gleich der Summe der Nettobeträge der Rechnungspositionen (BT-131) zuzüglich der Summe der Beträge der Zuschläge auf Dokumentenebene (BT-99) abzüglich der Summe der Beträge der Nachlässe auf Dokumentenebene (BT-92) sein, für die der Code der Umsatzsteuerkategorie (BT-151, BT-102, BT-95) „IGIC (Kanarische Inseln)“ lautet und der Umsatzsteuersatz (BT-152, BT-103, BT-96) gleich dem Umsatzsteuersatz der Umsatzsteuerkategorie (BT-119) ist.
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119).
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 UBL-2.1 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.