UBL-SR-06: Preceding invoice reference shall occur maximum once
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-06]-Preceding invoice reference shall occur maximum once
(count(cac:InvoiceDocumentReference) <= 1)UBL-SR-06 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule requires that each cac:BillingReference element contains at most one cac:InvoiceDocumentReference child. The test fails when a single cac:BillingReference has more than one cac:InvoiceDocumentReference.
How to fix
Ensure that no cac:BillingReference contains more than one cac:InvoiceDocumentReference. If several preceding invoice references are needed, place each one in its own cac:BillingReference element, or remove duplicate cac:InvoiceDocumentReference entries within the same cac:BillingReference.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to UBL-SR-06.
Validate an invoice against these rules · All release changes