Validation rules

UBL-SR-54 — UBL rule

More than one payment card account (BG-18) is present — cac:PaymentMeans/cac:CardAccount is allowed at most once.

Rule
UBL-SR-54 — official EN 16931 / XRechnung rule
Severity
error
Detected by
tier 3 — KoSIT validator (authoritative)
Reachability
Only reachable when validating your own XML — normbill-generated documents cannot trigger it

The normbill invoice model has no card payments; generated XML never contains cac:CardAccount.

How to fix it

Keep a single CardAccount in the document.

UBL-SR-54 auf Deutsch — was bedeutet der Fehler?

Der KoSIT-Validator lehnt die Rechnung ab, weil mehrere Zahlungskarten-Informationen (BG-18) vorhanden sind — cac:PaymentMeans/cac:CardAccount ist höchstens einmal erlaubt.

So beheben Sie den Fehler

Behalten Sie genau ein CardAccount im Dokument.

Related rules

  • UBL-SR-53 — A cac:PartyTaxScheme states a TaxScheme/ID but no cbc:CompanyID — the identifier itself (e.g. the VAT…
  • UBL-SR-55 — More than one direct-debit mandate (BG-19) is present — cac:PaymentMeans/cac:PaymentMandate is allowed at…
  • UBL-SR-52 — An invoice line carries more than one cac:DocumentReference — the line-level invoiced-object identifier…
  • UBL-SR-51 — An address carries more than one cac:AddressLine — only one additional address line (line 3) is allowed per…
  • UBL-SR-50 — An item carries more than one description (BT-154) — only one cbc:Description per cac:Item is allowed.
  • UBL-SR-49 — The tax point date code (BT-8) appears more than once — only one cac:InvoicePeriod/cbc:DescriptionCode is…

Official sources

Every 422 from the API lists the rule id, the path in your request JSON, a plain-language message and a suggested fix — see the docs overview for the report format.

Or try it live: drop any XRechnung XML on the free validator — same KoSIT-backed report, no account.

Spotted something?

Bug, missing feature, wrong validation result — tell us. The page you're on is attached automatically; email optional.