border.bot

The Future of HS Classification: Harnessing the Power of AI

Use AI to recommend HS codes, collect customs evidence, manage HS 2028 changes, and connect product classification to landed cost.

By border.bot team, , 19 min read

AI will make HS classification faster and more evidence-driven, but it will not make an HS code legally permanent or remove the need for human review. The next hard deadline is January 1, 2028, when HS 2028 takes effect with 299 amendment sets, so every merchant and software team needs versioned product-classification data before then.

Rules as of November 12, 2026.

Artificial intelligence can recommend codes, retrieve comparable rulings, identify missing product facts, and route uncertain products to the right person. It cannot turn a vague product title into a defensible customs decision without evidence, destination-specific tariff logic, and an audit trail.

What ecommerce teams should do now

  • Treat every HS result as a versioned recommendation tied to a product record, destination, and nomenclature edition rather than a permanent product attribute.
  • Collect material, composition, function, technical specifications, images, origin, and intended use before relying on an AI classification result.
  • Separate the global six-digit HS recommendation from the destination’s national tariff line, current duty measures, taxes, and origin-sensitive tariffs.
  • Build a human-review path for high-duty, regulated, ambiguous, and high-volume products because AI outputs are not legally binding on their own.
  • Plan an HS 2028 migration now by comparing your current catalog against the WCO correlation tables before the January 1, 2028 effective date.

What does AI change in HS classification?

AI changes the workflow around HS classification more than it changes the legal test itself. Customs authorities still classify goods under the Harmonized System, national tariff schedules, legal notes, and published interpretations. AI can reduce manual research and improve data quality, but merchants still need evidence, review controls, and destination-specific tariff resolution.

An HS code is the six-digit product classification used internationally to describe goods for customs purposes. Countries then extend that six-digit code into their own tariff lines for duty, tax, reporting, trade-remedy, and regulatory purposes.

That distinction matters because a product does not have one universal import outcome. It has a classification path. The path starts with the product itself, then moves through the applicable HS nomenclature edition, the importing country’s tariff schedule, the product’s origin, customs value, and any additional measures.

A merchant selling cotton shirts, cosmetics, electronics, spare parts, supplements, or medical products already has the raw material for a better classification process. Product information exists in supplier PDFs, bills of materials, lab reports, product listings, images, packaging, purchase orders, and customer-facing descriptions. The problem is that the information is usually scattered, inconsistent, or written for shoppers rather than customs.

AI is useful when it turns those scattered records into a structured request for facts. A good system does not merely return a code. It explains which facts support the recommendation, identifies what facts are missing, shows nearby alternatives, records the nomenclature version, and sends uncertain cases to a reviewer.

an ecommerce operations manager reviewing product samples, material labels, technical sheets and a laptop at a packing table, with parcels waiting for international dispatch

The legal classification method is not replaced by probability. The General Rules of Interpretation still determine how goods are classified. Product descriptions, section notes, chapter notes, heading text, subheading text, and applicable national rules remain the controlling framework.

AI is therefore best understood as classification decision support. It can accelerate the work, but it cannot eliminate accountability.

Why is HS classification becoming an AI problem now?#

HS classification is becoming an AI problem because ecommerce catalogs are larger, product data is less standardized, customs requirements are more granular, and product information changes more often than most merchant systems can track. HS 2028 adds a fixed migration deadline that makes version management a business requirement rather than a technical preference.

The World Customs Organization says that the eighth edition of the Harmonized System, HS 2028, enters into force on January 1, 2028 after the six-year review cycle. The edition includes 299 sets of amendments, resulting in 1,229 headings and 5,852 subheadings.

The changes are not cosmetic. HS 2028 includes six new headings, 428 new subheadings, five deleted headings, and 172 deleted subheadings. The World Trade Organization reports that the update will create 38 dedicated customs codes for vaccines and other essential medical goods, including facemasks, personal protective equipment, ambulances, and mobile clinics. Those new codes take effect on January 1, 2028. The WTO announcement illustrates why product categories that appear stable can still change beneath a merchant’s catalog.

The WCO publishes correlation tables between HS 2022 and HS 2028. Those tables give classification teams a concrete migration starting point. They do not remove the need to evaluate products, because an old code can map to multiple new codes or a new classification can depend on product facts that were not previously captured.

HS 2028 adds more subheadings than it removes

Source: World Customs Organization, HS 2028 Amendments, January 21, 2026

The data
HS 2028 adds more subheadings than it removes
HS 2028 nomenclature changeNumber of HS 2028 changes
New headings6
Deleted headings5
New subheadings428
Deleted subheadings172

The main takeaway is that catalog migration work will be concentrated at the subheading level, where ecommerce teams often store the least complete supporting evidence.

A merchant with a few hundred SKUs can review changes manually. A marketplace, fulfillment platform, or retailer with tens of thousands of active products needs automation to find potentially affected goods, request missing attributes, and prioritize review by commercial risk.

How does an AI classifier actually work?#

An AI HS classifier works by comparing a product’s available facts with patterns in previously classified goods, tariff descriptions, legal text, rulings, and structured product data. The useful output is not merely a predicted code. The useful output is a ranked recommendation, a reasoning record, alternatives, evidence gaps, and a route to a human decision.

The earliest AI systems for tariff work often relied on text similarity. A merchant supplied a product title such as “wireless phone,” and the system searched code descriptions or historic declarations for similar phrases. That approach can help with simple products, but it breaks down quickly.

A product title may omit the facts that decide classification. “Steel bottle” could mean insulated drinkware, a vacuum flask, a decorative container, a pressure vessel, or a component. “Plastic case” may be a retail container, a protective carrying case, a packaging article, or a part of another product. “Smart watch” may require information about its principal function and technical capabilities.

Modern AI workflows should combine several sources of evidence:

  1. Structured product attributes: material, dimensions, power source, composition, technical specifications, quantity, packaging, and intended use.

  2. Unstructured documents: supplier specifications, invoices, catalog PDFs, declarations of conformity, safety data sheets, laboratory reports, and product manuals.

  3. Images: product photographs, labels, packaging, components, and any markings that reveal material or function.

  4. Customs sources: HS text, explanatory notes where available, national tariff schedules, published rulings, and agency guidance.

  5. Merchant history: prior classifications, correction history, broker feedback, returns, customs holds, and proven supplier data.

The WCO’s March 2025 report on AI and machine learning in Customs says that relevant data can include structured declaration, tariff-classification, transaction, and valuation data, alongside unstructured scanned documents, images, emails, and intelligence reports. The report also identifies inaccurate, incomplete, inconsistent, or outdated data as a source of flawed predictions. Its implementation guidance recommends cleansing, normalization, structuring, labeling, and validation before using data in Customs AI systems. The WCO report is consultant-developed material under the Smart Customs Project and does not necessarily represent official WCO, Member, or Secretariat positions.

That is a practical warning for merchants. Better prompting cannot repair bad product data. If the seller knows only “other chemical product” or “women’s accessory,” the AI cannot responsibly infer a legally supportable tariff line from the title alone.

Product titles are not classification evidence#

Product titles are useful for search and merchandising, but product titles are weak customs evidence because they omit the material, composition, construction, and function that tariff schedules use to distinguish goods. An AI system should use a title as an entry point, then request the missing facts needed to test the possible headings.

Consider HS 293399. It sits in Chapter 29, Organic chemicals, and Heading 2933, heterocyclic compounds with nitrogen hetero-atom(s) only. Yet its subheading description is effectively “Other: Other.” The HS 293399 record shows why a residual code must not become a shortcut for vague product data.

A seller listing “research chemical” or “chemical additive” does not provide enough information to reach a defensible residual chemical classification. The workflow should ask for chemical structure, composition, CAS number where applicable, concentration, formulation, physical form, and intended use. It may also need a safety data sheet or laboratory documentation.

The same issue appears outside chemicals. For textiles, fiber composition, knit versus woven construction, garment type, gender or wearer category where relevant, and weight can change classification. For electronics, connectivity, processing capability, principal function, screen features, and included accessories can matter. For furniture, material and function often matter more than the marketing category.

close-up editorial illustration of unlabeled consumer products beside technical specification sheets, ingredient lists, fabric swatches and electronic components on a workbench

Probability scores are useful because they help teams prioritize review, but they are not legal conclusions. A score represents the model’s confidence based on its training data and inputs. It does not establish that the first recommendation is the correct legal classification for every destination, transaction, or product variant.

The WCO BACUDA project provides a useful example of what recommendation systems can do. The WCO describes a model that accepts commercial descriptions and returns recommended HS codes with probabilities, nomenclature descriptions, and trade-data statistics. The BACUDA project page says the algorithm was trained and evaluated using Customs data voluntarily provided by the Nigerian Customs Service.

Research can also demonstrate the potential value of explainable recommendations. A study using Korea Customs Service data reported 93.9% top-three accuracy across 925 challenging HS subheadings, evaluated against 5,000 recent classification-request cases. The study also included a user study involving 32 customs experts. The result is meaningful because it suggests an explainable system can narrow difficult options for trained reviewers. It is not a claim that 93.9% of first-choice recommendations are legally correct in every production environment. The study measures top-three recommendation performance, not universal compliance accuracy.

A strong operational rule follows: use model confidence to decide how much review a product needs, not to claim that a product is legally settled.

Why must AI systems store the HS version?#

AI systems must store the HS version because an accurate classification under HS 2022 may require review under HS 2028, and a code without its nomenclature edition is incomplete data. The code, the version, the effective period, the evidence, and the decision owner must all travel together in the product record.

A merchant should not store only hs_code: 851713. A durable classification record should contain at least:

  • Product identifier and product variant.

  • Six-digit HS code.

  • HS nomenclature edition.

  • Destination-specific tariff line where relevant.

  • Country of origin.

  • Decision date and reviewer.

  • Evidence used.

  • Explanation for the chosen heading and subheading.

  • Alternative codes considered.

  • Confidence or review status.

  • Next review date or triggering event.

The HS 2028 transition creates a clear use case. A retailer might have a valid HS 2022 record today, but the record should be flagged for migration review if the WCO correlation tables indicate a split, deletion, or new specific subheading.

HS 2028 classification migration timeline

  1. January 21, 2026

    HS 2028 amendments announced

    The WCO published information on 299 amendment sets and the revised HS nomenclature.

  2. November 12, 2026

    Merchant preparation point

    Audit product records, identify missing evidence, and map active codes to the WCO correlation tables.

  3. January 1, 2028

    HS 2028 enters into force

    The eighth edition of the Harmonized System becomes effective after the six-year review cycle.

World Customs Organization, HS Nomenclature 2028 Edition; WCO HS 2028 Amendments, January 21, 2026

The most useful migration process is not “replace all codes.” It is “identify products whose classification evidence is insufficient for the new decision.” If one old subheading maps cleanly to one new subheading, the review may be light. If one old code splits into multiple possibilities, the merchant needs more product facts.

Version control needs to include tariff content, not only codes#

Tariff content needs version control because the same six-digit HS code can resolve differently across destinations and can be affected by national tariff changes, trade remedies, origin rules, and agency requirements. The code is one part of the import decision, not the full import decision.

Take smartphones. At the global level, HS 851713 covers smartphones. In the United States, the national tariff line is 8517130000, described as “Smartphones.” The United States lookup for HS 851713 shows the second stage every AI system must perform: resolve the destination-specific line after recommending the six-digit HS code.

The global six-digit subheading is not enough for a US customs entry, an EU import declaration, or a UK commodity-code lookup. The national extension can determine duty treatment, reporting requirements, statistical classification, and the application of additional measures.

A system should therefore model at least three separate decisions:

  1. What is the product under the international HS structure?

  2. What national tariff line applies in the destination?

  3. What duty, tax, fee, trade remedy, restriction, and agency requirement applies to the specific transaction?

Conflating those decisions is one of the most common errors in product-data systems. It creates a false sense that a single code answer has already calculated the landed cost.

What should a merchant ask an AI classifier to do?#

A merchant should ask an AI classifier to collect evidence, propose ranked classifications, explain uncertainty, retrieve relevant authority, and generate a review-ready record. A merchant should not ask an AI classifier to guess silently from a short title, overwrite historical decisions without review, or present a probability score as a customs ruling.

The best workflow starts before classification. Build product intake fields that force the commercial team or supplier to provide customs-relevant facts before the item goes live.

For a typical consumer product, collect:

  • Clear product name.

  • Product photographs from multiple angles.

  • Material composition by percentage where relevant.

  • Principal function and intended use.

  • Technical specifications.

  • Ingredients or chemical composition for chemical, cosmetic, food, and health-related goods.

  • Product dimensions and unit weight where relevant.

  • Packaging details.

  • Country of origin.

  • Supplier documents.

  • Product URL and internal SKU.

  • Whether the item includes batteries, radio equipment, children’s use, food-contact materials, medical claims, or other regulated characteristics.

The information should be specific enough for a customs reviewer to understand the product without looking at the consumer listing. The guidance in how to write product descriptions customs accept is useful here: name what the product is, what it is made of, and what it does.

Evidence to collect before accepting an AI recommendation

0/8

A better AI prompt is a better intake form#

A better AI prompt is a structured product packet, not a longer sentence typed into a chat window. Free-form prompts can help classify an individual item, but repeatable ecommerce operations need fields, source documents, and validation rules that limit what can be omitted.

A weak request might be:

“Classify women’s travel bag.”

A better request might be:

“Classify a retail travel bag designed to carry personal items. Outer surface is 100% polyester textile. Lining is polyester. Dimensions are 45 cm by 30 cm by 20 cm. It has a zipper closure, shoulder strap, internal pockets, and no rigid frame. Made in Vietnam. Sold as a standalone consumer article.”

The second request does not guarantee a final answer. It gives the system information that can be checked against heading text and competing classifications.

For programmatic workflows, the same principle applies. Your API schema should accept source documents and structured product attributes. It should return the recommended code, alternatives, confidence, evidence used, missing facts, nomenclature version, and destination-specific resolution status. The border.bot Classify documentation describes an example of this pattern, including confidence, reasoning, alternatives, and destination code systems.

When should a human review an AI classification?#

Human review should be mandatory when the product is ambiguous, regulated, high-value, high-volume, subject to significant duty exposure, or likely to be challenged by customs. Human review is also needed when product evidence conflicts, when a residual tariff provision is proposed, or when an AI result changes an existing classification without a documented product change.

The WCO’s 2025 AI and machine-learning report says Customs AI needs human-in-the-loop review because officers must validate outputs against legal and regulatory standards, provide contextual understanding, and remain accountable for decisions. That principle applies equally to merchants, customs brokers, marketplace operators, and software providers.

A practical review model has three lanes.

The first lane is low-risk, well-documented products with stable prior treatment. For example, a simple product that has complete material and function data, has been classified consistently, and is not subject to special restrictions may be eligible for expedited review.

The second lane is ordinary review. These are products where AI produces a plausible recommendation but there are alternatives, a new supplier, a new origin, or incomplete supporting documentation. A trained internal reviewer or customs broker confirms the result.

The third lane is specialist review. These include chemical products, medical or diagnostic goods, food, children’s products, products with controlled technology, articles with complex composite materials, and goods exposed to significant duty or trade-remedy consequences.

customs classification reviewer comparing a product sample with a tariff book, a laptop showing product specifications, and a warehouse shelf of labeled parcels

High confidence does not mean low consequence#

High model confidence does not mean low consequence because a model can be confidently wrong when its inputs are incomplete, misleading, or outside the training pattern. Review priority should reflect the cost of a mistake as well as the model’s confidence score.

A low-confidence recommendation for a low-value accessory may be manageable through ordinary review. A high-confidence recommendation for a chemical mixture, medical product, or large-volume import program can still need specialist validation because the commercial and regulatory consequences are larger.

Do not set one universal auto-approval threshold. The research does not establish a universal confidence level at which merchants can safely accept a classification. The right policy depends on product risk, destination, duty exposure, historical validation, and whether the product has a formal ruling or binding decision.

Use your own validation history. Track where AI recommendations were accepted, corrected, or rejected. Measure error patterns by product category, supplier, destination, and data completeness. If one supplier repeatedly provides vague composition data, the control should be better supplier intake, not a larger language model.

What role do rulings and BTI decisions play?#

Rulings and Binding Tariff Information decisions remain the legal-certainty route for classifications where the commercial consequences justify formal confirmation. AI can find relevant rulings and prepare evidence, but it does not replace a decision issued by the competent customs authority.

In the European Union, a Binding Tariff Information decision is generally valid for three years throughout the EU and binds both EU customs administrations and its holder. The European Commission’s EBTI guidance says applications require a separate application for each product type, with a detailed goods description and images or samples where possible.

That requirement is a useful design specification for an AI-assisted workflow. If a merchant would need detailed goods information, images, or samples to seek legal certainty, the same evidence should be captured before the merchant relies heavily on an automated recommendation.

An EU BTI can cease to be valid when the Combined Nomenclature or another dependent nomenclature changes. It can also be revoked following changes to HS or CN explanatory notes, court judgments, or WCO classification decisions. That makes version control and decision monitoring necessary even after a formal decision is obtained.

In the United States, CBP advance rulings can address tariff classification. Published rulings can be researched through the Customs Rulings Online Search System, known as CROSS. CBP’s rulings page confirms that tariff classification is among the subjects that can be addressed through advance rulings.

CROSS is valuable for retrieval, but a no-result search is not proof that no relevant precedent exists. CBP says the collection spans 1989 to the present, while also cautioning that not all Headquarters and New York rulings are included. The CBP CROSS guidance should shape how AI retrieval systems phrase results: “No relevant ruling found in this search” is honest. “No relevant ruling exists” is not.

How should AI connect classification to landed cost?#

AI should connect classification to landed cost through a separate calculation stage that resolves the national tariff line, customs value, origin, duty treatment, import taxes, fees, and current measures. An HS recommendation answers what the goods may be. It does not, by itself, answer what the shipment will cost to import.

The calculation order matters. Start with product classification. Resolve the importing country’s national tariff line. Determine origin. Determine the customs value under the destination’s valuation rules. Apply the ordinary customs duty rate and any origin-based preference. Then apply additional duties, import tax, fees, and carrier or clearance charges where applicable.

For a detailed explanation of customs valuation and duty types, read how customs duty is calculated. The same product can face an ad valorem duty, a specific duty, a compound duty, an additional tariff, or a combination of measures depending on the destination and origin.

Worked example: a smartphone order into the United States#

A seller ships one smartphone from South Korea to a buyer in the United States. The product is correctly identified at the global level as HS 851713, the six-digit subheading for smartphones. The US national tariff line is 8517130000, “Smartphones,” as shown in the US tariff-line lookup.

The first AI task is to establish that the product is a smartphone rather than another telephone set, communication device, accessory, or component. The evidence should include the product specification, cellular or wireless-network capability, principal function, product photographs, model number, and manufacturer documentation.

The second task is destination resolution. The United States does not clear imports using only the six-digit HS subheading. The system must resolve the ten-digit tariff line, then check the current measures associated with the declared origin and entry circumstances.

The third task is cost calculation. The landed-cost engine needs the transaction value, shipping and insurance treatment where applicable, origin, importer details, and current tariff measures. Those inputs determine whether customs duty, additional duties, taxes, fees, or other charges apply.

The order cannot be priced responsibly from “HS 851713” alone. The importer should not assume that a six-digit recommendation is also a final duty quote. The landed cost calculator exists for this second stage, using destination-specific tariff output rather than a generic product-code guess.

Check the current US duty, taxes, and fees for a smartphone after confirming the product’s origin and value.

Calculate landed cost

Identify the product

The US, UK, Canada, the EU-27 and more. Coverage is checked when you run it.

Why it’s being sent

Checking your free runs…

The breakdown will appear here

Every duty, fee and tax line with the rate used, the de minimis check, any conditional measures, and the total your customer pays to receive the parcel.

Duties
Customs duty and any additional duties for this origin
Fees
Government processing fees where they apply
Taxes
Import VAT or GST, charged on value plus duty

The lesson is not that every smartphone has the same import cost. The lesson is that classification, national tariff resolution, origin analysis, and calculation must remain separate records in the workflow.

What should ecommerce platforms build before 2028?#

Ecommerce platforms should build versioned classification records, evidence capture, review queues, tariff-line resolution, and change monitoring before HS 2028 takes effect. The practical target is a system that can explain every product decision, identify affected SKUs when nomenclature changes, and update checkout pricing without overwriting historical records.

Start with the catalog. Identify active SKUs, variants, bundle components, replacement parts, and private-label goods. Remove dead products from the first migration wave. Then check whether each remaining record has the evidence needed for classification.

Next, separate product facts from customs conclusions. Product facts include material, dimensions, function, ingredients, origin, and technical data. Customs conclusions include HS code, national tariff line, duty treatment, restrictions, and filing requirements. A change to the product facts should trigger reassessment. A change to tariff law should trigger tariff-resolution review.

Then create a change-monitoring process. Monitor HS edition changes, national tariff updates, trade remedies, agency requirements, rulings, and supplier changes. HS 2028 should be one scheduled event within a broader compliance-maintenance process.

For businesses selling across many markets, use destination-specific outputs at checkout. The same SKU should not display one universal “duty included” price if the calculation differs by buyer destination, origin, customs value, or local tax treatment. The broader landed-cost guide explains the components that sit beyond the product’s base price.

Sources#

Frequently asked questions about AI HS classification

Can AI assign an HS code automatically?

AI can recommend an HS code automatically, but a recommendation is not the same as a legally binding customs decision. The workflow should retain evidence, alternatives, nomenclature version, and human review controls where the product or commercial risk requires them.

Will HS codes change in 2028?

Yes. HS 2028 enters into force on January 1, 2028. The WCO says the edition includes 299 amendment sets, including new and deleted headings and subheadings. Merchants should use WCO correlation tables to identify products requiring review.

Is an AI confidence score enough to accept a tariff code?

No. Confidence measures the model’s assessment based on its inputs and training patterns. It does not replace legal review, product evidence, destination-specific tariff analysis, or a formal ruling where legal certainty is needed.

What information does AI need to classify a product accurately?

AI needs more than a product title. Collect material, composition, principal function, intended use, technical specifications, images, dimensions where relevant, supplier documents, and country of origin. Some products also need laboratory, ingredient, or chemical-structure information.

Does a six-digit HS code tell me the import duty?

No. A six-digit HS code identifies the global product subheading. Duty depends on the importing country’s national tariff line, origin, customs value, current tariff measures, taxes, and fees. Resolve those factors separately before quoting landed cost.

When should a seller apply for a BTI or US advance ruling?

Consider a formal decision when classification has material commercial consequences, the product is technically complex, the duty exposure is significant, customs treatment is uncertain, or the product will be imported repeatedly. In the EU, a BTI is generally valid for three years and binds EU customs administrations and the holder.

All guides