fatalEN 16931syntax binding ruleCII
TypeCode must exist exactly once
'TypeCode' must appear exactly once, and it is either missing or repeated.
Make sure there is one and only one 'TypeCode'. If you have several values, they belong in a repeatable group, not in repeated elements; if it is absent, it is mandatory in this profile.
CII — context /rsm:CrossIndustryInvoice/rsm:ExchangedDocument
count(ram:TypeCode) = 1