InvoiceValidator.eu

UBL-SR-54

fatalEN 16931syntax binding ruleUBLBG-18

An Invoice shall contain maximum one Payment Card account (BG-18).

Why it fails

More than one payment card group (BG-18).

How to fix it

Keep a single card account. An invoice states one way to pay.

What the validator checks

UBL — context /ubl:Invoice | /cn:CreditNote

count(cac:PaymentMeans/cac:CardAccount) <= 1

Related rules

Part of UBL-SR — UBL cardinality.

Check your own invoice against UBL-SR-54

…or paste the XML instead

Nothing is stored, and the whole invoice is checked, not just this rule. A PDF only works if it is Factur-X / ZUGFeRD — a PDF with the invoice XML inside it.