UBL-SR-26: Payment reference shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-26]-Payment reference shall occur maximum once
(count(cbc:PaymentID) <= 1)UBL-SR-26 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 UBL, the cac:PaymentMeans element must contain cbc:PaymentID at most once. The test count(cbc:PaymentID) <= 1 allows zero or one occurrence, so the document fails only if there is more than one cbc:PaymentID within the same cac:PaymentMeans.
How to fix
Ensure that each cac:PaymentMeans has at most one cbc:PaymentID element. If the invoice currently contains multiple cbc:PaymentID elements under the same cac:PaymentMeans, remove the extras or configure the producing system to emit only one payment reference.
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-26.
Validate an invoice against these rules · All release changes