einvoice / EN 16931 / XRechnung rule reference

BR-CO-23

Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.

Jeder NACHLASS AUF EBENE DER RECHNUNGSPOSITION (BG-27) muss einen Grund für den Nachlass auf Ebene der Rechnungsposition (BT-139) oder einen Code für den Grund des Nachlasses auf Ebene der Rechnungsposition (BT-140) oder beides enthalten.

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

Requires
Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
Business terms
BG-27 BT-139 BT-140
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
Fix
Add the required element at `//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]`: Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
Fix (Deutsch)
Ergänzen Sie das erforderliche Element bei `//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]`: Jeder NACHLASS AUF EBENE DER RECHNUNGSPOSITION (BG-27) muss einen Grund für den Nachlass auf Ebene der Rechnungsposition (BT-139) oder einen Code für den Grund des Nachlasses auf Ebene der Rechnungsposition (BT-140) oder beides enthalten.
Severity
fatal
Provenance source
en16931-ubl
Provenance assert

Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.

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: