Pre-loader

AI Is Coming to Customs: How Agentic AI, Risk Engines and Intelligent Document Processing Are Changing Global Trade

For most of the past decade, artificial intelligence in customs lived mostly in pilot programmes, conference panels and vendor roadmaps. That changed quickly through 2025 and 2026. The World Customs Organization has spent the past eighteen months publishing formal governance frameworks for AI and machine learning adoption across its membership. National administrations from India to Nigeria are running production risk-scoring models that are directly credited with real drug and contraband seizures. The European Union has written AI-ready, real-time risk management into the next generation of its customs code. And on the commercial side, agentic systems that read unstructured documents and draft submission-ready entries have moved from demo to deployment.

None of this is speculative, and none of it is confined to a single country or a single part of the customs process. Entry-writing, valuation, fraud detection and document handling are all being reshaped at once. This article takes each strand in turn — what is already in production, which dates actually matter, and where the technology genuinely helps — before asking the only question that counts for anyone filing declarations day to day: what changes for me?

AI in Customs at a Glance
€27bn
Duties collected by EU customs authorities in 2024
1,370m+
Items handled by EU customs in 2024 alone
6.3m
“Ask HMRC” interactions in 2025 to 2026
1 Jul 2028
EU Customs Data Hub goes live for e-commerce goods
In this article: The timeline  ·  Agentic entry-writing  ·  The WCO playbook  ·  Risk engines in production  ·  EU Data Hub & HMRC  ·  What it means for declarants  ·  Where CDUK already fits

The Timeline: How Customs AI Went From Pilot to Production

Read as separate news items, each of the developments below looks incremental. Lined up in sequence, they show a single eighteen-month shift — from frameworks and pilots to production systems with budgets, contracts and statutory deadlines behind them.

From Framework to Filing: 2024 to 2034
Apr–Jun 2024
WCO runs its Global Smart Customs Survey
AI/ML, blockchain and cloud computing come back as the three technologies of greatest interest to member administrations.
Mar 2025
WCO publishes its AI/ML adoption report
The Smart Customs Project sets out technical frameworks, governance, data protection and the ethics of automated decisions at the border.
Oct 2025
Indian Customs’ ML pipeline documented in WCO News
Entity codification, network analytics and a real-time valuation model — credited with concrete seizures.
26 Mar 2026
EU agrees its landmark customs reform
Council and Parliament reach political agreement on the EU Customs Data Hub and a new EU Customs Authority in Lille.
Mar 2026
HMRC passes 28,000 Copilot licences
On the way to a target of 50,000 during the year, alongside an AI-assisted redesign of the Online Trade Tariff.
Apr 2026
African administrations accelerate
Morocco, Nigeria and South Africa are all documented running or building AI-driven risk and container-profiling programmes.
1 Jul 2028
EU Customs Data Hub live for e-commerce goods
The first phase of submit-once, EU-wide data pooling and real-time risk analytics.
1 Mar 2034
Data Hub extends to all goods movements
Full coverage of the movements EU customs handles today — the end state of the phased rollout.
Solid markers are events that have already happened; hollow markers are scheduled dates from the agreed EU rollout. Sources are listed in full at the end of this article.

Agentic AI Comes for Entry-Writing

“Agentic” is doing a lot of work in customs marketing at the moment, so it is worth being precise about what it means here. It does not mean a chatbot bolted onto a filing screen. It means a system that takes a stream of unstructured inputs — shipment data, emails, EDI feeds, PDFs — and works through them to produce a submission-ready output, checking and auditing its own work along the way rather than waiting for a human to drive each step.

What an Agentic Entry Writer Actually Does
Input
Unstructured shipment data, emails, EDI feeds and PDFs — arriving in no consistent format
Agent
Reads, extracts and reconciles the data, then drafts the entry — screening its own work as it goes
Output
A draft entry, plus any partner-government-agency filings that go with it
The hard part is never the last step. It is the first one — getting reliable, structured data out of documents that were never designed to be machine-readable.

Why the brokerage layer is the obvious target

Customs brokerage has remained a stubbornly manual profession. Licensed brokers classify goods, determine country of origin, calculate duties, check free trade agreement eligibility and secure the permits regulators require — and every one of those decisions is a judgement applied to data that first has to be read out of a commercial document. Those documents rarely arrive in a consistent format, or a consistent order, or from a consistent sender.

That is why the document-reading layer, not the judgement layer, is where automation lands first. Automate the reading and the judgement gets faster; leave the reading manual and every downstream improvement is throttled by a person retyping an invoice. It is also why the honest version of this technology does not claim to remove the declarant. Liability for what is submitted does not move, and neither does the responsibility for the calls a model cannot make on its own.


The WCO’s Institutional Playbook — and What It Looks Like on the Ground

While the commercial side races ahead, the World Customs Organization has been building the institutional scaffolding underneath it. Its Smart Customs Project, financed by the Customs Cooperation Fund of China, published a Detailed Report on the Adoption of Artificial Intelligence and Machine Learning in Customs in March 2025, covering technical frameworks, governance, risk management, data protection, MLOps capability-building — and the ethical questions of fairness, transparency and accountability that come with automated decisions at the border.

The report grew out of a Global Smart Customs Survey run between April and June 2024, which found AI/ML, blockchain and cloud computing to be the three technologies of greatest interest to WCO member administrations. What follows is what that interest looks like once it reaches production.

India: the most detailed public account of AI in production

Indian Customs offers one of the most detailed public accounts anywhere of a customs AI programme in live use. As described in WCO News in October 2025, the Central Board of Indirect Taxes and Customs built an unsupervised machine learning pipeline that turns messy free-text declaration data into structured, linked records — and then puts that structure to work.

01Clean — supplier names and addresses standardised using natural language processing
02Match — string-matching and clustering, including Jaro-Winkler and Levenshtein distance measures
03Codify — dozens of free-text variants of the same overseas supplier collapse into a single supplier code
04Repeat for goods — inconsistently worded invoice descriptions for the same product link under one standardised description ID
05Feed the models — that structured, linked data becomes the input to targeting, network analytics and valuation

Three downstream models sit on top of that foundation, and it is worth being precise about what each one does, because they are the shape most administrations are moving toward:

Predictive targeting

Scores high-risk supplier and product combinations — not individual documents in isolation, but the pairing of who is shipping what.
Network analytics

Maps relationships between suppliers, importers, brokers and ports to surface patterns no single declaration would reveal.
Valuation model

Cross-references each declared line-item value in real time against historical prices for the same product from the same supplier, generating automated reference points and instructions for front-line officers.

A related Post-Seizure Analysis Tool and Offence Database closes the loop, feeding registered fraud cases back into the risk profiles of the entities involved — so a known bad actor’s future declarations are scored accordingly. Indian Customs credits these models with contributing to concrete enforcement outcomes:

294kg
Heroin seizure from Afghanistan at Nhava Sheva Port
883kg
Methamphetamine concealed in a maritime import consignment
7.9m
Cigarette sticks — 7.9 million seized, alongside e-waste and commercial fraud cases

And well beyond India

Reporting by Baker McKenzie shows the same pattern spreading across administrations of very different sizes and budgets.

AdministrationWhat is being deployedStated aim
India (CBIC)Entity and goods codification, predictive targeting, network analytics, real-time valuation modelIn production — credited with major seizures
MoroccoAI-powered risk-management channel built with the WCO and Switzerland’s State Secretariat for Economic AffairsRisk-based channelling of consignments
NigeriaAI-driven container profiling on the B’Odogwu clearance platform50% reduction in physical cargo checks
South Africa (SARS)Customs modernisation programme built around AI-enabled risk detectionModernised, risk-led clearance

Valuation, fraud and routing analysis, in other words, is no longer a feature only the largest or wealthiest customs administrations can build.

The Point Running Through All of It

The same data infrastructure that speeds up trusted, compliant trade is also the infrastructure used to find the trade that is not compliant. A valuation model that clears a consistent, well-evidenced line in real time is the same model that escalates one that is out of line with history. Clean, consistent declarations are what earn the first outcome rather than the second.


Closer to Home: The EU Customs Data Hub and HMRC’s Own AI Push

The same direction of travel is being written directly into EU law. On 26 March 2026, the Council and the European Parliament reached political agreement on the most significant reform of the Union Customs Code framework in years. At its centre is a new EU Customs Data Hub — a single online environment through which businesses submit customs and product data once, rather than separately to as many as 27 national customs authorities — and a new EU Customs Authority, headquartered in Lille, which will run EU-wide risk management and analytics from that pooled, real-time data.

Today

Customs and product data is submitted separately, authority by authority, in national systems that do not share a live view of the same movement.

Authority 1Authority 2Authority 3up to 27

From the Data Hub

Data is submitted once into a pooled, real-time environment; the EU Customs Authority runs EU-wide risk management and analytics across it.

One submissionEU-wide risk analytics

According to the Council of the EU, the rollout will be phased: the Data Hub becomes operational for e-commerce goods from 1 July 2028, extending to cover all goods movements by 1 March 2034. The scale the system is being designed for is worth sitting with, because it explains why real-time, AI-assisted risk management is not optional at the other end.

What EU Customs Handled in 2024 Alone
2,140
Customs offices operating around the clock
€27bn
Close to this collected in duties
1,370m+
Items handled
64,000
Cases of goods presenting a risk to consumer health or safety detected
112m
Counterfeit items detained
Source: Council of the European Union. Real-time, AI-assisted risk management is being built for this volume — not for a pilot.

The UK picture: the same direction, more cautiously

The UK picture, which we covered in detail in our recent look at HMRC’s Transformation Roadmap, is moving the same way, if more cautiously — steady adoption rather than a step change.

Customer-facing

HMRC’s “Ask HMRC” assistant recorded over 6.3 million interactions in 2025 to 2026 and is being made more conversational.

The Online Trade Tariff is being redesigned into a smarter, journey-based service with integrated AI tools — framed as a 2026 to 2027 workstream rather than a finished feature.

Inside HMRC

The Microsoft Copilot rollout had reached over 28,000 staff licences by March 2026, on the way to a target of 50,000 during the year.

All of it supporting a Customs Declaration Service that facilitated more than £1 trillion of trade in goods in 2024 to 2025.


What This Means for Traders, Brokers and Declarants

Across every example above, the pattern is the same: the constraint is shifting away from how fast a person can key data, and toward how clean and structured that data is at the point it first enters a system.

Brokers and traders should expect AI to keep compressing the low-value, repetitive layer of customs work, while pushing human review toward the judgement calls that genuinely need it. That is a different shape of job, not necessarily a smaller one.

What the machine absorbs

✓  Extracting fields from invoices and shipping documents

✓  Matching and de-duplicating supplier records

✓  Flagging a declared value that looks out of line with history

✓  Repetitive line-by-line data entry across a multi-line entry

What stays with the human

●  A conflicting document that two sources describe differently

●  A borderline classification decision

●  An anomaly a model surfaces but cannot explain

●  Final responsibility for what is actually submitted

Two Dates Worth Diarising, Not Reacting To Later

For UK and EU traders specifically: the EU Customs Data Hub goes live for e-commerce goods on 1 July 2028, and HMRC’s AI-assisted Trade Tariff redesign is a live 2026 to 2027 workstream. Businesses that already have clean, structured, validated data flowing through their own systems will experience both as a change of interface. Businesses still re-keying paper documents into legacy tools by hand will find that every automated cross-check against pooled, real-time data compounds the rework rather than removing it.


How Customs Declarations UK Already Fits Into This Shift

None of this is abstract for CDUK customers, because the document-to-draft-declaration layer described above already exists inside the platform — and it is live and free across the declaration types below.

CDS ImportCDS ExportGB ENSEU ICS2NCTS Transit

Intelligent Document Processing, End to End
Upload
Shipment documents in PDF, image or Excel format
Extract
Party, shipment, commodity, value, weight, quantity and packaging data pulled automatically
Draft
A structured draft declaration — with conflicting fields flagged for the operator to confirm
Our Intelligent Document Processing capability is available across CDS import and export, ENS, ICS2 and NCTS transit.
A Deliberate Difference: Flag, Don’t Decide

Where the industry’s more ambitious agentic systems are built to resolve conflicts automatically, IDP is deliberately built the other way. When documents disagree with each other, it flags the conflicting fields for the operator to confirm rather than making the call itself — keeping the declarant in control of what actually gets submitted to HMRC.

The same automation, applied to multi-line declarations

Building a long declaration is repetitive in a very specific way: the same handful of answers, restated line after line. Automated Commodity Requirements Mapping groups those common requirements across every applicable commodity line, so operators complete them once instead of line by line — while still being able to vary the response for individual items that genuinely differ.

01Grouped across lines — VAT treatment, customs measures, excise, tariff preference and supporting document codes
02Applied in bulk — using tools such as Fill All Rows and Bulk Update Item Information
03Still variable per item — individual lines that genuinely differ can be answered differently

Cross-declaration generation takes the same principle across declaration types. The platform can generate an ENS directly from an existing import declaration, or an ICS2 entry summary declaration from an existing export declaration, in a single action — eliminating duplicate entry entirely. It happens inside one guided platform the declarant uses directly, with the data already validated at the point it was first captured.

The direction is consistent with everything above: less time spent keying data a machine can read reliably, and more of the operator’s attention spent on the judgement calls that still need a human behind them.

Document-to-declaration automation, already live and free
File CDS imports and exports, GB ENS, EU ICS2, French ELO and NCTS transit on one platform — validated in real time, pay-as-you-go, no badge, no monthly fee.
Register Now ↗Talk to Us

The Bottom Line

The WCO’s governance framework, Indian Customs’ valuation and fraud models, the wave of AI-driven risk programmes across Africa, and the EU’s Customs Data Hub are different responses to the same underlying pressure: trade volumes and document complexity have outgrown what manual review can keep up with. None of them remove the customs officer or the broker from the process; they compress the manual layer and surface risk, and opportunity, earlier.

Customs Declarations UK’s own Intelligent Document Processing and Automated Commodity Requirements Mapping sit on that same trajectory — already doing the document-to-draft-declaration work live and free across CDS import and export, ENS, ICS2 and NCTS transit, while keeping the final decision with the person filing.

In One Sentence

AI has moved from customs pilot programmes into production risk scoring, real-time valuation and statutory EU infrastructure — and the balance that defines the next few years will be faster first-pass preparation with the declarant still in control of submission.

Sources: World Customs Organization, Smart Customs Project releases a detailed Report on the Adoption of AI/ML in Customs (28 March 2025) and WCO News 108, Issue 3/2025; Baker McKenzie, South Africa: Customs authorities accelerate modernisation through AI (April 2026); Council of the European Union, EU customs: Council and Parliament agree on landmark reform (26 March 2026); HM Revenue & Customs, HMRC Transformation Roadmap: update 2026.