
The World Customs Organization has built an AI model that reads the commercial description of a good (the line a trader types on an invoice) and returns likely Harmonized System codes, with a probability beside each one. The model learns from historical customs data. Its demonstration tool also shows statistics on importers, customs agents and exporting countries. For an East African importer, the cheapest AI upgrade available this month is a better sentence about what is in the box, written before the truck reaches Malaba or Busia.
Key Takeaways
- Customs-side AI starts from the commercial description of goods. A precise description is therefore the shared starting point for your clearing agent and for any software the authority runs.
- The WCO’s HS recommendation model, reported in May 2022, predicts codes from descriptions using historical data. Its training course uses data volunteered by the Nigerian Customs Service.
- Classification errors are common even in rich countries. The Auditor General of Canada estimated that 20 per cent of goods brought into Canada in the 2015 to 2016 fiscal year were misclassified.
- Border paper is moving online. The EAC digital customs bond was piloted in Uganda from August 2025, and in September 2026 Afreximbank put a US$29 million guarantee behind its expansion.
- The Draft-Check-Declare Chain keeps AI at the drafting desk. The model drafts, a person checks the goods, the licensed agent declares, and the owner files the record.
- Under EAC rules the owner of the goods answers for what her authorized agent does. Treat every AI code as a question for the agent, and test any tool on your own past entries before you pay for it.
What customs’ own AI reads when your goods arrive
The Harmonized System is the shared vocabulary of customs. Every good that crosses a border gets a code, and that code sets the duty rate, the permits required and often the level of inspection. Classification is also where small traders lose money quietly. One product can look as if it belongs under several headings, and the gap between two headings can swallow a whole margin.
The problem is wider than small traders. In a 2024 World Customs Journal paper, Andrew Grainger cites the Auditor General of Canada’s estimate that 20 per cent of goods entering Canada in the 2015 to 2016 fiscal year were misclassified. Grainger lists the cases that trip people up, including processed food products whose classification depends on the specific recipe.
The WCO’s BACUDA expert team, with support from CCF-Korea, built a neural network to help customs officers with exactly this problem. Freight News reported in May 2022 that the model uses historical data to predict HS codes from the commercial descriptions of goods. The accompanying online course trains the model on data provided by the Nigerian Customs Service. Member administrations can download the source code and arrange a joint test with the BACUDA experts.
Two caveats, stated plainly. The report is four years old, and it describes a tool offered to customs administrations. In preparing this piece we were unable to confirm whether any East African authority runs this model, or a descendant of it, today. The direction is clear all the same. Authorities are building classification help on the same raw material you supply: a line of text describing the goods.
East African customs already runs machine monitoring at the border. In a World Customs Journal case study of the Regional Electronic Cargo Tracking System (RECTS) at Uganda Customs, Kugonza Julius and Mugalula Christabel found an average transit time of 8.7 hours for e-seal transits, against 12.10 hours for normal seals over the same distance. URA data in the same paper shows the share of e-monitored transits rising from 6.43 per cent in 2014 to 21.02 per cent in 2018. Those figures cover cargo tracking, which is a different job from classification. They do show the region’s customs administrations treating trader data as something machines watch.
Here is an illustrative case, labeled as such. A Kampala importer of food packaging writes only plastic containers on her supplier’s invoice. Those two words cover lunch boxes, industrial drums and pharmacy bottles. A clearing agent has to guess or phone her, and a description-reading model has to spread its probability across several chapters. Now suppose the invoice names the material (polypropylene), the use (retail takeaway food), the closure (snap lids) and the packing (cartons). Every reader downstream, human or machine, now has something firm to work with.
General AI models are good at exactly this conversion. Paste in a supplier’s product listing or a specification sheet. Ask for a customs description covering material, function, composition, packing and country of manufacture, and ask the model to list the questions it still has. Those questions are often the ones the officer at the window would ask.
The border paperwork is going digital
The same shift is happening with the guarantee that sits behind a shipment. Customs bonds give authorities financial security for duties and taxes that may become payable while goods are in transit. The digital version reduces the need to submit physical bond documents as goods move across borders.
The EAC Customs Bond platform lets eligible users obtain and process those bonds online. According to Afreximbank, the EAC Secretariat began piloting the digital bond in Uganda in August 2025. Rwanda and Burundi joined in January 2026, and the platform was formally launched at the EAC Heads of State Summit in March. In September 2026, Freight News reported that Afreximbank had issued a US$29 million guarantee to BSMART Technology to expand it. Kanayo Awani, Afreximbank’s Executive Vice-President for Intra-African Trade and Export Development, said the bank’s support was aimed at “cutting costs and improving the efficiency of customs procedures.”
For a small exporter, the consequence is simple. As bonds, declarations and manifests move into systems, the documents you hand your agent stop being folders and become data. Suppose your packing list shows a different carton count from your invoice. At a counter, a person once smoothed that over. In a digital file, it sits on a screen with your company name beside it.
The Draft-Check-Declare Chain
Call it the Draft-Check-Declare Chain. It has four rungs, each rung has one owner, and AI works only on the first.
Draft. AI writes the first version of the description sheet for each product on the consignment: material, function, composition, packing and origin, plus the supplier’s own code if one was offered. It can also draft the packing list from the invoice and flag any line where quantities, weights or unit counts disagree. This rung is where the hours go today, and it is where a model saves them.
Check. A person in your business compares every line against the physical goods, the supplier invoice and photographs of the cartons. The model has never seen the box. Your storekeeper has, and a careful look from her catches the error before it surfaces at the border. The EAC Secretariat states the owner’s duty in plain terms: the client must give the agent the documents unaltered and “equip the agent with a true and correct position to avoid misrepresentation.”
Declare. Your licensed clearing agent prepares and presents the declaration. Hand the agent the description sheet with the AI’s candidate codes written as questions: is this right, and why? Write the agent’s answer down.
File. Keep a classification log for every product you move. Record the description used, the code declared, who decided, the date, and any query or ruling from customs. The next shipment starts from the log, and the log stays with the business when a staff member or an agent moves on.
The log also gives you an answer key. When a vendor offers an AI customs tool, run the descriptions from your past clean entries through it and compare its codes with the codes that cleared. Grainger argues that the value of these tools depends on how well they understand HS-relevant characteristics, the quality of their data and how well they were trained. Your own history is the cheapest way to measure all three. If a tool often disagrees with your history, come back to it next year.
The clearing agent’s case against
The strongest objection comes from the people who clear goods for a living. Here it is at full strength. Classification is a legal judgment built on the tariff rules, the explanatory notes and years of seeing what officers accept at a particular border. A general chatbot uses the same confident tone whether it is right or wrong, and it carries none of the cost. When the code is wrong, the importer pays. An owner who arrives with machine-made codes has handed the agent a second opinion to correct, and that adds work to the job.
The law backs the agent on cost. The EAC Secretariat’s guidance says the owner of goods is responsible for what her authorized agent does while acting for her, and that both can be prosecuted for unlawful acts done on her behalf. The agent also holds a license from the Commissioner of Customs that is renewed every year, and the owner holds no such license.
We concede most of that case. The agent is right about the confidence problem and right about who pays. That is why the chain leaves the declaration with the agent and treats every AI code as a question. Where we part company is on the description. The owner knows the goods better than anyone else in the transaction, and a sheet that names material and use shortens the agent’s work. The model’s job is to help the owner say clearly what she already knows.
Two further risks belong here too. Invoices carry supplier prices, margins and bank details. Paste descriptions and specifications into consumer chatbots, and keep the commercial terms out until you know where your prompts actually go. For goods claiming regional or AfCFTA preferences, AI can put the origin file together, but the proof still comes from your purchase and production records, as the rules-of-origin paperwork piece sets out in detail.
What the evidence supports so far
This piece rests on five documents we checked directly: two trade-press reports, one EAC Secretariat guidance page and two World Customs Journal papers. We found no published accuracy figure for AI classification tools used by traders in Uganda, Kenya or Tanzania, and we would rather say so than borrow a vendor’s number. Grainger describes AI classification tools as meeting with varying success, which matches what we found.
The evidence does support three narrower points, and they are still useful. Customs administrations are building models that read goods descriptions. Uganda’s customs service already monitors transit cargo electronically. And the region’s border guarantees are moving onto digital platforms. All three reward the trader whose paperwork is consistent from one consignment to the next. The duty rates themselves sit in the EAC Common External Tariff, and the CET piece for SME importers covers how those rates reach your landed cost.
A just weight at the border
The usual reason to care about customs paperwork is cost: pay the lowest duty the law allows and wait the shortest time at the border. That frame is right, and a founder should pursue both with energy. Yet the analysis above has already shown where it runs out. The authorities’ tools learn from historical data and display statistics on importers and agents, so your record travels with every truck. EAC rules already put the owner on the hook for her agent’s acts and ask her to give a true and correct position. A frame that chases the lowest duty on each shipment tempts a founder to shade the description toward a cheaper heading, and each shading feels minor on a Tuesday. Proverbs 11:1 sets the false balance against the just weight. The just weight gives what the cost frame was reaching for and could only chase shipment by shipment: a record consistent enough that officers and agents learn to trust it, which is the kind of speed that lasts. Integrity at the border is stewardship of a reputation that grows over time. A small firm builds that reputation by writing an honest description once and reusing it.
Frequently Asked Questions
Can AI choose the HS code for my goods?
It can suggest candidates, and customs administrations are building models that predict codes from goods descriptions. The licensed agent who lodges the entry should make the choice. Under EAC rules the owner answers for the agent’s acts and carries the cost of a wrong code. Treat each AI code as a question, and log the agent’s reasoning.
Is the EAC digital customs bond live in Uganda?
According to Afreximbank, the EAC Secretariat began piloting it in Uganda in August 2025. Rwanda and Burundi joined in January 2026, and the platform was formally launched at the EAC Heads of State Summit in March. Ask your clearing agent whether their guarantor issues bonds on it, and what that changes for your consignments.
What should I paste into a chatbot?
Paste product descriptions, specification sheets and supplier listings, then ask for a complete customs description and a list of open questions. Keep supplier prices, bank details and customer names out of consumer tools until you have read where the data goes. A better description is what improves classification, and writing one seldom requires your margins.
How do I test an AI customs tool before paying for it?
Pull the descriptions from your recent entries that cleared without a query and run them through the tool. Compare its suggested codes with the codes that actually cleared. Where it disagrees, ask your agent which is right and why. If a tool often disagrees with your own clean history, come back to it next year.
Does AI help with rules of origin?
Partly. A model can put the origin file together, list the inputs and match them to supplier invoices, which saves real hours. The proof itself comes from your purchase and production records. If those records are thin, the model will produce a tidy file with weak evidence inside it, and a file like that still fails a customs check.
Next Step
Before your next consignment leaves the supplier, build the description sheet and start the classification log for every product on it. Then take both to your agent for one conversation. To see where paperwork sits among the other gaps in your operation, take the AVODA Business Capability Assessment this week. It shows which gap to close first, so your next shilling goes to the one that is costing you most.
Related Reading
- AfCFTA Rules of Origin: The Paperwork Is the Product
- The EAC Common External Tariff and the SME Importer
- Where Your Prompts Actually Go: Data Residency for African Firms
- Logistics 2.0: The Real Cross-Border Freight Opportunity
Sources and Evidence
- How Artificial Intelligence (AI) can help Customs in automating HS Classification (Freight News, 3 May 2022, reporting the WCO report): the WCO BACUDA HS recommendation model, its use of historical data and commercial descriptions, the Nigerian Customs Service training data, and the importer and agent statistics in its demonstration tool.
- US$29m guarantee backs East African customs bond (Freight News, 24 Sep 2026): the EAC digital customs bond, its Uganda pilot from August 2025, Rwanda and Burundi joining in January 2026, the March launch, the US$29 million Afreximbank guarantee and the Kanayo Awani quote.
- Customs Agent (East African Community Secretariat): agent licensing by the Commissioner and annual expiry, the agent preparing and presenting declarations, owner liability for the agent’s acts, and the client’s duty to give a true and correct position.
- Customs Tariff Classification and the Use of Assistive Technologies (Andrew Grainger, World Customs Journal, vol. 18 no. 1, 2024): the Auditor General of Canada’s 20 per cent misclassification estimate for 2015 to 2016, the recipe-dependent food products example, AI tools’ varying success, and what their value depends on.
- Effectiveness and efficiency of artificial intelligence in boosting customs performance: a case study of RECTS at Uganda Customs administration (Kugonza Julius and Mugalula Christabel, World Customs Journal, vol. 14 no. 2): e-seal versus normal-seal transit times (8.7 and 12.10 hours) and the e-monitored share of Uganda transits rising from 6.43 per cent in 2014 to 21.02 per cent in 2018.
