UBL-SR-44: An Invoice may only have one unique PaymentID, but the PaymentID may be used for…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-44]-An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans
count(//cbc:PaymentID[not(preceding::cbc:PaymentID/. = .)]) <= 1UBL-SR-44 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 across the entire invoice or credit note there is at most one distinct value in all cbc:PaymentID elements. The test counts the number of cbc:PaymentID values that do not have an earlier cbc:PaymentID with the same value, so repeated identical values are allowed, but two or more different values cause the document to fail validation.
How to fix
Make all cbc:PaymentID elements in the invoice or credit note contain the same value, or remove all but one distinct value. If multiple PaymentMeans are present, they may repeat that same cbc:PaymentID value.
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-44.
Validate an invoice against these rules · All release changes