UBL-SR-54: An Invoice shall contain maximum one Payment Card account (BG-18)
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-54]-An Invoice shall contain maximum one Payment Card account (BG-18).
count(cac:PaymentMeans/cac:CardAccount) <= 1UBL-SR-54 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-18.
What this rule requires
The rule requires that an invoice or credit note contain at most one payment card account. In UBL, this means the count of cac:CardAccount elements inside cac:PaymentMeans must be less than or equal to 1. A document fails when it has two or more cac:CardAccount elements under cac:PaymentMeans, because the rule is fatal.
How to fix
In the UBL invoice or credit note, reduce the number of cac:PaymentMeans/cac:CardAccount elements to one or zero. Remove all but one cac:CardAccount element, or delete the extra card account entries, 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-54.
Validate an invoice against these rules · All release changes