UBL-SR-05: Payment terms shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-05]-Payment terms shall occur maximum once
(count(cac:PaymentTerms/cbc:Note) <= 1)UBL-SR-05 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.
What this rule requires
In a UBL Invoice or CreditNote, the rule requires that the document contains at most one cac:PaymentTerms/cbc:Note element. The test counts all cbc:Note elements under cac:PaymentTerms in the document and requires the total to be 1 or less, so an invoice fails when two or more such notes are present.
How to fix
In the UBL Invoice or CreditNote, ensure there is no more than one cac:PaymentTerms/cbc:Note element in total. If more than one exists, remove duplicate notes or consolidate the payment terms text into a single cbc:Note under cac:PaymentTerms.
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-05.
Validate an invoice against these rules · All release changes