einvoice / EN 16931 / XRechnung rule reference

PEPPOL-EN16931-R120

Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount.

Der Nettobetrag der Rechnungsposition MUSS gleich (In Rechnung gestellte Menge * (Nettopreis des Artikels/Basismenge des Preises) + Summe der Zuschläge auf Positionsebene - Summe der Nachlässe auf Positionsebene) sein.

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

Requires
Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount
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)
cac:InvoiceLine/cbc:LineExtensionAmount
Fix
Correct the calculated amount at `cac:InvoiceLine/cbc:LineExtensionAmount` so that Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount.
Fix (Deutsch)
Korrigieren Sie den berechneten Betrag bei `cac:InvoiceLine/cbc:LineExtensionAmount`, sodass gilt: Der Nettobetrag der Rechnungsposition MUSS gleich (In Rechnung gestellte Menge * (Nettopreis des Artikels/Basismenge des Preises) + Summe der Zuschläge auf Positionsebene - Summe der Nachlässe auf Positionsebene) sein.
Severity
warning
Provenance source
xrechnung-ubl
Provenance assert

Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount

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: