einvoice / EN 16931 / XRechnung rule reference

PEPPOL-EN16931-R121

What this rule means and how to fix it

Base quantity MUST be a positive number above zero.

Die Basismenge MUSS eine positive Zahl größer als null sein.

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

Requires
Base quantity MUST be a positive number above zero.
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/cac:Price/cbc:BaseQuantity
Fix
Correct `cac:InvoiceLine/cac:Price/cbc:BaseQuantity` so that Base quantity MUST be a positive number above zero.
Fix (Deutsch)
Korrigieren Sie `cac:InvoiceLine/cac:Price/cbc:BaseQuantity`, sodass gilt: Die Basismenge MUSS eine positive Zahl größer als null sein.
Severity
fatal
Provenance source
xrechnung-ubl
Provenance assert

Base quantity MUST be a positive number above zero.

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.

Where to check the fix: paste the corrected invoice into the browser validator at /einvoice/validate/ — it runs this same engine locally in your browser, with no upload, and stops reporting PEPPOL-EN16931-R121 once the edit lands.

Korrektur prüfen: Laden Sie die geänderte Rechnung in den Browser-Validator unter /einvoice/validate/ — er führt dieselbe Engine lokal im Browser aus, ohne Upload, und meldet PEPPOL-EN16931-R121 nicht mehr, sobald die Korrektur greift.

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