PEPPOL-EN16931-R101:Invoice line document reference has wrong type code
Fix: Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (PEPPOL-EN16931-R101). Upload your invoice to fix this automatically.
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 rejected by Peppol access points and never reaches 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 — the invoice must be corrected and re-sent before it can reach the recipient.
Peppol access points reject invoices with incorrect document type codes on line items. The reference cannot be processed correctly without code 130.
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 →
Frequently Asked Questions
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".
Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (PEPPOL-EN16931-R101). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.
Yes, PEPPOL-EN16931-R101 is a critical error that will cause invoice rejection. It must be fixed before submission.
Many instances of PEPPOL-EN16931-R101 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.
Related Content
Last updated: 27 February 2026
Validate your invoice
Drop your XML here to check for PEPPOL-EN16931-R101
Auto-fix PEPPOL-EN16931-R101 in seconds
Upload your invoice and we fix this error automatically. Financial fields are never touched.