The short answer
| Code | Used by | Digits | Used for |
|---|---|---|---|
| HS code | All 200+ HS countries | 6 | The shared international base |
| HTS / HTSUS code | United States | 10 (8 set the duty) | US imports |
| Schedule B number | United States | 10 | US exports (export statistics) |
| CN code | European Union | 8 | EU imports and exports |
| TARIC code | European Union | 10 | EU imports, with measures such as anti-dumping |
| Commodity code | United Kingdom | 10 for imports, 8 for exports | UK imports and exports |
| Tariff item / classification number | Canada | 8 + 2 statistical | Canadian imports |
| Tariff classification + statistical code | Australia | 8 + 2 statistical | Australian imports |
How the digits are built
Take cotton T-shirts. The international HS code is 6109.10: chapter 61 (knitted clothing), heading 6109 (T-shirts, singlets and vests), subheading .10 (of cotton). Every HS country uses these six digits.
The US then adds two digits for the duty line (6109.10.00) and two statistical digits that separate, for example, men’s from women’s shirts. The EU adds two digits for its CN code and two more for TARIC. The UK uses 10 digits for imports. The first six never change; everything after them is national.
That is why a supplier in China can give you a 10-digit code that does not exist in your own tariff: China’s national digits are not the US, EU or UK digits. Use only the first six digits of a foreign code as a starting point. See the cotton T-shirt page for how one product’s code and duty differ across five markets.
Import codes vs export codes
In the US, imports use the HTS (published by the US International Trade Commission) and exports use Schedule B (published by the Census Bureau). They share the first six digits and are often identical at 10 digits, but not always. US exporters may report either a Schedule B number or the HTS number in their Electronic Export Information filing.
The UK uses 10-digit commodity codes on import declarations and 8-digit codes on exports. The EU uses the 8-digit CN code for exports and the 10-digit TARIC code for imports.
Which code goes on which document
- Commercial invoice: at least the 6-digit HS code; many importers add the full code for the destination country to speed up clearance. See our guide to commercial invoices and shipping documents.
- Import declaration (US entry, UK CDS, EU customs declaration): the full national import code, chosen by you or your customs broker.
- Export declaration: the exporting country’s export code (Schedule B in the US, 8-digit commodity code in the UK).
- Certificate of origin: usually the 6-digit HS code, because the origin rules in trade agreements are written at the HS level.
Why the right code matters
The importer, not the supplier or the courier, is legally responsible for the code. A wrong code can mean paying too much duty for years without noticing, or paying too little and later facing back-duty, interest and penalties. Codes also decide which other government agencies check your goods, such as the FDA for food or the CPSC for children’s products in the US.
Start with the HS code lookup or the AI HS Code Finder to get the international code. Then use our step-by-step method to confirm it.