einvoice / EN 16931 / XRechnung rule reference

BR-AG-01

IPSI (M) items and the VAT breakdown (BG-23) must agree.

Enthält eine Rechnung eine Rechnungsposition (BG-25), einen Nachlass auf Dokumentenebene (BG-20) oder einen Zuschlag auf Dokumentenebene (BG-21), bei der bzw. dem der Code der Umsatzsteuerkategorie (BT-151, BT-95 oder BT-102) „IPSI (Ceuta/Melilla)“ lautet, so muss die Rechnung in der UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) mindestens einen Code der Umsatzsteuerkategorie (BT-118) mit dem Wert „IPSI (Ceuta/Melilla)“ enthalten.

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

Requires
An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI".
Business terms
BG-20 BG-21 BG-23 BG-25 BT-95 BT-102 BT-118 BT-151
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[cbc:ID='M']
Fix
Adjust the VAT breakdown at `cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID='M']` so that An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI".
Fix (Deutsch)
Ergänzen Sie das erforderliche Element bei `cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[cbc:ID='M']`: Enthält eine Rechnung eine Rechnungsposition (BG-25), einen Nachlass auf Dokumentenebene (BG-20) oder einen Zuschlag auf Dokumentenebene (BG-21), bei der bzw. dem der Code der Umsatzsteuerkategorie (BT-151, BT-95 oder BT-102) „IPSI (Ceuta/Melilla)“ lautet, so muss die Rechnung in der UMSATZSTEUERAUFSCHLÜSSELUNG (BG-23) mindestens einen Code der Umsatzsteuerkategorie (BT-118) mit dem Wert „IPSI (Ceuta/Melilla)“ enthalten.
Severity
fatal
Provenance source
en16931-ubl
Provenance assert

An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI".

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: