Peppol BIS Billing 3.0.20 · UBL

UBL-SR-27: Payment means text shall occur maximum once

Peppol BIS Billing 3.0.20 · UBL

fatalschema

Original rule text

[UBL-SR-27]-Payment means text shall occur maximum once

Stored validation assertion
(count(cbc:PaymentMeansCode) <= 1)

UBL-SR-27 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 within each cac:PaymentMeans element, the cbc:PaymentMeansCode element occurs at most once. A document fails when more than one cbc:PaymentMeansCode is present in the same cac:PaymentMeans. Note that the rule message says "Payment means text", but the test counts cbc:PaymentMeansCode.

How to fix

Ensure each cac:PaymentMeans contains no more than one cbc:PaymentMeansCode. Remove any duplicate cbc:PaymentMeansCode elements, keeping only one code per payment means.

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-27.

Validate an invoice against these rules · All release changes