PEPPOL-EN16931-R101ErrorPeppol rules (PEPPOL-EN16931)
PEPPOL-EN16931-R101: Line document reference only as object identifier
The invoice is invalid and will be rejected.
What does the error mean?
Inside an invoice line a document reference (cac:DocumentReference) may only be used as an object identifier, i.e. with document type code 130.
How to fix it
Set cbc:DocumentTypeCode to 130, or move attachments and other documents to document level (cac:AdditionalDocumentReference).
Original validator message
[PEPPOL-EN16931-R101] Element Additional referenced document can only be used for Invoice line object.
Checked in: UBL, CII
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docsRelated error codes
- PEPPOL-EN16931-R061: Mandate reference missing for direct debit
- PEPPOL-EN16931-R110: Line period starts outside invoice period
- PEPPOL-EN16931-R055: VAT totals with different signs
- PEPPOL-EN16931-R111: Line period ends outside invoice period
- PEPPOL-EN16931-R054: More than one tax total in VAT currency
- PEPPOL-EN16931-R120: Line amount does not match quantity × price