Faktura

CII-DT-007

fatalEN 16931syntax binding ruleCII

schemeVersionID should not be present

Why it fails

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

How to fix it

Remove 'schemeVersionID'. 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 /rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID | /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:ID | /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:LineID | /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:SellerAssignedID

not(@schemeVersionID)

Related rules

Part of CII-DT — CII data types.

Validate an invoice against this rule →