UBL-SR-55: An Invoice shall contain maximum one Payment Mandate (BG-19)
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-55]-An Invoice shall contain maximum one Payment Mandate (BG-19).
count(cac:PaymentMeans/cac:PaymentMandate) <= 1UBL-SR-55 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BG-19.
What this rule requires
In a UBL Invoice or Credit Note, the rule checks the number of cac:PaymentMandate elements within cac:PaymentMeans. The test count(cac:PaymentMeans/cac:PaymentMandate) <= 1 requires that there be no more than one such element. A document fails when it contains two or more cac:PaymentMandate elements under cac:PaymentMeans. This is a fatal rule, so a document that does not satisfy it is rejected.
How to fix
Remove all but one cac:PaymentMandate element under cac:PaymentMeans, or change the generating system to emit at most one cac:PaymentMandate per cac:PaymentMeans. If multiple payment mandates are needed, this rule does not allow them within the same cac:PaymentMeans structure.
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-55.
Validate an invoice against these rules · All release changes