Faktura

CII-SR-462

fatalEN 16931syntax binding ruleCII

Only one DueDateTypeCode shall be present

Why it fails

An element that EN 16931 allows at most once appears more than once: Only one DueDateTypeCode shall be present

How to fix it

Keep the single correct occurrence and delete the rest. If you genuinely have several values, they belong in a repeatable group, not in repeated elements.

What the validator checks

CII — context /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement

count(//ram:ApplicableTradeTax/ram:DueDateTypeCode) = 0 or count(distinct-values(//ram:ApplicableTradeTax/ram:DueDateTypeCode)) = 1

Related rules

Part of CII-SR — CII restrictions.

Validate an invoice against this rule →