HS Codes Explained: How to Classify Your Goods (Without Getting Audited)
HS codes decide how much duty you pay and whether your shipment is even allowed in. A practical primer on reading, picking, and defending the code you put on your invoice.
HS codes — Harmonized System codes — are the numbers customs authorities worldwide use to decide how much duty you owe and whether your goods are even allowed in. They look innocent: just six to ten digits on a commercial invoice. They aren’t. Picking the wrong one is the single most expensive mistake in cross-border trade, and getting audited over it is the most expensive mistake in compliance. Here’s the practical version of what you need to know.
The structure: 6 digits of agreement, the rest is local
The World Customs Organization publishes the Harmonized System. Its fundamental unit is the 6-digit subheading, and every WCO member country agrees to use it identically. After that, each country extends the code for its own tariff schedule:
- US — HTS (Harmonized Tariff Schedule) extends to 10 digits.
- EU — Combined Nomenclature extends to 8 digits; TARIC adds two more for measures.
- UK — UK Global Tariff, 10 digits since 2021.
- China — 10 digits.
- Japan — 9 digits.
A T-shirt made of cotton is 6109.10everywhere in the world at the 6-digit level. Whether it’s 6109.10.0060 in the US or 6109.10.00 in Canada depends on national extensions.
How the code is organised
Every HS code decomposes into three layers:
- Chapter (first 2 digits) — the broad category. Chapter 84 is machinery. Chapter 61 is knitted apparel. Chapter 87 is vehicles.
- Heading (first 4 digits) — a more specific group within the chapter.
8471is automatic data-processing machines.6109is T-shirts / singlets / similar knitted. - Subheading (first 6 digits) — the most specific globally-standard level.
8471.30is portable ADP machines (laptops).6109.10is cotton T-shirts.
How to find the right code
Four things to check, in this order:
- What is it, in plain language?“Wireless earbuds with microphone” not “consumer electronics”.
- What is it made of? Material matters more than you think. Cotton vs. polyester changes the 6-digit code. Leather vs. synthetic bag changes the chapter entirely.
- What is its function? A battery for a phone is
8507.60(lithium-ion). A battery pack sold as a power bank with a USB port is an entirely different code. - Cross-check the destination’s tariff schedule. Confirm the extension digits for the country you’re shipping to. The US-ITC search, Eur-Lex TARIC, and China Customs databases are all free.
When a product could plausibly fit two codes
This happens more often than you’d expect. The HS has General Rules of Interpretation (GRIs) that resolve ambiguity. The short version:
- GRI 1 — headings and section/chapter notes are decisive; read them first.
- GRI 3(a) — the most specific description beats a more general one.
- GRI 3(b) — for composite goods, classify by the material that gives the product its essential character.
- GRI 3(c) — if still tied, use the heading that appears last numerically.
Real example: a laptop bag made of leather on the outside with a synthetic lining. Essential character = leather, so it goes in chapter 42 (articles of leather), not chapter 39 (plastics).
Why getting it wrong matters
Under-classifying to a lower-duty code lookslike saving money. It’s actually the most common trigger for a customs audit.
- Duty penalties. If an audit reclassifies your shipments to a higher-duty code, you owe the back duty — often 3 to 5 years retroactive — plus penalties.
- Lost preferences. FTA benefits require correct origin and correct classification. Misclassify and the preference is disallowed.
- Shipment holds. Customs officers compare the declared code against what they find on physical inspection. Mismatch = hold + re-examination fees.
- Binding rulings work in reverse. Your competitor can request a binding ruling that forces your product class into a higher-duty code.
When to ask a professional
A customs broker or licensed classifier is worth it when:
- The product uses new materials or technologies (the HS lags the market by years).
- You’re shipping at high volume — the cost of a misclassification compounds.
- You’re claiming preferential origin under an FTA.
- The product sits on the boundary between two chapters (textiles vs. apparel, machinery vs. parts).
For a one-off shipment of something standard, the classification search in our wizard — which covers all 97 HS chapters and the most common 6-digit codes — is usually enough.
What goes on the invoice
Put the code on every line item of the commercial invoice. Use the full local extension (10 digits for the US, 8–10 for the EU) whenever you know it. A 6-digit code is usually acceptable but the broker will have to extend it at entry, which adds time and risk.
Your customs broker thanks you. Your consignee thanks you. And your shipment moves.
Stop re-typing the same fields.
Generate a compliant customs invoice PDF in under a minute, with HS code autocomplete and Incoterms validation baked in.
Create an invoice