Faktura

CII-SR-456

fatalEN 16931syntax binding ruleCII

DefinedTradeContact of BuyerTradeParty shall exist maximum once

Why it fails

'DefinedTradeContact of BuyerTradeParty' appears more than once, and this profile allows it at most once.

How to fix it

Keep the single correct 'DefinedTradeContact of BuyerTradeParty' and delete the rest. Repeating an element that the semantic model treats as singular is usually a serialiser writing every value it has instead of choosing one.

What the validator checks

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

( count(ram:BuyerTradeParty/ram:DefinedTradeContact)  <= 1)

Related rules

Part of CII-SR — CII restrictions.

Validate an invoice against this rule →