Customs Guide

HS Code Structure Explained: What Does Each Digit Mean?

Trazeroad Logistics
May 20, 2026
5 min read

HS Code Structure Explained: What Does Each Digit Mean?

Why Is the HS Code So Long?

Most importers see the HS code as just a number. In reality, it's the common language of international trade — used identically by 200+ countries.

The code looks long, but each group of digits has its own meaning. Once you understand the structure, you can read any product's code yourself.

The 4 Parts of an HS Code

Part 1 — Chapter (2 digits)

The first 2 digits indicate the chapter. There are 97 chapters, each covering a broad product category:

ChapterCategory
01–05Live animals, animal products
06–14Vegetable products
27Mineral fuels, petroleum
61–63Textiles, apparel
84Machinery, mechanical equipment
85Electrical equipment, electronics
87Vehicles
90Optical, medical instruments

Example: Laptop → Chapter 84 (Machinery)


Part 2 — Heading (4 digits)

The next 2 digits identify the heading within the chapter:

84 + 71 = 8471 → Automatic data processing machines (computers)


Part 3 — Subheading (6 digits — International)

The 6-digit code is the international HS code. All 200+ countries share the same system up to this level:

8471 + .30 = 8471.30 → Portable automatic data processing machines (laptops)

This 6-digit code means the same product in every country on earth.


Part 4 — National Split (8–10 digits — country-specific)

In Azerbaijan, the TN XIF code is 10 digits. The last 4 digits are national detail:

8471.30 + .00.10 = 8471.30.00.10 → Exact TN XIF code for Azerbaijan

Full Example: Laptop

8  4  7  1  .  3  0  .  0  0  .  1  0
│──│  Chapter 84 (Machinery)
│──│──│──│  Heading 8471 (Computers)
│──│──│──│──│──│  Subheading 8471.30 (Portable)
│──│──│──│──│──│──│──│──│──│  National .00.10 (AZ)

3 More Examples

Men's cotton shirt

  • Chapter 62 → Apparel
  • Heading 6205 → Men's shirts
  • 6205.20 → Of cotton
  • AZ code: 6205.20.00.10

Electric vehicle

  • Chapter 87 → Vehicles
  • Heading 8703 → Passenger cars
  • 8703.80 → Electric motor
  • AZ code: 8703.80.10.00

Olive oil

  • Chapter 15 → Vegetable oils
  • Heading 1509 → Olive oil
  • 1509.10 → Virgin
  • AZ code: 1509.10.10.00

What Happens With a Wrong Code?

Even a single digit error can have major consequences:

  • Extra duty: Correct code 0%, wrong code 15% — on $50,000 cargo that's $7,500 extra
  • Customs delay: Document mismatch causes cargo to be held
  • Import ban: Some codes require special permits

How to Find Your Code

Two ways:

1. Manually: Search the WCO (World Customs Organization) database — takes time, needs expertise

2. With AI: Zentria Flow™ — type the product name, get a 98%-accurate code in 2 seconds. Free plan: 3 searches per day.

Trazeroad Logistics professionally identifies the TN XIF code for every shipment in our customs brokerage service. Need help? Get in touch.

#hs-code#tn-xif#customs#import#azerbaijan#zentria-flow

Frequently Asked Questions

QIs an HS code the same as a TN XIF code?
AThe HS code is the international 6-digit system. TN XIF is Azerbaijan's 10-digit national system — based on HS but with 4 extra digits added for national detail.
QCan I find my HS code myself?
AYes, but it can be complex. Zentria Flow™ (zentriaflow.com) finds it with AI in 2 seconds at 98% accuracy — free plan allows 3 searches per day. Trazeroad's customs specialists can also help.