Faktura

UBL-SR-47

fatalEN 16931syntax binding ruleUBL

When there are more than one payment means code, they shall be equal

Why it fails

Several PaymentMeans groups carry different payment means codes.

How to fix it

EN 16931 supports a single payment method per invoice — make every PaymentMeansCode the same, or keep only the group you mean.

What the validator checks

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

count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1

Related rules

Part of UBL-SR — UBL cardinality.

Validate an invoice against this rule →