UBL-SR-07:Preceding invoice number missing
Fix: This requires user input to resolve. Review the relevant cbc: and cac: elements in your Invoice XML and provide the correct value. (UBL-SR-07). Provide the required value in the free validator.
Your invoice references a previous invoice (via BillingReference) but the actual invoice number is missing. If this invoice replaces or corrects an earlier one, you need to specify which one.
Engine Classification
Business data required · Explicit input workflow · No assumptions made
Required input: Preceding Invoice Number
What is UBL-SR-07?
UBL-SR-07 is a fatal validation rule defined in the Peppol BIS 3.0 specification. It validates the ID element under BillingReference > InvoiceDocumentReference in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: /Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
Why This Error Matters
Invoice will be rejected. A preceding invoice reference without an invoice number is meaningless and violates EN16931 rules.
UBL-SR-07 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Peppol and UBL validators reject invoices that reference a previous invoice without specifying which one. The buyer cannot process a correction or credit note without knowing which original invoice it refers to.
Validator Behavior
- ·Causes invoice rejection
- ·Rejected by PEPPOL Access Points
- ·Error returned: UBL-SR-07
- ·Specification: Peppol BIS 3.0
How to Fix It
Before / After
<Invoice> <!-- Issue: If there is a preceding invoice reference, the preceding inv --> </Invoice>
<Invoice> <!-- Issue resolved per Peppol BIS 3.0 --> </Invoice>
Technical Reference
/Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IDCommon Causes
- ·Preceding invoice reference structure added but number field left empty
- ·Credit note template includes BillingReference but ID not populated
- ·ERP export created reference element without the required identifier
- ·Manual editing removed the invoice number from the reference
- ·Data mapping failed to include the preceding invoice ID
Seeing this in production? The API handles UBL-SR-07 automatically. See the fix response →
Frequently Asked Questions
All amount elements must have currencyID attribute.
This requires user input to resolve. Review the relevant cbc: and cac: elements in your Invoice XML and provide the correct value. (UBL-SR-07). Invoice Navigator detects this error and prompts for the required business data before applying a safe fix.
Yes, UBL-SR-07 is a critical error that will cause invoice rejection. It must be fixed before submission.
Related Errors
Related Content
Last updated: 3 March 2026
Validate your invoice
Drop your XML here to check for UBL-SR-07
Fix UBL-SR-07 with guided input
Upload your invoice and we'll ask for the missing data, then apply a safe, auditable fix.