UBL-SR-34: Invoice line note shall occur maximum once
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-34]-Invoice line note shall occur maximum once
(count(cbc:Note) <= 1)UBL-SR-34 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 invoice line (cac:InvoiceLine) or credit note line (cac:CreditNoteLine) contains at most one line note (cbc:Note). The test checks count(cbc:Note) <= 1, so a line fails if it has two or more cbc:Note elements. It is a fatal rule, so any such line rejects the document.
How to fix
For every cac:InvoiceLine and cac:CreditNoteLine, ensure the number of cbc:Note child elements is 0 or 1. If a line has multiple cbc:Note elements, remove the extra ones or combine their content into a single cbc:Note.
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-34.
Validate an invoice against these rules · All release changes