BR-FREXT-CL-27

INCOTERMS shall be in restricted code list

error: the document is invalid

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.

Context
cac:DeliveryTerms/cbc:ID
Test
((not(contains(normalize-space(.), ' ')) and contains(' 1 2 CFR CIF CIP CPT DAP DDP DPU EXW FAS FCA FOB ', concat(' ', normalize-space(.), ' '))))

Checked with France EXTENDED-CTC-FR (UBL)

Context
ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' 1 2 CFR CIF CIP CPT DAP DDP DPU EXW FAS FCA FOB ', concat(' ', normalize-space(.), ' '))))

Checked with France EXTENDED-CTC-FR (CII)