Rules / IBR-CL-13
Item classification identifier identification scheme must be coded using one of the UNTDID 7143 list
Item classification identifier identification scheme (ibt-158-1) must be coded using one of the UNTDID 7143 list.
Fails
<cbc:ItemClassificationCode listID="XYZ">…</cbc:ItemClassificationCode>
Fix
Use a code from the list for @listID on cac:CommodityClassification/cbc:ItemClassificationCode. Codes are case-sensitive and must not have spaces around them.
Schematron
- Context
cac:CommodityClassification/cbc:ItemClassificationCode[@listID]- Test
((not(contains(normalize-space(@listID), ' ')) and contains(' AA AB AC AD AE AF AG AH (+177 more) ', concat(' ', normalize-space(@listID), ' '))))All 185 codes
AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ CC CG CL CR CV DR DW EC EF EN EMD FS GB GMN GN GS HS IB IN IS IT IZ MA MF MN MP NB ON PD PL PO PPI PV QS RC RN RU RY SA SG SK SN SRS SRT SRU SRV SRW SRX SRY SRZ SS SSA SSB SSC SSD SSE SSF SSG SSH SSI SSJ SSK SSL SSM SSN SSO SSP SSQ SSR SSS SST SSU SSV SSW SSX SSY SSZ ST STA STB STC STD STE STF STG STH STI STJ STK STL STM STN STO STP STQ STR STS STT STU STV STW STX STY STZ SUA SUB SUC SUD SUE SUF SUG SUH SUI SUJ SUK SUL SUM TG TSN TSO TSP TSQ TSR TSS TST TSU UA UP VN VP VS VX ZZZ
Official text: Item classification identifier identification scheme (ibt-158-1) MUST be coded using one of the UNTDID 7143 list.