VOC004: HS Code Validation¶
Severity: Warning Category: Vocabulary Validation
Description¶
HS codes must be valid for the product category (textile chapters 50-63).
Rule Details¶
This rule validates Harmonized System (HS) codes in product classifications. For textile products, valid codes must fall within chapters 50-63 of the HS nomenclature.
Example¶
Invalid¶
{
"credentialSubject": {
"product": {
"productCategory": [
{
"code": "9999",
"scheme": "HS"
}
]
}
}
}
Message: Invalid HS code '9999' - not found in textile chapters (50-63)
Valid¶
{
"credentialSubject": {
"product": {
"productCategory": [
{
"code": "6109",
"scheme": "HS",
"name": "T-shirts, singlets and other vests, knitted"
}
]
}
}
}
Textile HS Chapters¶
| Chapter | Description |
|---|---|
| 50 | Silk |
| 51 | Wool and animal hair |
| 52 | Cotton |
| 53 | Vegetable textile fibres |
| 54 | Man-made filaments |
| 55 | Man-made staple fibres |
| 56 | Wadding, felt and nonwovens |
| 57 | Carpets and floor coverings |
| 58 | Special woven fabrics |
| 59 | Impregnated/coated textiles |
| 60 | Knitted or crocheted fabrics |
| 61 | Knitted apparel |
| 62 | Woven apparel |
| 63 | Other textile articles |
How to Fix¶
Use valid HS codes from the appropriate chapter. The first two digits indicate the chapter.
References¶
- WCO Harmonized System
- JSON Path:
$.credentialSubject.product.productCategory[*].code