HS code classification for ecommerce is the piece of customs paperwork most sellers never look at, and the one that quietly sets the price of every international shipment they make. Six digits, extended to ten in the US and Canada, sitting on a commercial invoice. Get them right and duty is what you expected. Get them wrong and you either overpay on every unit for years without noticing, or underpay until an audit catches up and asks for the difference. Nobody sends you a letter when your codes are wrong.
The Harmonized System is a product catalogue maintained by the World Customs Organization and used by more than 200 countries. It sorts every physical good into a numbered hierarchy: chapter, heading, subheading. The first six digits are identical everywhere, so 6109.10 means cotton knitted T-shirts in Toronto, Rotterdam and Sydney alike.
Past six digits, every country adds its own tariff lines. The US extends to ten digits in the HTS; Canada also uses ten. Those extra digits are where the duty rate lives. A code that is valid in the United States is not a valid Canadian code, and the rate attached to it is often different. This is the single most common misunderstanding we see: sellers treat one code as a global answer.
Five patterns account for almost every misclassification we find when we audit a new customer's catalogue.
There are two failure directions, and they hurt differently.
Overpaying is invisible. Nobody at customs corrects you for paying too much. Cotton T-shirts entering the US under 6109.10.00 carry a 16.5% general rate. Move the same shipment to a line where a trade agreement applies and the rate can go to zero. If you are landing $250,000 a year of goods and sitting two points above the correct rate, that is $5,000 a year leaving quietly, with no line item anywhere that says why.
Underpaying is a bill you get later. Customs authorities work backwards. In the United States, CBP can generally reach back five years to recover unpaid duty, with interest, and penalties on top where they find negligence. Canada, the UK and the EU all run reassessment periods of the same order. Sellers discover this when the first notice arrives covering three years of shipments they had already accounted for as profit.
The third cost is time. Ambiguous or inconsistent codes are one of the most common triggers for a documentary hold, and a held parcel is a support ticket, a refund risk and a customer who will not order again.
Trade-agreement eligibility depends on the code too. USMCA and CUSMA preference is claimed against a specific tariff line; classify the goods incorrectly and you can lose duty-free treatment you were entitled to.
We built classification into the platform because we were already doing it by hand for our fulfillment customers. Treqo assigns per-country HTS codes across your product catalogue with a confidence score on each one, so you can see which SKUs are settled and which need a human look. Those codes then enrich the customs data on every booking automatically, and feed the landed-cost calculation, so duties and taxes are known before you buy the label rather than discovered afterwards.
When something is genuinely ambiguous, or a shipment gets held, you talk to our clearance team rather than a ticket queue. More on that on the customs and compliance page.
The international code is six digits, and those six digits mean the same thing in every member country. Individual countries extend the code for their own tariff: the US and Canada both use ten. You need the full national-length code for the destination country, not just the first six.
The importer of record is responsible. Carriers and brokers transmit the code you give them; they do not warrant that it is correct. If you ship DDP or act as a non-resident importer, that liability is yours.
The first six digits, yes. Beyond that, no. Each country builds its own tariff lines on the six-digit base, and duty rates differ line by line.
A written classification decision from the customs authority that you can rely on. Worth the effort for a high-volume product, a genuinely ambiguous product, or any case where two plausible codes carry very different duty rates.