PEPPOL-EN16931-R101:Invoice line document reference has wrong type code
A document reference on one of your invoice lines uses the wrong type code. Line-level document references in Peppol invoices must use code "130", which means "invoice line object identifier".
Engine Classification
Set DocumentTypeCode to "130" (invoice line object identifier) on all line-level DocumentReferences
Confidence: 95% · Applied automatically in pipeline
What is PEPPOL-EN16931-R101?
PEPPOL-EN16931-R101 is a fatal validation rule defined in the Peppol BIS 3.0 specification. It validates the DocumentTypeCode element under DocumentReference in the UBL invoice XML.
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.
Target path: //cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCode
Why This Error Matters
Invoice will be rejected by PEPPOL validation. Document references must be in correct structural location.
PEPPOL-EN16931-R101 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.
Validator Behavior
- ·Causes invoice rejection
- ·Rejected by PEPPOL Access Points
- ·Error returned: PEPPOL-EN16931-R101
- ·Specification: Peppol BIS 3.0
How to Fix It
Before / After
<Invoice> <!-- Issue: Element Document reference can only be used for Invoice line --> </Invoice>
<Invoice> <!-- Issue resolved per Peppol BIS 3.0 --> </Invoice>
Technical Reference
//cac:InvoiceLine/cac:DocumentReference/cbc:DocumentTypeCodeCommon Causes
- ·Wrong type of document reference used at line level
- ·Contract or order reference placed in wrong location
- ·ERP maps document references to incorrect element
- ·Confusion between line and document level references
- ·Template structure error
Seeing this in production? The API handles PEPPOL-EN16931-R101 automatically. See the fix response →
See Also
Last updated: 27 February 2026
Handle PEPPOL-EN16931-R101 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.