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 validator

Avoid 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 docs

Related error codes

All error codes →