← Blog
ShopifyCustomsHow-toEU

How to Add HS Codes in Shopify, One by One or in Bulk

Where Shopify keeps the HS code and country of origin, how to fill them with the bulk editor or CSV, and what to do when you do not know the code.

Shopify has a place for HS codes, and plenty of catalogues have it half empty. Filling it is not difficult once you know where it is. Filling it correctly is the part that takes work, so this covers both.

Where the fields are

Each product variant has customs information: the Harmonized system (HS) code and the country or region of origin. Origin means where the goods were made, not where you ship from.

Option 1: the bulk editor

Best when you already know the codes and the list is manageable. This follows the Shopify Help Center:

  1. In your Shopify admin, go to Products.
  2. Check the products you want to change.
  3. Click Bulk edit.
  4. Click Columns, and under the shipping section select Harmonized system code and Country of origin.
  5. Edit the rows and click Save.

If most of your range comes from one country, set a default country of origin in Shopify first, then correct the exceptions.

Option 2: CSV import

Better for large catalogues, or when you want to review everything in a spreadsheet and see which rows are empty. Shopify supports adding HS codes and country of origin through a CSV file; the Help Center page above lists the columns. Export first, keep an untouched copy, and import a small test batch before the whole file.

Watch two things. Spreadsheet software likes to strip leading zeros and turn long codes into numbers, so format the code column as text. And one wrong sort can shift codes onto the wrong products without any error message.

Country-specific codes

Beyond the 6-digit global code, countries and the EU extend it with their own digits. Shopify can use a country-specific code where you have one and falls back to the 6-digit code where you do not. For the EU, the longer forms are the 8-digit CN code and the 10-digit TARIC code. Our HS, CN and TARIC guide explains which is used when.

When you do not know the code

This is the real problem, and no editor solves it. Your options:

  • Read the tariff yourself. Accurate if you are patient, slow beyond a few dozen products.
  • Check EU binding tariff rulings to see how customs classified similar goods. This is strong evidence to point to.
  • Use an app that assigns codes for you to confirm. Tarifa, our Shopify app, assigns HS, CN and TARIC codes automatically, shows the EU rulings behind them, and writes them to your store once you confirm and send them. The free plan covers up to 20 products.
  • Ask a broker for the difficult or high-value ones.

Whichever you pick, you are the one declaring the code, so read the official description before accepting it.

Check your work

Before you call it done:

  • No variant without a code or an origin.
  • No single code pasted across unlike products.
  • Codes that start with the same 6 digits as your supplier’s, or a reason why they do not.
  • For EU distance sales, the product identifiers are in place too.

Then put a date in the calendar to review it. Catalogues change, and a code that was right for last year’s material may be wrong for this one.

Common questions

Can I bulk edit HS codes in Shopify?

Yes. In the admin, open Products, select the products, choose Bulk edit, and add the Harmonized system code and Country of origin columns.

Is a 6-digit HS code enough for the EU?

It depends on the declaration. A standard EU import entry uses the 10-digit TARIC code, while many low-value e-commerce declarations work from 6 digits. Ask your carrier or broker.

What if I do not know the HS code of a product?

Classify it from the official tariff, check EU binding tariff rulings for similar goods, use an app that assigns codes for you to confirm, or ask a customs broker.