InvoiceValidator.eu

UBL-SR-46

fatalEN 16931syntax binding ruleUBL

Payment means text shall occur maximum once

Why it fails

'Payment means text' appears more than once, and this profile allows it at most once.

How to fix it

Keep the single correct 'Payment means text' and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.

What the validator checks

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

(count(cac:PaymentMeans/cbc:PaymentMeansCode/@name) <=1)

Related rules

Part of UBL-SR — UBL cardinality.

Check your own invoice against UBL-SR-46

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