einvoice / EN 16931 / XRechnung rule reference

BR-G-08

The Export outside the EU (G) VAT breakdown taxable amount (BT-116) shall equal the sum of G line nets − G allowances + G charges (exact on UBL; the ±1 band around the round2 bucket sums on CII — see :func:`_breakdown_taxable_sum_mismatch`).

In einer UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23), bei der der Code der Umsatzsteuerkategorie (BT-118) „Ausfuhr außerhalb der EU“ lautet, muss der nach Umsatzsteuerkategorie zu versteuernde Betrag (BT-116) gleich der Summe der Nettobeträge der Rechnungspositionen (BT-131) abzüglich der Summe der Beträge der Nachlässe auf Dokumentenebene (BT-92) zuzüglich der Summe der Beträge der Zuschläge auf Dokumentenebene (BT-99) sein, für die der Code der Umsatzsteuerkategorie (BT-151, BT-95, BT-102) „Ausfuhr außerhalb der EU“ lautet.

Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).

Requires
In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU".
Business terms
BG-23 BT-92 BT-95 BT-99 BT-102 BT-116 BT-118 BT-131 BT-151
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'G'][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) = 'G'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']` so that In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU".
Fix (Deutsch)
Ergänzen Sie das erforderliche Element bei `/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'G'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`: In einer UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23), bei der der Code der Umsatzsteuerkategorie (BT-118) „Ausfuhr außerhalb der EU“ lautet, muss der nach Umsatzsteuerkategorie zu versteuernde Betrag (BT-116) gleich der Summe der Nettobeträge der Rechnungspositionen (BT-131) abzüglich der Summe der Beträge der Nachlässe auf Dokumentenebene (BT-92) zuzüglich der Summe der Beträge der Zuschläge auf Dokumentenebene (BT-99) sein, für die der Code der Umsatzsteuerkategorie (BT-151, BT-95, BT-102) „Ausfuhr außerhalb der EU“ lautet.
Severity
fatal
Provenance source
en16931-ubl
Provenance assert

In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU".

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: