CII-FREXT-SR-106
ApplicableTradeDeliveryTerms should not be present except for ram:DeliveryTypeCode for INCOTERMS line level and location on ram:ApplicableTradeDeliveryTerms/ram:RelevantTradeLocation/cbc:Name
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
[CII-SR-106] ApplicableTradeDeliveryTerms should not be present except for ram:DeliveryTypeCode for INCOTERMS line level and location on ram:ApplicableTradeDeliveryTerms/ram:RelevantTradeLocation/cbc:Name
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement
not(ram:ApplicableTradeDeliveryTerms) or (not(ram:ApplicableTradeDeliveryTerms/*[not(self::ram:DeliveryTypeCode or self::ram:RelevantTradeLocation)]) and not(ram:ApplicableTradeDeliveryTerms/ram:RelevantTradeLocation/*[not(self::ram:Name)]))
Checked with France EXTENDED-CTC-FR (CII)