CL-08-OM-HS

[CL-08-OM-HS] - Value of 'cbc:ItemClassificationCode[@listID="HS"]' is not a valid 12-digit Oman HS code (CL-08-OM-HS).

About

ID
CL-08-OM-HS
Flag
fatal
Context
cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode[@listID='HS']
Test
if (string-length($hsCode) = 0) then true() else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '04') then contains($codes01, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '15') then contains($codes02, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '21') then contains($codes03, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '26') then contains($codes04, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '28') then contains($codes05, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '29') then contains($codes06, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '30') then contains($codes07, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '38') then contains($codes08, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '41') then contains($codes09, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '48') then contains($codes10, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '55') then contains($codes11, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '62') then contains($codes12, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '70') then contains($codes13, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '73') then contains($codes14, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '83') then contains($codes15, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '84') then contains($codes16, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '85') then contains($codes17, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '87') then contains($codes18, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '90') then contains($codes19, concat(' ', $hsCode, ' ')) else if (string-length($hsCode) = 12 and substring($hsCode, 1, 2) <= '98') then contains($codes20, concat(' ', $hsCode, ' ')) else false()