HS code vs HTS code vs CN code vs Schedule B: how many digits by country
An HS code is the 6-digit international code from the WCO's Harmonized System; every national code starts with it. An HTS code is the US import code from the Harmonized Tariff Schedule of the United States: 8 legal digits plus a 2-digit statistical suffix. Schedule B is the 10-digit US export code published by the Census Bureau. A CN code is the EU's 8-digit Combined Nomenclature code, extended to 10 digits in TARIC, and the UK uses 8 digits for exports and 10 for imports. The first six digits match everywhere; the rest is national and must come from the tariff of the country concerned.
| Code | Who publishes it | Used for | Digits | First 6 digits |
|---|---|---|---|---|
| HS code | World Customs Organization | International base, invoices, origin rules | 6 | The HS itself |
| HTS / HTSUS | US International Trade Commission | US imports | 8 legal + 2 statistical = 10 | Same as HS |
| Schedule B | US Census Bureau | US exports (EEI filing) | 10 | Same as HS |
| CN code | European Commission (Regulation (EEC) No 2658/87) | EU tariff and trade statistics | 8 | Same as HS |
| TARIC code | European Commission | EU import declarations and measures | 10 | Same as HS |
| UK commodity code | UK government, via the Trade Tariff service | UK exports (8) and imports (10) | 8 or 10 | Same as HS |
| Canada | Canada Border Services Agency | Imports: tariff item 8, classification number 10 | 8 or 10 | Same as HS |
| Australia | Australian Border Force | Imports: tariff classification 8 + statistical code 2 | 8 + 2 | Same as HS |
| As of | Official tariffs checked November 2026 |
One product, six national codes
Roasted coffee beans, not decaffeinated, show the pattern. The HS subheading is 0901.21 (090121) everywhere. What happens after the sixth digit differs by country:
| System | Code shown on the official tariff | What the extra digits mean |
|---|---|---|
| HS 2022 | 0901.21 | -- Not decaffeinated, under - Coffee roasted |
| US HTSUS (import) | 0901.21.00, with eight statistical lines such as 0901.21.00.20 | Suffixes split retail containers of 2 kg or less (Arabica, one other named species, and other coffee) from other packings, and certified organic from other |
| US Schedule B (export) | 0901.21.0010 and 0901.21.0050 | Certified organic, and other |
| EU CN | 0901 21 00 | No CN split; 00 fills digits 7 and 8 |
| Canada | 0901.21.00 with statistical suffixes 10 and 20 | Certified organic, and not certified organic |
| Australia | 0901.21.00 with statistical code 03 | A single statistical code for the line |
Two lessons come out of that table. First, the US import and export codes for the same coffee are different 10-digit numbers, because the HTSUS and Schedule B are separate schedules built for different statistics. Second, zeros in positions 7 and 8 usually mean the country has not subdivided the HS subheading; they are not a different product.
For how the six HS digits themselves are built, see our guide to reading HS Sections, Chapters, headings and dashes, and for the system as a whole, what an HS code is.
The HS code: the shared six digits
The Harmonized System is maintained by the WCO. Its legal text, as the WCO introduction puts it, is the GRIs, the Section, Chapter and Subheading Notes and the heading and subheading texts. It stops at six digits. When a supplier writes "HS code 090121" on an invoice, that is useful information, but it is not enough to file a US entry or an EU import declaration.
HTS code: the US import code
The HTSUS is published by the US International Trade Commission at hts.usitc.gov. The General Statistical Notes in the HTSUS explain the split:
- The statistical annotations consist of the 2-digit statistical suffixes and their descriptions, the units of quantity, and the statistical notes and annexes.
- The legal text is the rest, which includes the 8-digit subheadings and their rates of duty.
- The statistical reporting number is normally the 10-digit number formed by combining the 8-digit subheading with the statistical suffix. The Notes give the example of live monkeys under 0106.00.50, reported as 0106.00.5010.
Duty is set at 8 digits. The 10-digit number is required on the entry for statistics. Our companion article on the HTSUS structure covers the General Notes, Additional U.S. Notes and Chapters 98 and 99.
Schedule B: the US export code
Schedule B is the Census Bureau's export classification. The 2026 Schedule B book says its codes should be used after July 1, 2026, and the Census Bureau's introduction states that the first six digits of commodity numbers in Chapters 1 through 97 of the HTS and Schedule B are identical.
The Foreign Trade Regulations decide which number to report. Under 15 CFR 30.6(a)(12), the exporter reports the 10-digit Schedule B number in the Electronic Export Information (EEI), but the 10-digit HTSUS number may be reported instead, except as noted in the HTSUS headnotes. Decimals are omitted when reporting. The rule does not run the other way: the Census Bureau's Schedule B introduction states that Schedule B numbers may not be reported on import entries.
CN code and TARIC code: the EU
The EU's Combined Nomenclature is set by Council Regulation (EEC) No 2658/87. Each CN subheading has an 8-digit code: the first six are the HS and digits 7 and 8 are EU subdivisions. A new complete version is adopted each year, published by 31 October and applied from 1 January; the 2027 version is Commission Implementing Regulation (EU) 2026/2163, published in the Official Journal on 30 October 2026.
TARIC, the EU's integrated tariff database, extends CN codes to 10 digits where an EU measure (anti-dumping duty, tariff quota, suspension) needs a finer split. The Commission's TARIC documentation describes the goods code as a structured 10-digit code whose first six digits are the HS and whose 8-digit CN codes can be broken down into 10-digit TARIC codes. EU import declarations normally carry the 10-digit code; separate 4-character additional codes are declared alongside where a measure needs them.
UK commodity code
Since leaving the EU, the UK has run its own tariff, with a code layout that still mirrors the EU's: GOV.UK still calls digits 1 to 8 the "combined nomenclature code". GOV.UK guidance on the Customs Declaration Service explains that the first 8 digits of the commodity code (data element 6/14) are used for imports and exports, and digits 9 and 10 (data element 6/15) add detail on import declarations only. That is why UK guides talk about an "8-digit export code" and a "10-digit import code" for the same goods. HMRC's trade statistics site lists roasted coffee (excluding decaffeinated) under 0901 21 00.
Canada and Australia in brief
Canada's Customs Tariff uses 8-digit tariff items, where duty rates sit, and 10-digit classification numbers that add a statistical suffix (CBSA Memorandum D10-13-1). Australia's Working Tariff shows an 8-digit tariff classification with a separate 2-digit statistical code; for roasted coffee that is 0901.21.00 with statistical code 03.
HSN code
"HSN code" is the name commonly used in India for codes based on the Harmonized System. India's import tariff lines are 8-digit items in the First Schedule to the Customs Tariff Act, 1975. The first six digits are the HS; the last two are Indian.
Which code do I need? A decision table
| If you are... | Use | Where to look |
|---|---|---|
| Quoting a code to a foreign buyer or on an invoice | 6-digit HS code, plus the buyer's national code if they ask | HS nomenclature |
| Filing a US import entry | 10-digit HTSUS statistical reporting number | hts.usitc.gov |
| Filing US export EEI | 10-digit Schedule B number, or the 10-digit HTSUS number where allowed | census.gov Schedule B, 15 CFR 30.6 |
| Declaring an EU import | 10-digit TARIC code (8-digit CN plus TARIC digits) | EU TARIC |
| Declaring an EU export | 8-digit CN code | EU CN regulation, TARIC |
| Declaring a UK import | 10-digit commodity code | UK Trade Tariff |
| Declaring a UK export | 8-digit commodity code | UK Trade Tariff |
| Importing into Canada | 10-digit classification number (8-digit tariff item plus suffix) | CBSA Customs Tariff |
| Importing into Australia | 8-digit tariff classification plus 2-digit statistical code | ABF Working Tariff |
Worked example: one SKU, three declarations
A US company sells hypothetical 1 kg retail bags of roasted Arabica beans, not certified organic, not decaffeinated.
- HS: 0901.21, the same for every market.
- US export filing: Schedule B 0901.21.0050 ("Other", meaning not certified organic), reported in EEI as 0901210050. The HTSUS number could be used instead under 15 CFR 30.6.
- EU import by the customer in the Netherlands: CN 0901 21 00, extended to 10 digits as TARIC shows on the date of import.
- If the same product were imported into the US: HTSUS 0901.21.00, statistical suffix 20 (retail containers of 2 kg or less, Arabica, other), reported as 0901.21.0020.
The six-digit decision is made once. The national digits are looked up, not guessed, on each official tariff.
Common mistakes
- Using the HTS code for an EU or UK declaration. Digits 7 to 10 are national and will not match.
- Putting a Schedule B number on a US import entry. The Census Bureau says this is not allowed.
- Padding a 6-digit code with zeros. 0901210000 is only correct if the national tariff actually shows that line.
- Assuming the same 10 digits from year to year. National codes change every year (the EU CN annually, the HTSUS several times a year), and the HS itself changes at each new edition.
If you maintain a product master with codes for several markets, TariffWolf's multi-SKU classification engine gives a suggested 6-digit base with reasoning for each item, which you then extend and confirm on each national tariff.
Questions people also ask
What is the difference between an HS code and an HTS code?
An HS code is the 6-digit international code set by the World Customs Organization. An HTS code is the US import code from the Harmonized Tariff Schedule of the United States, with 8 legal digits and a 2-digit statistical suffix. The first six digits of an HTS code are the HS code.
Is Schedule B the same as the HTS code?
No. Both start with the same six HS digits, but Schedule B is the Census Bureau's 10-digit export schedule and the HTSUS is the import tariff. US exporters may usually report the 10-digit HTSUS number instead of Schedule B under 15 CFR 30.6, but Schedule B numbers may not be used on import entries.
How many digits is a CN code?
A Combined Nomenclature code has 8 digits: the 6-digit HS subheading plus two EU digits. The EU's TARIC database extends it to a 10-digit code, which is what import declarations use.
Is a UK commodity code 8 or 10 digits?
Both. UK export declarations use the first 8 digits, and import declarations use the full 10 digits, with digits 9 and 10 adding import detail. The codes are published on the UK Trade Tariff.
What is an HSN code?
HSN code is the term commonly used in India for codes based on the Harmonized System. India's import tariff uses 8-digit tariff items in the First Schedule to the Customs Tariff Act, 1975, of which the first six digits are the HS.
Do the first six digits always match between countries?
They should, as long as both countries apply the same HS edition. Countries that are late adopting a new HS edition, or that use an older edition in a trade agreement's rules of origin, can show different six-digit codes for the same goods.
Sources
- HS 2022 Nomenclature (WCO): Chapter 9, heading 09.01
- HTSUS General Notes and General Statistical Notes (USITC)
- HTSUS Chapter 9 (USITC)
- Schedule B 2026, Chapter 9 (US Census Bureau) and Schedule B 2026 introduction
- 15 CFR 30.6, Electronic Export Information data elements (eCFR)
- Council Regulation (EEC) No 2658/87 (EUR-Lex)
- Commission Implementing Regulation (EU) 2026/2163, CN 2027 (EUR-Lex)
- TARIC database extraction explanations (European Commission, CIRCABC)
- GOV.UK: commodity codes in the Customs Declaration Service
- HMRC uktradeinfo: commodity 090121
- CBSA Customs Tariff 2026, Chapter 9
- ABF Working Tariff, Chapter 9
Last reviewed: 2026-11-04. Classification is based on the HS 2022 nomenclature and the sources listed. This article is general information, not legal advice or a binding ruling. The correct code depends on the full facts of the product (materials, function, how it is presented), and the importer is responsible for the classification declared. For certainty on a specific product, get a binding ruling from the customs authority or advice from a licensed customs broker.