einvoice / EN 16931 / XRechnung rule reference

PEPPOL-EN16931-R040

Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists.

Der Betrag des Nachlasses bzw. Zuschlags muss gleich Grundbetrag * Prozentsatz/100 sein, wenn Grundbetrag und Prozentsatz angegeben sind.

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

Requires
Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists
Business terms
— (no single business term)
Syntax
Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
Location (UBL-2.1 path)
/ubl:Invoice/cac:AllowanceCharge
Fix
Correct the calculated amount at `/ubl:Invoice/cac:AllowanceCharge` so that Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists.
Fix (Deutsch)
Korrigieren Sie den berechneten Betrag bei `/ubl:Invoice/cac:AllowanceCharge`, sodass gilt: Der Betrag des Nachlasses bzw. Zuschlags muss gleich Grundbetrag * Prozentsatz/100 sein, wenn Grundbetrag und Prozentsatz angegeben sind.
Severity
fatal
Provenance source
xrechnung-ubl
Provenance assert

Allowance/charge amount must equal base amount * percentage/100 if base amount and percentage exists

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 KoSIT XRechnung 2.5.0 (XRechnung 3.0.2) Schematron.

Everything here is free and open source — pick up whatever helps, at your own pace: