Harmonized System (HS) code
ID hs_code
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Code of a goods category in the Harmonized Commodity Description and Coding System of the World Customs Organization (WCO), used for customs tariffs and international trade statistics. A chapter has two digits, a heading four and a subheading six. The WCO writes headings as 01.01 and subheadings as 0101.21; trade databases such as UN Comtrade write the same codes without dots (010121). National tariffs add digits to the six-digit subheading, for example the EU Combined Nomenclature (eu_cn_code) and the US HTS (us_hts_number). The WCO publishes the nomenclature in editions such as HS 2022, and the meaning of a code depends on the edition.
- Categories
- Industry, Shipping and delivery
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- P5471
- Quality
- 85/100 · missing: translation, detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:\d{2}|\d{4}|\d{6}|\d{2}\.\d{2}|\d{4}\.\d{2})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 0101.21 | Subheading as the WCO writes it: horses, pure-bred breeding animals |
| 010121 | The same subheading without the dot, as in UN Comtrade |
| 01.01 | Heading: live horses, asses, mules and hinnies |
| 2203 | Heading: beer made from malt |
| 01 | Chapter: live animals |
| 01012100 invalid | Eight digits: an EU Combined Nomenclature code |
| 0101.2 invalid | Incomplete subheading |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Harmonized_System
- doc: https://www.wcoomd.org/en/topics/nomenclature/overview/what-is-the-harmonized-system.aspx
- doc: https://www.wcoomd.org/-/media/wco/public/global/pdf/topics/nomenclature/instruments-and-tools/hs-nomenclature-2022/2022/0101_2022e.pdf
- other: https://comtradeapi.un.org/files/v1/app/reference/HS.json
- wikidata: https://www.wikidata.org/wiki/Property:P5471
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/hs_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/industry/hs_code.yamlon GitHub