UBL-SR-46: Payment means text shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-46]-Payment means text shall occur maximum once
(count(cac:PaymentMeans/cbc:PaymentMeansCode/@name) <=1)UBL-SR-46 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
The rule requires that, across the whole document (Invoice or CreditNote), there is at most one name attribute on a cac:PaymentMeans/cbc:PaymentMeansCode element. The test counts all such name attributes in the document and fails if the count is greater than 1. Zero occurrences are allowed.
How to fix
In the UBL document, check every cac:PaymentMeans and its cbc:PaymentMeansCode. Ensure that no more than one cbc:PaymentMeansCode carries a name attribute. If multiple name attributes exist, remove the extra ones so that at most one remains.
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-46.
Validate an invoice against these rules · All release changes