← Back to blog
Compliance

Why hierarchical HS classification beats keyword search

Customs experts don't grep product descriptions — they narrow from Section to National line. Nexim follows the same logic.

Nexim Team · 9 min read

Shipping containers at a port — global trade logistics

Every product crossing a border needs a Harmonized System (HS) code. Get it wrong and you overpay duties, face delays, or trigger audits. Most software treats classification like search — match keywords in a description and return the top hit. Customs officers don't work that way, and neither does Nexim.

The hierarchy matters

HS classification is a tree, not a flat index:

  1. Section — broad product families (e.g. textiles, machinery)
  2. Chapter — two-digit groupings within a section
  3. Heading — four-digit categories
  4. Subheading — six-digit international codes
  5. National line — country-specific extensions (e.g. 8–10 digits)

At each level, legal notes and section/chapter exclusions eliminate branches. A leather handbag and a plastic handbag share words in a description but land in different chapters.

Rules, not just similarity

Nexim applies General Rules of Interpretation (GRI) — the same framework WCO member states use. Material composition, essential character, and intended use all factor in before a code is proposed.

Keyword search can't explain why a code was chosen. Hierarchical classification produces a path you can defend in an audit.

Confidence at every stage

Rather than a single opaque score, Nexim reports confidence at each narrowing step. When ambiguity remains between two subheadings, the system surfaces both options with the regulatory basis for each.

Practical impact

A regional importer we work with reduced manual review time by 60% after switching from spreadsheet lookups to hierarchical classification. Reviewers stopped second-guessing keyword matches and started validating structured reasoning instead.

If your team still classifies by search box, it's worth asking whether your tooling matches how customs actually thinks about products.

Try Nexim on your next shipment

AI-powered HS classification, FTA analysis, and restriction screening — offline-first and audit-ready.