Validation rules
PEPPOL-EN16931-R101
A line document reference may only be used for an invoice line object identifier.
- Rule
PEPPOL-EN16931-R101— 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 line document references.
How to fix it
Remove the line's cac:DocumentReference, or use it only for the line object (BT-128).
PEPPOL-EN16931-R101 auf Deutsch — was bedeutet der Fehler?
Eine Dokumentenreferenz auf Positionsebene darf nur für die Rechnungspositions-Objektkennung verwendet werden.
So beheben Sie den Fehler
Entfernen Sie cac:DocumentReference der Position — oder nutzen Sie sie nur für BT-128.
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.