UBL-SR-35: Referenced purchase order line identifier shall occur maximum once
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-35]-Referenced purchase order line identifier shall occur maximum once
(count(cac:OrderLineReference/cbc:LineID) <= 1)UBL-SR-35 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
For each cac:InvoiceLine or cac:CreditNoteLine, the referenced purchase order line identifier element cac:OrderLineReference/cbc:LineID must occur at most once. The test counts all such child elements and fails if the count is greater than 1.
How to fix
Check each cac:InvoiceLine and cac:CreditNoteLine and ensure it contains no more than one cac:OrderLineReference/cbc:LineID. Remove any duplicate cbc:LineID elements under the same line.
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-35.
Validate an invoice against these rules · All release changes