Workflow

Using Matrixify for HS codes and country of origin

Matrixify is a general-purpose Shopify import/export tool, not a customs tool — but it is one of the more reliable ways to write HS codes and country of origin across a large catalogue, because it treats them as ordinary columns in a spreadsheet you control.

This page covers the exact columns, the minimum file you need, the error loop, and the honest question of whether you need it at all. Details from Matrixify's own tutorial and pricing page, checked 13 August 2026.

Where does your catalog stand? Origova scans every variant for missing or malformed HS codes, country of origin and weight — free, at any catalog size. Run the free scan

The two columns

The whole job comes down to two data columns on the Products sheet:

Matrixify columns for customs data
ColumnWhat it writesFormat note
Variant HS CodeThe Harmonized System code on the variant's inventory itemSix digits minimum; even digit counts
Variant Country of OriginCountry of origin on the same recordUse Shopify's country codes, not country names

Both are per variant, not per product, because that is where Shopify stores them. A 6-size, 8-colour product is 48 rows in your file, not one.

The minimum file

Matrixify's tutorial is explicit that you can delete every column you are not using. The minimum is an identifier for the product, an identifier for the variant, and the data you want to write:

Minimum required columns
PurposeAcceptable columnsHow many needed
Identify the productID or HandleAt least one
Identify the variantVariant ID, Variant SKU or Variant BarcodeAt least one
Write the dataVariant HS Code, Variant Country of OriginWhichever you are setting
Handle              Variant SKU    Variant HS Code   Variant Country of Origin
cotton-crew-tee     TEE-BLK-M      610910            IN
cotton-crew-tee     TEE-BLK-L      610910            IN
silicone-phone-case CASE-SIL-13    392690            CN

That is a valid update file. Note the origin values are codes, not names — IN and CN, not India and China.

The workflow

  1. Export products from Shopify through Matrixify.
  2. Delete every column except the identifiers and the two data columns.
  3. Fill in the values, grouping by material for HS codes and by supplier for origin.
  4. Import the file back.
  5. Read the Import Comment column on any failed rows, fix those rows only, and re-import them.
The Import Comment column is the useful part Matrixify reports per-row failures with an explanation rather than failing the whole file. Re-importing only the corrected rows is faster and safer than re-running a 14,000-row file to fix nine mistakes.

When you do not need Matrixify

Worth saying plainly: if HS code and country of origin are the *only* fields you are changing, Shopify's own inventory CSV already has an HS Code column and a COO column, exported and imported from Products > Inventory, at no cost. That covers the same two fields.

Which route fits
SituationBest route
Only setting HS code and originShopify inventory CSV — free
Also moving other product fields, or migrating storesMatrixify
Need scheduled, repeating importsMatrixify
Do not know which variants are blankAudit first — neither tool tells you
Under 20 products to changeShopify bulk editor by hand

Note the fourth row. Matrixify is excellent at writing data and does not analyse it. Exporting 14,000 rows to find the 400 blanks in a spreadsheet is a job in itself — see HS code automation for large catalogs, or run a free Origova scan to get the list first and then write it back with whichever tool you prefer.

The short version

Two columns, Variant HS Code and Variant Country of Origin, plus an identifier for the product and one for the variant. Delete everything else. Fix failures from the Import Comment column. And if these two fields are all you need, check the free inventory CSV first.

Not customs advice Origova scans and bulk-fixes the customs data in your Shopify catalog. It does not replace a licensed customs broker and it does not make the final classification decision for you. Classification depends on the product's material, use, composition and origin. Verify classifications with the HTS, CBP rulings, or a licensed customs broker.

Frequently asked questions

Which Matrixify columns set the HS code and country of origin?

Variant HS Code and Variant Country of Origin, on the Products sheet. Matrixify's tutorial lists these as the two data columns for this job.

What are the minimum columns for a Matrixify HS code update?

At least one product identifier -- ID or Handle -- plus at least one variant identifier -- Variant ID, Variant SKU or Variant Barcode -- alongside the data columns you want to write. You can delete every other exported column.

How do I know which rows failed?

Matrixify writes an Import Comment column explaining each failure, so you can correct just those rows and re-import them rather than repeating the whole file.

What does Matrixify cost?

As listed on 13 August 2026: a free demo limited to 10 products per job, Basic $20 per 30 days for 5,000, Big $50 for 50,000, and Enterprise $200 for unlimited. Verify current pricing before buying.

Do I need Matrixify, or is the free Shopify inventory CSV enough?

If all you need is HS code and country of origin, Shopify's inventory CSV includes HS Code and COO columns at no cost. Matrixify earns its price when you are also moving other fields, migrating stores, or scheduling repeat imports.

Sources for this page: Matrixify: Update HS code and country of origin in bulk · Matrixify pricing · Shopify: Inventory CSV · Shopify: Adding HS codes to your products

Related: Bulk-add HS codes, 5 ways · HS code automation for large catalogs · Best Shopify customs apps · Origova pricing