Logistics glossary

HS Code: Meaning, Structure, and Use in International Shipping

Definition and Context

The HS code (also customs HS code or Harmonized System) is an internationally standardized commodity numbering system for the tariff classification of goods in foreign trade. It is used to classify products worldwide according to uniform criteria, so that customs administrations, companies, and statistical offices have a common basis for identifying goods. The legal basis is the Harmonized System (HS) of the World Customs Organization (WCO), which is applied by a large number of countries and customs territories.

In a customs context, the HS code is central because it typically determines which duty rates, import duties and taxes, trade policy measures, or control regulations (e.g. restrictions, permit requirements) apply to a product. The HS code also creates comparability for foreign trade statistics, since goods flows are analyzed based on this classification.

In everyday use, the term "customs HS code" is often used as an umbrella term, even though in many countries the actual commodity code is made up of the HS code and national or regional extensions. In the European Union, for example, the Combined Nomenclature (CN) is based on the HS and extends it for customs and statistical purposes. The HS code is therefore the common international basis; the full tariff commodity code can be longer and more detailed depending on the jurisdiction.

Structure, Characteristics, and Use Cases

The HS code has a hierarchical structure and follows a globally harmonized logic of chapters and headings. In its basic structure, the system comprises six digits, which are largely uniform internationally. These six digits represent chapters, headings, and subheadings and condense product characteristics such as material, manufacturing method, intended use, or technical nature. Many customs territories add further digits to the system to allow finer differentiation, for example for specific duty rules or statistical analyses.

A characteristic of the HS system is that classification cannot be chosen freely but follows defined rules. The assignment is based on the structure of the nomenclature and the relevant explanatory notes, with the actual nature of the product being decisive. Even small differences in material composition or function can lead to a different subheading. This makes the HS code a precise identifier for the customs treatment of a product.

Typical use cases arise along international supply chains and foreign trade processes. The HS code is used in particular:

  • in the customs declaration for import and export procedures as the basis for tariff classification
  • to determine the duty rate and other import duties and taxes (e.g. depending on the customs tariff)
  • for trade and compliance checks, for example in the context of prohibitions, restrictions, or permit requirements
  • for foreign trade statistics and internal analyses by product group
  • in master data and product catalogs to classify goods consistently in international shipping

In practice, the HS code is therefore less a piece of shipping information in the narrower sense and more a customs and foreign trade classification of goods. Its importance shows especially where goods move across customs borders and a clear, traceable classification is required.

Importance for Logistics and E-Commerce

For logistics and e-commerce, the HS code is a central data point, because it forms the basis for the correct customs treatment of internationally shipped goods. In cross-border shipping models, the commodity code affects, among other things, whether additional documents are required, how high duties and taxes are, and whether the goods are subject to special inspection or reporting obligations. Correct classification therefore has a direct impact on process stability, transit times, and costs.

In e-commerce, there is the added factor that a large number of items with many variants (e.g. sizes, materials, bundles) often has to be managed. Consistent product data maintenance becomes more important here, since HS-based commodity codes are typically stored in product master data, ERP, or PIM systems and transferred to customs or shipping documents. Incorrect or inconsistent commodity codes can lead to discrepancies in duty calculation, queries from authorities, or delays in customs clearance.

In logistics networks with several parties (shipper, fulfillment, carrier, customs representative), the HS code also serves as a standard for describing goods unambiguously. This makes it easier to process shipments automatically, especially when customs information is transmitted electronically. At the same time, classification remains a demanding specialist area, because the correct commodity code depends on the specific product and its properties, and the classification systems can evolve through regular updates.

Customs tariff number: General term for the numerical classification of goods in the customs tariff, also called commodity code; can be HS-based and contain additional digits depending on the country or region.

Combined Nomenclature (CN): EU classification based on the HS that provides a finer breakdown for customs and statistical purposes.

Customs tariff: Set of rules that assigns goods to duty rates and other measures based on their commodity codes.

Tariff classification: Technical term for assigning a product to a heading/subheading in the HS or in the customs tariff.

Import duties and taxes: Charges that may apply on import; their amount and applicability often depend on the commodity code.

Country of origin: Indication of where a product comes from; in combination with the commodity code, relevant for preferences, duty rates, and trade policy measures.

FAQs about HS Code

How do I find the right HS code for my product?

In the EU, the best places to look up the commodity code are the Electronic Customs Tariff (EZT-online) of German customs or the European Commission's TARIC database. You work your way from the chapter through the heading to the subheading, guided by the material, function, and intended use of the goods. If you're unsure, you can usually apply to customs for Binding Tariff Information (BTI), which gives you legal certainty for the classification.

What is the difference between an HS code, a CN code, and a customs tariff number?

The HS code has six digits and is the same internationally. The EU extends it to eight digits in the Combined Nomenclature, which are used for export declarations and Intrastat statistics, for example. For imports into the EU, the ten-digit TARIC code applies. In German usage, these numbers are called Warennummer or Zolltarifnummer (commodity code or customs tariff number), and the number of digits required depends on the procedure.

Do I need the HS code when shipping to Switzerland or the UK?

Yes, neither country is part of the EU customs territory, so shipments there must be declared with customs data. On the customs declaration and commercial invoice, you state the HS code, a precise description of the goods, the value of the goods, and the country of origin for each item. Missing or incorrect codes often lead to queries, delays, or incorrectly calculated duties. So store the codes in your item master data so they're transferred to the shipping documents automatically.

Fastest delivery.
Best price.

Your customers order by 6:40 pm and have the parcel tomorrow. You pay from €0.10 per pick. You get a binding quote within three working days.