Shelfworks

Shelfworks › Guides

Shopify products missing HS codes or country of origin: how to find and fix them

Short answer: In your Shopify admin go to Settings › Taxes and duties, open Duties and import taxes › Manage and export a CSV of products with missing information. Fill in the HS code and Country of origin columns, then import it with Update with CSV. Shopify says HS codes are required for international shipments, and that a missing country of origin or a wrong HS code can mean your customer is charged extra duties on delivery.

Why missing customs information matters

The country of origin is where the product was made or assembled into the form you sell it in. An HS (Harmonized System) code is an international trade code, usually six digits, that describes what the product is. Some countries add digits after the first six; when a country-specific code exists Shopify uses it for that country, and otherwise uses your six-digit code. If you turn on Shopify’s Managed Markets, Shopify assigns HS codes itself and says the code it applies isn’t guaranteed to match the one you entered.

Step 1: find which products are missing them

  1. Shopify’s own export. Go to Settings › Taxes and duties, click Manage in the Duties and import taxes section, then Update with CSV › Export. Shopify’s steps call this a CSV of products with missing information, and it is emailed to you. You can also reach it from Markets by choosing a market and then Manage › Duties and import taxes.
  2. The bulk editor. In Products, select products, click Bulk edit then Columns, and in the Shipping section add Harmonized system code and Country of origin. Blank cells are your gaps.
  3. When you set up duties. The setup steps for collecting duties at checkout include reviewing products flagged as missing an HS code and country of origin.

Step 2: fix them

A few products: the product page

Open the product, make sure Physical product is on in the Shipping section, choose a Country of origin, and enter the Harmonized System (HS) code. If you don’t know the code, start typing a description of the product and Shopify searches for one. To give a code extra digits for a particular market, use Add HS codes by country/region; you can only pick countries from your markets.

Dozens of products: the bulk editor

Use the columns above and type the values in. This suits you if you already know the codes.

Hundreds of products: the CSV

Edit the file you exported in Step 1 in a spreadsheet and import it again with Update with CSV › Import. Its columns are Product Handle, Product title, Variant SKU, the option name and value columns, Country of origin and HS code. Leave the identifying columns alone and change only the last two. Shopify says this file is meant for HS codes and country of origin only; to change other values use the inventory CSV.

If most things come from one country

Under Settings › Taxes and duties in the Customs information section you can set a Default country of origin. It is used only for products without their own value, and a value set on a product overrides it.

Mid-order

If you haven’t added HS codes yet, you can add them when you buy a label (Create shipping label › Edit customs information). Tick Save shipping info to product details to keep the code on the product.

Before you import

Where Shelfworks fits: Shelfcheck

Shelfcheck keeps watching for the gap, so you don’t have to rerun exports. It checks your active variants and lists every one that ships but has no HS code or no country of origin.

Shelfcheck customs screen: set an HS code or country of origin on selected variants, or copy them from a sibling variant

What it doesn’t do: it doesn’t choose an HS code for you or check that a code is the right one for the product, and it reads what is saved on each variant.

Status: Live on the Shopify App Store. See what Shelfcheck does, its price and FAQ. Get Shelfcheck on the Shopify App Store. $9/month with a 14-day free trial. Questions: support@shelfworks.app.

Related guides

Sources (checked 20 October 2026):