
Photo by Marcin Jozwiak on Unsplash
An HS code is the number customs uses to classify a product. The first 6 digits are shared by more than 200 countries. The EU adds 2 digits for export declarations (the CN code, 8 digits) and 2 more for import declarations (the TARIC code, 10 digits). To find yours, look the product up in the EU TARIC database or the customs tariff of the country you ship to, by what it is, what it is made of and what it is used for, and check the notes for that chapter. You need the code on the CN23 customs declaration and the commercial invoice whenever a parcel crosses a customs border, for example from Denmark to Norway, the UK or Switzerland. For a webshop, the goal is one checked code per product, stored on the product, so it reaches every customs document without anyone typing it.
Key takeaways
The first 6 digits of an HS code are international. The EU uses 8 digits for export and 10 for import.
Classify by what the product is, its material and its use. Then read the chapter notes before you pick a subheading.
Customs does not have to accept the code you choose. If you are unsure, a Binding Tariff Information decision is free and valid across the EU for three years.
The code goes on the CN22 or CN23, the commercial invoice and the electronic customs data the carrier sends.
Store the code on the product. Zippendo picks up the HS code you set on a Shopify product and puts it on the parcel's order lines.
What an HS code is
HS stands for the Harmonized System, a product list maintained by the World Customs Organization. It has more than 5,000 product groups, each with a 6-digit code, and more than 200 countries and economies use it for their customs tariffs. It is updated every 5 to 6 years.
The code narrows down from left to right. Take a cotton T-shirt:
- 61 is the chapter: clothing that is knitted or crocheted.
- 61.09 is the heading: T-shirts, singlets and other vests, knitted or crocheted.
- 6109.10 is the subheading: of cotton. The same T-shirt in another material is 6109.90.
You will also see it called a tariff number, a commodity code or a customs code. They all mean the same number, possibly with more digits.
HS, CN and TARIC: how many digits you need
Countries add their own digits after the first 6. In the EU it looks like this:
| Code | Digits | Used for |
|---|---|---|
| HS code | 6 | The international base, the same everywhere |
| CN code (Combined Nomenclature) | 8 | EU export declarations and EU statistics |
| TARIC code | 10 | EU import declarations, with duties and other measures |
| Other national tariffs | Varies | Import into that country, for example the UK or Norway |
For a parcel leaving Denmark, the 8-digit CN code is the one for your export. The receiving country classifies the import with its own tariff, which starts with the same 6 digits. Carriers ask for different lengths too: GLS in Germany, Austria, Belgium, France and Ireland asks for 8 or 10 digits, and DHL eCommerce Europe accepts 6 to 10. Store the longest code you have checked, and the first digits still work wherever fewer are asked for.
The EU republishes the Combined Nomenclature every year, so a code can change. Check your codes once a year, and whenever the HS itself is revised.
How to find the right HS code, step by step
- Describe the product the way customs sees it. What is it, what is it made of, how is it made and what is it used for? "Gift" or "accessories" is not a description. "Women's knitted pullover, 100% wool" is.
- Search the tariff. For the EU, use the TARIC database from the European Commission. For the UK, use the UK Trade Tariff. A keyword search gives you a starting point. Then browse the tree from the chapter down.
- Read the section and chapter notes. They decide the borderline cases. Knitted clothing belongs in chapter 61 and woven clothing in chapter 62, so the same blouse can have two different codes depending on the fabric.
- Pick the most specific subheading that fits. If the material is listed, it matters. "Other" is a valid choice when nothing more specific fits.
- Compare with your supplier's code. The code on your supplier's invoice is a useful check, but it is not proof. If yours differs, find out why.
- Ask customs when you are unsure. Customs does not have to accept the code you choose. A Binding Tariff Information (BTI) decision is free, valid throughout the EU for three years, and binding on both customs and you. You apply online and need an EORI number.
- Save the code on the product. Classify once, then let your systems carry it to every order.
Why the right code matters
The code decides how much duty and import VAT the receiver pays, whether a lower rate under a trade agreement can apply, and whether the goods need a licence or fall under a quota. A wrong code can mean the wrong duty for your customer and a parcel held while customs asks questions. The code also has to match the description on the same line. A code for cotton next to the words "polyester dress" invites a closer look.
These mistakes are easy to avoid:
- One code for a whole order with different products. Each product line needs its own.
- The code of a similar product in another material.
- A code copied from a search result without reading the chapter notes.
- An old code that was changed in a yearly update.
Where the HS code goes
When a parcel crosses a customs border, the HS code appears in three places, one line per product type:
- The CN22 or CN23 customs declaration on postal parcels. Our CN23 guide goes through the form box by box.
- The commercial invoice or proforma invoice that travels with the parcel, when the carrier asks for one.
- The electronic customs data the carrier sends ahead of the parcel. Many carriers build this from the same lines when you book the label.
If you only ship abroad now and then, our free CN22 and CN23 generator and commercial invoice generator fill in the forms from the HS codes and values you enter.
Within the EU you don't need one
Parcels between EU countries cross no customs border, so they carry no customs declaration. You need HS codes when a parcel leaves or enters the EU, including to Norway, Switzerland and the UK, and for some territories with their own customs status, such as Åland and the Canary Islands. Duties, VAT schemes and the rest of selling abroad are in our guide to international shipping for Shopify and WooCommerce.
HS codes in Zippendo
In Zippendo, the HS code is the Tariff number on each order line of a parcel, next to Description, Unit price, Currency and Country of origin. On the parcel it shows under the line, for example "Tariff: 6912.00".
- From Shopify: the HS code and country of origin you set on a product come with the order, so they are already on the lines.
- Otherwise: fill in Tariff number with Edit parcel before you send the shipment.
- From your own system: send the HS code on each line through the Zippendo API.
Carriers such as PostNord, Bring, DHL Express, Posti, Royal Mail and UPS make the customs papers themselves from these lines and send them with the label. For other carriers, a shipping rule can create a commercial invoice with the HS codes and weights. Some carriers stop a shipment before it is booked if a line misses its tariff number or origin, so you fix it before the parcel leaves rather than at the border. All fields are in customs and documents in our docs.
HS code FAQ
Sincerely yours,

Jonas Bang
Jonas Bang · Co-founder, CPO



