PEPPOL-EN16931-R101fatal

How to fix PEPPOL-EN16931-R101

Element Document reference can only be used for Invoice line object.

What this rule checks

At the line level, cac:DocumentReference is only permitted for referencing an invoiced object (BT-128). Other document reference types must be placed at the document level, not on individual lines.

How to fix it

Ensure cac:DocumentReference within invoice lines uses cbc:DocumentTypeCode = '130'. Move any other document references to the document level.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes PEPPOL-EN16931-R101 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.