HS Codes for eCommerce Shipping – Practical Guide
By GFS
Reviewed by Shambhavi Prakash Pai
Last reviewed: 25 November 2026
An HS code is the six-digit number that customs authorities use to classify a product under the Harmonised System, the international goods nomenclature maintained by the World Customs Organization. In the UK, it forms the first six digits of a longer commodity code: usually eight digits on an export declaration and ten on an import declaration. The code declared decides which duty rate, controls and trade measures apply to each item in a parcel.
For an eCommerce retailer, classification is product data as much as paperwork. The same code travels from the product record to the checkout duty estimate, the commercial invoice and the carrier’s electronic customs data, so one wrong entry repeats on every order that contains the product.
Accurate codes matter more in 2026, with a €3 EU duty charged per tariff classification in low-value parcels, EU product identifiers mandatory since 1 November and duty on orders to the USA still driven by classification and origin. This guide explains what HS codes and commodity codes are, who is responsible for them, what a wrong code costs, how to find the right code in the UK and how to keep codes accurate from product record to despatch.

Key Takeaways
An HS code in one line: The six-digit international classification for a product and the base of every longer tariff code
Commodity codes build on it: UK declarations usually need eight digits for exports and ten for imports, and other territories add their own digits to the same first six
The seller owns the code: Carriers and customs agents submit the classification they are given, but the business remains responsible for its accuracy
A wrong code costs more than duty: It can trigger customs holds, refused parcels and extra EU €3 charges on every order for that product
Codes need maintaining: Product changes, new destinations and the HS 2028 edition from 1 January 2028 all call for a review
GFS: A managed multi-carrier delivery partner whose international services carry customs data from orders to despatch across 1,000+ delivery services
What is an HS code in shipping?
HS stands for Harmonised System, the numbering system for traded goods maintained by the World Customs Organization and used by more than 200 countries and economies as the basis of their customs tariffs. Its six digits work as a hierarchy, with each level narrowing the description of the goods:
| Level | Digits | Example: a lithium-ion battery sold on its own |
|---|---|---|
| Chapter | 85 | Electrical machinery and equipment |
| Heading | 8507 | Electric accumulators (rechargeable batteries) |
| Subheading (the HS code) | 8507.60 | Lithium-ion accumulators |
| UK commodity code | 8 or 10 digits | UK digits added for the export or import declaration |
The example illustrates the structure under the current edition of the Harmonised System; it is not a classification for any specific product. An HS code also differs from a SKU or barcode, which identify one particular product, so a retailer needs all three in the same product record.
HS code vs commodity code: what is the difference?
The terms are often used interchangeably, but they are not the same. The HS code is the shared six-digit base, while a commodity code is the longer national or regional code built on it, and the longer code is what most customs declarations ask for:
| Code | Digits | Where it is used |
|---|---|---|
| Chapter | 6 | The international base shared across the Harmonised System |
| UK commodity code (exports) | 8 | Export declarations from Great Britain |
| UK commodity code (imports) | 10 | Import declarations into Great Britain, including returned goods |
| EU TARIC code | 10 | EU import declarations, including EU measures such as anti-dumping duties |
| USA Harmonized Tariff Schedule code | 10 | Import entries into the USA |
The digits after the first six are set by each customs territory and can differ for the same product, so a UK import code should never be copied into an EU or USA declaration. When a carrier asks for a “tariff code”, confirm which territory and how many digits it needs, and store codes as text so spreadsheets cannot strip leading zeros.
Who is responsible for the HS code?
The seller or importer is responsible for the classification, not the carrier. HMRC’s guidance on appointing a customs representative makes clear that a business remains responsible for the accuracy of the information it supplies, even when a carrier or agent submits the declaration.
Inside the business, give one person or team ownership of approving codes, and treat a supplier’s code as evidence to verify rather than a decision. Ask which country’s tariff it came from and which version of the product it describes.
A delivery partner can take much of the data handling off the team. GFS’ international eCommerce services include integrated customs documentation, so approved codes travel with each order to whichever carrier and service is used.

What does a wrong HS code cost?
Because the code sits in the product record, an error reaches every order for that product until it is corrected at source. The consequences include:
Duty errors: Underpaying can lead to demands for the shortfall and penalties, while overpaying erodes margin unnoticed
Customs holds: A code that does not match the goods description invites queries and inspections while customers wait
Refused parcels: Unexpected charges on a duty-unpaid service can lead customers to refuse delivery, adding return and refund costs
Missed controls: Some codes carry licences, restrictions or safety requirements that a wrong code can hide
The code is one input to the charge rather than the whole calculation, as duty also depends on origin, customs value and the measures in force on the date of import.

The EU €3 duty on low-value parcels
Since 1st July 2026, EU consumer orders in consignments worth up to €150 no longer enter duty-free. The Council of the EU replaced the exemption with a temporary €3 customs duty that, under the European Commission’s guidance, applies to each item category identified by tariff classification rather than to each parcel or unit, until 1 July 2028.
Five identical power banks in one parcel would attract a single €3 charge, while a power bank, a phone case and a charging cable would normally attract three. Retailers using IOSS for EU orders collect the import VAT at checkout, but IOSS does not cover the €3 duty, so every line’s classification still needs to be right.

Product identifiers on EU declarations
Since 1st November 2026, EU import declarations for online sales to consumers in consignments of up to €150 must also carry product identifiers, such as a GTIN or EAN barcode number where one exists and the seller’s own product reference. They sit alongside the classification rather than replacing it, so the SKU, barcode and HS code need to live in one product record and travel with the order.

Orders to the USA
Import duty in the USA depends on the product’s Harmonized Tariff Schedule (HTS) classification, its country of origin and any additional tariff measures in force on the date of entry. Those measures have changed several times since 2025, so confirm the position on the shipping date.
Country of origin is where goods were made, not where the parcel was despatched from, so a product made in China and sold from a UK warehouse generally keeps its Chinese origin.
How to find the right HS code for a product in the UK
HMRC’s Trade Tariff service on GOV.UK is the official lookup for UK commodity codes, but a search is only the start. Work through these steps for each product:
Gather the product facts: What it is made of, what it does, how it is constructed and how it is packed for sale, taken from the manufacturer rather than the product page
Search the Trade Tariff: Choose the export or import view and search by what the product is, not its brand or range name
Read the headings and notes: Check each possible heading and the section and chapter notes, applying the General Interpretative Rules where more than one heading seems to fit
Confirm the full code and measures: Note the eight-digit export or ten-digit import code and any additional codes, licences or restrictions listed against it
Check the destination’s tariff: Confirm the destination’s own code and measures before the first shipment
Ask HMRC if it is genuinely unclear: HMRC gives free, non-binding classification advice, and an Advance Tariff Ruling gives a legally binding decision for Great Britain, valid for three years
- Record the reasoning: Keep the specification, headings considered, final code, source and date with the product record
Search tools and AI suggestions can speed up the second step, but their output is a candidate to verify, because a code can exist and have the right number of digits without describing the goods. Movements to or from Northern Ireland need checking separately, and binding decisions there come through Binding Tariff Information rather than an Advance Tariff Ruling.
Sets, kits, gift boxes and multi-item parcels
Mixed products are where classification most often goes wrong:
Retail sets: Items put up together for retail sale to meet a particular need can be classified as a set, usually by the component that gives the set its essential character
Bundles and multi-item parcels: Products not put up as a retail set are classified item by item, each on its own declaration line, which also decides how many €3 charges apply on EU orders
Generic descriptions: Labels such as “gifts”, “accessories” or “mixed goods” are not classifications and can stop a parcel at customs
Confirm how each set or bundle should be declared before it goes on sale, and keep that decision with the product record.

Where product details change the code: sector examples
The product’s facts decide the code rather than its name. These examples show where one detail moves a product to a different heading; they illustrate the reasoning and are not classifications for specific products:
| Delivery model | Responsibility for capacity | Response to a collection cap | What to establish |
|---|---|---|---|
| Direct carrier contract | The retailer agrees volumes and collections directly with the carrier | The retailer requests extra capacity or activates a separately arranged alternative | Direct control of the relationship; backup depends on the retailer’s own arrangements |
| A carrier’s own multi-service offer | One supplier coordinates its service range; underlying networks may overlap | Another service may help, provided it does not depend on the same constrained collection or depot | Which services use independent transport capacity and which share the same bottleneck |
| Multi-Carrier software run in-house | The retailer manages carrier agreements and allocations; software supports booking and rules | The team switches eligible orders to another configured service once acceptance and collection are confirmed | Who secures capacity, approves changes and supports warehouse staff during disruption |
| Managed multi-carrier delivery | A partner manages carrier relationships and agreed planning responsibilities | The partner coordinates alternatives within the available services, capacity and the retailer’s agreed instructions | The contract holder, capacity commitments, escalation cover and limits of the managed service |
Keeping HS codes current
A code that was right at launch can become wrong when the product or the tariff changes. Review classifications when:
Products change: A new material, function, power source or pack format can move a product to a different code under the same SKU
New lines or markets launch: Classify new products and check destination codes before they go live
Tariffs update: HMRC changes the UK tariff through the year, and the EU updates its Combined Nomenclature annually
HS 2028 arrives: The World Customs Organization’s next edition takes effect on 1 January 2028 with 299 sets of amendments, so current codes will need checking before then
Record the date from which each changed code applies, so earlier shipments remain traceable.
Getting HS codes into your order data
Classification only helps if the approved code, origin, description and product identifiers flow from one product record into the checkout, label, commercial invoice and carrier data without being re-keyed. Useful controls at despatch include:
Missing data: Hold or flag any international order with no approved code, origin or identifier, rather than sending a generic fallback
Line-level detail: Keep each product on its own line through the store, warehouse and shipping platform, so a parcel never inherits the first item’s code
Plain descriptions: Describe what the goods are, such as “rechargeable lithium-ion power bank”, rather than sending a brand name, SKU or “accessories”
Corrections at source: When a carrier queries a code, correct the product record and review other orders for that product, not only the parcel in question

What to do if the wrong HS code has been used
First confirm the error against the product facts and the official tariff, as a queried code may reflect a valid destination-specific subdivision. Then separate orders not yet despatched, parcels in transit and completed declarations, because changing the catalogue does not amend a declaration already submitted.
Agree the correction route with whoever lodged the declaration; for UK imports, including returns, HMRC has a process for amending submitted declarations. Then trace the cause, whether an unapproved supplier code or an integration that altered an approved one.
HS codes and international returns
A return crossing a border needs an accurate classification too. Keep the original order, code, value and despatch records linked to each return so it can be declared correctly.
For goods coming back to the UK, HMRC’s Returned Goods Relief can remove import duty and, where further conditions are met, import VAT on goods exported and returned in the same state. The relief has eligibility, evidence and time-limit conditions, while the declaration needs the correct code and procedure.
Checklist before shipping a range overseas
- Every product to be shipped has a full specification and an approved classification
- Export, import and destination codes are labelled by purpose and stored as text
- Country of origin is recorded separately from the despatch country
- EU orders carry product identifiers and one declaration line per classification
- Sets and bundles have a confirmed classification before they go on sale
- The carrier or customs agent has confirmed the data each service needs
- Missing or uncertain data stops the order rather than defaulting to a generic code
How GFS supports HS codes and customs data
GFS is a managed multi-carrier delivery partner, not a carrier, giving retailers one integration to 1,000+ delivery services across 220+ destinations. GFS International provides integrated customs documentation and duties and taxes calculation for cross-border orders, while GFS Selector produces multi-carrier labels with electronic customs declarations for paperless trade.
GFS Checkout can calculate local duties and taxes for each customer’s address, so the classification in the product record feeds the price at checkout. GFS’ automated systems help validate HS codes across its network, and its customer service team gives hands-on support when a classification question or customs query needs resolving.
High Street Brands 4 Less, a UK online retailer of personal care and beauty brands selling into more than 35 international markets, uses GFS International to automate its HS codes, weights and customs descriptions across marketplaces including eBay, Amazon and Fruugo.
With GFS’ managed multi-carrier delivery services, the same product and customs data is used whichever carrier a parcel is routed to. Bring sample product data, typical baskets and recent customs queries to the first conversation as a practical starting point.
Planning to sell more of your range overseas?
Tell us where you want to ship. We’ll help you explore delivery options for those markets and understand what customs data you’ll need at despatch.
Frequently Asked Questions
Parcels can be held, duty can be underpaid or overpaid and penalties can follow. On EU orders the number of €3 charges can also be wrong, and the error repeats on every order until the product record is corrected.


