What Is an HS Code in Shipping?
Updated 2026-07-17 · Target term: “what is hs code in shipping”
In shipping, an HS code is the 6-digit Harmonized System number written on your commercial invoice and customs declaration that tells customs authorities exactly what the goods are. Customs uses it to decide the duty rate, apply trade measures, and check whether the product needs a permit. Without a correct HS code a shipment can be delayed, re-assessed, or held. The equivalent term you will hear in the US is the 10-digit HTS code — see HS code vs HTS code.
Why carriers and brokers keep asking for it
The HS code drives four things at the border: the duty and tax owed, eligibility for trade-agreement preference, whether other-government-agency rules (FDA, USDA, etc.) apply, and the trade statistics the destination country records. A freight forwarder or customs broker cannot file an accurate entry without it, which is why it appears on the bill of lading, the commercial invoice, and the customs entry.
Where the HS code sits on your paperwork
- Commercial invoice — one HS code per line item
- Packing list — often mirrored for cross-checking
- Customs entry / declaration — the code that sets the duty
- Certificate of origin — to claim FTA preference at that code
What happens if the code is wrong
An incorrect HS code is still the importer's legal responsibility, even if a broker keyed it in. Under-declaring the rate can trigger back-duties and penalties; over-declaring means you overpay. Because US measures like Section 301 attach to specific codes, a single wrong digit can swing the duty by 25 percentage points. That is the whole reason OpenTariff shows every rate line with its official source and effective date.
How to get the right code for a shipment
Start from the product, not the marketing name. Identify the material, the function, and how it is presented for sale, then match it to a subheading. For common items you can jump straight to a worked page — for example HS code for bluetooth earphones or HS code for a power bank — or describe the item in the classifier. For a whole shipment of mixed SKUs, the batch tool returns a code and stacked US duty for every row.
Commodity code, tariff code, HS code — same thing?
Mostly, yes — the names overlap and cause needless confusion. "Commodity code" and "tariff code" are generic terms for the classification number on a customs declaration. In practice they resolve to the HS code (6 digits) plus that country's national digits: the 10-digit HTS in the US, a 10-digit commodity code in the EU/UK, and so on. If a carrier asks for your "tariff code" or "commodity code", give the fullest code you have for the destination — the 10-digit HTS for the US. The distinction that actually matters is import versus export: see HS code vs HTS code.
How many digits does a shipment really need?
- 6 digits — the global minimum; fine for a rough duty estimate abroad
- 8 digits — where US trade remedies (Section 301/232) attach
- 10 digits — the full US HTS, required on the import entry
If in doubt, give the 10-digit code. A broker can always truncate, but they cannot invent the missing digits for you.
A quick shipping checklist
Before a parcel or container leaves: confirm the HS/HTS code matches the physical goods; confirm the country of origin (not the country you shipped from); check whether the code triggers a Section 301 line for that origin; note any other-agency requirements for the chapter; and put the same code on the invoice, the packing list and the entry so nothing gets flagged for mismatch.
One more habit saves a surprising amount of grief: describe the goods in plain, specific words on the invoice, right next to the code. "Men's knitted cotton T-shirt, 100% cotton, HTS 6109.10" gives a customs officer everything needed to agree with your classification at a glance. A vague description like "apparel" or "gift" invites inspection, and inspection means delay. The code and the words should tell the same story, and both should match what is physically in the box. When you class a new item, save the reasoning — material, function, the heading text you relied on — so the next shipment of the same SKU is a copy-paste rather than a fresh investigation.
Duty figures shown across OpenTariff use the current dataset (USITC/CBP); verify the live rate before you declare a shipment.
FAQ
- What is an HS code in shipping?
- It is the 6-digit Harmonized System product number on your shipping and customs documents that customs uses to assess duty and clear the goods.
- Is the HS code the same worldwide?
- The first 6 digits are the same in every country that uses the Harmonized System. Countries then add their own digits — the US adds four to form the 10-digit HTS code.
- Who is responsible for the HS code on a shipment?
- The importer of record is legally responsible for the classification, even when a broker or forwarder enters it on their behalf.
More guides: all guides · find a code by product · batch classify