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

warning: reported, still valid

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.

Message

[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

Context
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement
Test
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)