HS Code Digits by Country: Why One Product Has 8, 9, or 10 Digits Depending on Where You Ship

Short answer: the first 6 digits are the same everywhere - that is the WCO's international HS. Everything after digit six is added locally by each country or customs union, and that is where the duty rate, the statistics and the regulations live. Six digits locate the product; the national digits decide what you pay and what paperwork you need.

The comparison table

Market System Digits declared Who sets the digits after the 6th Duty base
International HS (WCO) 6 - -
United States HTSUS 10 US (8 tariff line + 2 statistical suffix) FOB
European Union TARIC (CN 8 + 2) 10 EU CIF
United Kingdom UK tariff commodity code 10 UK CIF
Japan Statistical code 9 Japan CIF
China Customs commodity code 10 China CIF
Mexico TIGIE (8 fraccion + 2 NICO) 10 Mexico CIF
Brazil NCM (Mercosur Common Nomenclature) 8 Mercosur CIF
Vietnam AHTN (ASEAN Harmonised Tariff) 8 ASEAN / Vietnam CIF
Indonesia BTKI (built on AHTN) Per current official schedule Indonesia CIF
Kazakhstan etc. TN VED EAEU 10 Eurasian Economic Union CIF

Structures and digit counts change as each country revises its schedule. Use this table to understand the structure; always confirm the live code against the destination's official tariff.

Three things people get wrong

1. Six digits are universal, but not filable. Use the 6-digit level to search, to align with suppliers, and to compare markets. Customs only accepts its own full code, because rates and controls hang off the national tail.

2. Length is not difficulty - attached measures are. - Mexico: digits 7-8 set both the duty and the NOM non-tariff obligations; changing one digit can move you from "no certification" to "certification required." - Vietnam: a single code carries an ordinary rate, an MFN rate, and several FTA preferential rates - the work is deciding which you can actually claim. - Indonesia: beyond duty there is PPN plus PPh 22, and PPh 22 depends on whether the importer holds an API-U licence.

3. FOB vs CIF breaks naive comparisons. The US uses FOB; most of the rest of the world uses CIF. The same 10% produces a bigger absolute payment on a CIF base. Normalise the base before comparing rates across markets.

Go deeper by market

A workflow that scales across markets

  1. Lock the category at the international 6-digit level - the only part that travels.
  2. Complete the national code for the destination - never truncate another country's code or transplant its tail.
  3. Read the measures attached to that line - duty is one layer; NOMs, licences, SNI/LARTAS and anti-dumping are the ones that stop cargo.
  4. Recompute on the destination's base - FOB or CIF changes the money.
  5. Confirm you are on the version in force - schedules update annually or faster; stale codes are the top failure mode.

Where HSBot fits

Every step above is doable by hand, and every step multiplies in cost when you run it across several markets. HSBot takes a plain product description, resolves the international 6-digit HS, and expands the classification -> duty -> regulatory conditions chain - surfacing step 3, the layer most rate lookups omit and the one that actually detains shipments.

For supported markets and the official data version behind them, see Data version & sources in the Help Center (/en/help#data-version).

Related: HS classification: 3 rule traps.


Disclaimer: This guide explains structural differences between national classification systems for planning purposes, not legal or customs-compliance advice. Systems, digit counts, duty bases and rates change; confirm against the destination's official publications or a licensed broker before filing.