Validation rules

PEPPOL-EN16931-R120

An invoice line net amount must equal quantity × (price / base quantity) plus line charges minus line allowances.

Rule
PEPPOL-EN16931-R120official EN 16931 / XRechnung rule
Severity
warning
Business term
BT-131 — Line net amount
Field in your JSON
invoice.lines[*]
Detected by
tier 3 — KoSIT validator (authoritative)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

The engine computes every line net exactly this way (calc/totals.ts).

How to fix it

Recompute the line's cbc:LineExtensionAmount from its quantity, price and line allowances/charges.

PEPPOL-EN16931-R120 auf Deutsch — was bedeutet der Fehler?

Der Positionsnettobetrag muss Menge × (Preis / Basismenge) plus Positionszuschläge minus Positionsnachlässe entsprechen.

So beheben Sie den Fehler

Berechnen Sie cbc:LineExtensionAmount aus Menge, Preis und Positionsnachlässen/-zuschlägen neu.

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.