Faktura

UBL-DT-18

warningEN 16931syntax binding ruleUBL

Name attribute should not be present

Why it fails

'Name attribute' is present, but this profile does not allow it — nothing in the EN 16931 semantic model maps to it.

How to fix it

Remove 'Name attribute'. It is almost always left over from a generic template or a library that emits every field of the underlying schema. Reported as a warning.

What the validator checks

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

count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0

Related rules

Part of UBL-DT — UBL data types.

Validate an invoice against this rule →