What it means
A credit note or corrected invoice can refer to the invoice it relates to with a preceding invoice reference (BG-3). The rule looks inside each cac:BillingReference and allows one cac:InvoiceDocumentReference there. It does not limit how many earlier invoices you refer to, only how many sit in one block. It applies to invoices and credit notes alike.
Why it matters
Each preceding invoice reference is a group of its own in EN 16931.
How to fix it
If you correct or credit several earlier invoices, add one reference per invoice in your invoicing software instead of packing them into one entry. Check that each earlier invoice is a reference of its own. In the XML, each earlier invoice goes in its own cac:BillingReference, with one cac:InvoiceDocumentReference and its cbc:ID.
Once the file is corrected, check it again for free: Validate an invoice against EN 16931
Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice
The rule as published
Preceding invoice reference shall occur maximum once Where this rule applies
| Rule set | Version |
|---|---|
| EN 16931 (UBL) | 1.3.17 |
| EN 16931 (UBL credit note) | 1.3.17 |
| XRechnung 3.0 (UBL) | 3.0.2 |
| XRechnung 3.0 (UBL credit note) | 3.0.2 |
| Peppol BIS Billing 3.0 (invoice) | 2026.5 |
| Peppol BIS Billing 3.0 (credit note) | 2026.5 |
| SI-UBL 2.0 / NLCIUS (invoice) | 2.0.3.13 |
| SI-UBL 2.0 / NLCIUS (credit note) | 2.0.3.13 |
| France CTC (UBL invoice) | 1.4.0-04 |
| France CTC (UBL credit note) | 1.4.0-04 |
| CIUS-RO UBL Invoice 1.0.9 | 1.0.9 |
| CIUS-RO UBL Credit Note 1.0.9 | 1.0.9 |
Check your file
Drop your e-invoice to see whether UBL-SR-06 still fails, and which other rules do.
Related rules
- UBL-SR-07 A preceding invoice reference needs the invoice number
- UBL-SR-08 An invoice can have only one invoice period
- UBL-SR-09 An invoice can have only one seller name
- UBL-SR-10 An invoice can have only one seller trading name
- UBL-SR-11 An invoice can have only one seller company registration number
- UBL-SR-12 An invoice can have only one seller VAT number