ProcessLogistics

AI HS code classification that stands up to a customs audit

Tariff classification is legal reasoning, not a lookup. AI can draft candidate codes for thousands of SKUs, but each decision must follow the General Interpretative Rules in order, cite the notes and rulings it relied on and carry a reviewer's sign-off. Here is a five-step process that produces codes a customs authority can audit, with routing rules and a worked hypothetical.

Reviewed 8 min read

On this page
  1. Why tariff classification resists simple automation
  2. The legal method: GIR 1 to GIR 6, applied in order
  3. How a SKU moves through an AI-assisted classification pipeline
  4. Five steps from product record to defensible tariff code
  5. Routing rules for AI-proposed tariff codes
  6. Worked example: a smart thermostat with a Wi-Fi module
  7. Keeping a classified catalog current
  8. Questions and answers
  9. Sources

Why tariff classification resists simple automation

The Harmonized System is maintained by the World Customs Organization, identifies each commodity group with a six-digit code and is used by more than 200 countries and economies as the basis of their tariffs1.

National schedules add digits of their own. The EU Combined Nomenclature extends the HS to eight digits and is republished every year2, with TARIC measures on top, while the United States classifies under the Harmonized Tariff Schedule (HTSUS)9. The HS itself is revised in review cycles, and the next edition, HS 2028, enters into force on 1 January 20283. Each revision can move products between headings, so last year's correct catalog may be wrong next year.

The deeper difficulty is that codes are defined by legal text, not product names. Two near-identical devices can land in different headings because of one component or the way they are put up for sale. Responsibility stays with the trader: in the United States the importer of record must use reasonable care when declaring classification4, and in the EU the person lodging a declaration answers for its accuracy under the Union Customs Code7. An AI system therefore has to produce the reasoning, not just the answer.

How a SKU moves through an AI-assisted classification pipeline

01Classification-readyrecord02Retrieve legal text03Draft candidates and GIR04Route by risk05Analyst or specialist06Recorded decision
  1. Classification-ready record

    The attributes a classifier needs: material, composition, function, use and presentation.

  2. Retrieve legal text

    Search tariff text, notes, Explanatory Notes and published rulings for the SKU.

  3. Draft candidates and GIR

    The model proposes headings, applies the rules in order and cites every passage it used.

  4. Route by risk

    Confidence, precedent and duty spread decide whether a person must review the SKU.

  5. Analyst or specialist

    A qualified reviewer accepts, edits or escalates, and may recommend binding advice.

  6. Recorded decision

    Code, rule applied, sources, reviewer, date and tariff version are stored together.

Conceptual flow of one SKU through an AI-assisted classification process. It shows the order of work, not timings or measured accuracy.

Five steps from product record to defensible tariff code

  1. Build a classification-ready product record

    Classification turns on facts catalogs rarely hold: material composition by weight or value, function, intended use, presentation for sale and whether the item ships as a set. Define the attribute schema per product family, fill gaps from specifications and supplier data, and block classification when a required attribute is missing rather than letting the model guess.

    Output
    Attribute schema and completeness report
    Owner
    Product data and trade compliance
  2. Generate candidates with retrieval over legal sources

    Give the model the tariff text, notes, Explanatory Notes and published rulings, such as the EU's EBTI database5 and CBP's CROSS rulings search6, and require it to quote the passages it relies on. Ask for two or three candidate headings with reasons for and against each, and discard any candidate without a cited passage.

    Output
    Ranked candidates with citations
    Owner
    Classification platform
  3. Route by confidence, precedent and duty impact

    A model can be confidently wrong about a note it never retrieved, so confidence alone is a weak signal. Combine it with precedent, the duty difference between competing codes and any flags for licensing, trade remedies or export controls, as in the routing table below.

    Output
    Queue assignment per SKU
    Owner
    Trade compliance lead
  4. Record the rationale for every decision

    Store the final code with the deciding rule, the headings rejected, the notes and rulings cited, the attributes relied on, the reviewer, the date and the tariff version. This file is what you show an auditor or customs officer, and how you find every affected SKU when the tariff changes.

    Output
    Classification file per SKU
    Owner
    Reviewing analyst
  5. Seek binding advice where the stakes justify it

    For high-volume or high-duty items with genuine ambiguity, apply for a binding decision. An EU Binding Tariff Information decision is valid for three years from the date it takes effect and binds customs only as against its holder7; US binding rulings are issued under 19 CFR Part 1778. Feed each decision back into the retrieval corpus.

    Output
    BTI or ruling applications
    Owner
    Trade compliance with customs counsel

Routing rules for AI-proposed tariff codes

SignalAuto-acceptAnalyst reviewSpecialist or binding ruling
Agreement between candidatesOne heading clearly ahead and stable across rerunsTwo plausible headings in the same chapterPlausible headings in different chapters or sections
PrecedentIdentical item already classified internally or covered by a ruling you holdSimilar items ruled on, but the facts differNo precedent, or rulings that point in different directions
Duty spread between candidatesNone or negligibleMaterial, but not decisive for the product's marginLarge enough to change sourcing or pricing decisions
Regulatory flagsNone attached to any candidateA license or certificate requirement attached to one candidateTrade remedies, dual-use controls or sanctions exposure attached to a candidate
Product noveltyKnown variant of an existing familyNew family built on familiar technologyNew technology or a multi-function device

Illustrative thresholds. Set your own with your broker or customs counsel.

Worked example: a smart thermostat with a Wi-Fi module

Keeping a classified catalog current

0 of 6 checked

Questions and answers

Who is liable if an AI system assigns the wrong tariff code?

The importer or declarant, not the software vendor. In the United States the importer of record must use reasonable care when declaring classification4; in the EU, the person lodging the declaration is responsible for its accuracy7. AI does not reduce that duty, but a recorded rationale, a documented review step and evidence of regular audits are what demonstrate care if a code is challenged.

Can AI help with rules of origin as well as classification?

Yes, but origin needs different evidence: the bill of materials, where each input was made and the rule in the trade agreement you want to use. Many of those rules are written as changes in tariff classification between inputs and the finished good, so accurate component codes come first. AI can match agreement rules to bills of materials and flag missing supplier declarations; a specialist should still sign the determination.

How often should a classified product catalog be rechecked?

Whenever the tariff changes, the product changes or a relevant ruling appears, plus a regular sampling audit. In the EU that means at least the annual Combined Nomenclature update; worldwide it means every HS edition, with HS 2028 the next one3. Event-driven checks catch most problems; the audit catches drift in how the model or reviewers apply the notes.

Can we rely on a binding ruling issued to another company?

Not as a binding decision. An EU BTI binds customs only as against its holder7, and a US ruling applies to the facts described in the request. Rulings issued to others are still good evidence of how authorities reason, so they belong in the retrieval corpus, but where the duty at stake is significant you should hold a decision of your own.

Sources

  1. What is the Harmonized System (HS)? — World Customs Organization · checked 10 October 2026
  2. Combined Nomenclature — European Commission, Taxation and Customs Union · checked 10 October 2026
  3. HS Nomenclature 2028 Edition — World Customs Organization · checked 10 October 2026
  4. 19 U.S. Code § 1484 – Entry of merchandise — Legal Information Institute, Cornell Law School · checked 10 October 2026
  5. European Binding Tariff Information (EBTI) database — European Commission · checked 10 October 2026
  6. Customs Rulings Online Search System (CROSS) — U.S. Customs and Border Protection · checked 10 October 2026
  7. Regulation (EU) No 952/2013 laying down the Union Customs Code — EUR-Lex · checked 10 October 2026
  8. 19 CFR Part 177 – Administrative rulings — Electronic Code of Federal Regulations · checked 10 October 2026
  9. Harmonized Tariff Schedule of the United States — U.S. International Trade Commission · checked 10 October 2026

More in Logistics

Back to Logistics

Next step

Test AI-assisted classification on one product family

Send us a sample of SKUs with their current codes and the attributes you hold. We will show where the records are too thin to classify, what candidates and rationales would look like, and which items merit a binding ruling.

Discuss a classification pilot