Faktura

CII-DT-016

fatalEN 16931syntax binding ruleCII

StatusCode should not be present

Why it fails

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

How to fix it

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

What the validator checks

CII — context //ram:*[ends-with(name(), 'ReferencedDocument')]

not(ram:StatusCode)

Related rules

Part of CII-DT — CII data types.

Validate an invoice against this rule →