Validation rules

PEPPOL-EN16931-R101

A line document reference may only be used for an invoice line object identifier.

Rule
PEPPOL-EN16931-R101official 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

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.