einvoice / EN 16931 / XRechnung rule reference

BR-DEC-25

Max 2 decimals for the Invoice line allowance base amount (BT-137). Same line-level allowance context as BR-DEC-24, over ``cbc:BaseAmount`` (UBL) / ``../ram:BasisAmount`` (CII).

Die zulässige Höchstzahl an Nachkommastellen für „Grundbetrag des Nachlasses auf Ebene der Rechnungsposition“ (BT-137) beträgt 2.

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

Requires
The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
Business terms
BT-137
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
Round the value at `//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]` to the allowed number of decimals: The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.
Fix (Deutsch)
Runden Sie den Wert bei `//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]` auf die zulässige Anzahl an Nachkommastellen: Die zulässige Höchstzahl an Nachkommastellen für „Grundbetrag des Nachlasses auf Ebene der Rechnungsposition“ (BT-137) beträgt 2.
Severity
fatal
Provenance source
xrechnung-ubl
Provenance assert

The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2.

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: