Validation rules
PEPPOL-EN16931-R130
The unit code of an item price base quantity must equal the invoiced quantity's unit code.
- Rule
PEPPOL-EN16931-R130— official EN 16931 / XRechnung rule- Severity
- error
- Detected by
- tier 3 — KoSIT validator (authoritative)
- Reachability
- Not expressible through the normbill invoice model — documented for completeness
The normbill invoice model has no price base quantity (BT-149).
How to fix it
Align the base quantity's unitCode with the invoiced quantity's.
PEPPOL-EN16931-R130 auf Deutsch — was bedeutet der Fehler?
Der Einheitencode der Preis-Basismenge muss dem Einheitencode der abgerechneten Menge entsprechen.
So beheben Sie den Fehler
Gleichen Sie den unitCode der Basismenge an die abgerechnete Menge an.
Official sources
- XRechnung specification (KoSIT / xeinkauf.de)
- KoSIT validator on GitHub and the XRechnung validator configuration
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.