Faktura

CII-SR-223

warningEN 16931syntax binding ruleCII

LegalClassificationCode should not be present

Why it fails

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

How to fix it

Remove 'LegalClassificationCode'. 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

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

not(ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:LegalClassificationCode)

Related rules

Part of CII-SR — CII restrictions.

Validate an invoice against this rule →