UK Tax Authority to Deploy AI to Detect Fraud and Tax Return Errors
TL;DR
HM Revenue and Customs has awarded London-based Quantexa a £175 million, ten-year contract to deploy AI and data analytics across its tax compliance operations, aiming to close a tax gap that has ballooned to nearly £47 billion. The deal raises urgent questions about algorithmic bias, taxpayer rights under new UK data protection law, and whether pattern-matching AI can address the structural causes of tax loss — nearly half of which stems from carelessness and errors rather than deliberate fraud.
On 14 May 2026, HM Revenue and Customs announced a £175 million, ten-year contract with Quantexa, a London-based AI and data analytics firm, to overhaul the agency's data infrastructure and deploy artificial intelligence across tax compliance, fraud detection, and customer service . The deal is one of the largest government AI procurement contracts in UK history and arrives as HMRC confronts a tax gap — the difference between taxes owed and taxes collected — that has surged to £46.8 billion .
The contract sits at the intersection of several high-stakes policy questions: whether algorithms can reliably distinguish fraud from honest mistakes, whether the technology will disproportionately target vulnerable taxpayers, and whether £175 million spent on AI would recover more revenue than the same sum invested in human investigators.
The Contract: What £175 Million Buys
Quantexa's platform will modernise HMRC's core data infrastructure, creating a unified view across datasets that currently sit in separate systems — income tax, corporation tax, VAT, and customs records . The company's entity resolution technology links records that refer to the same individual, company, or transaction across fragmented databases, then layers machine learning on top to flag anomalies .
The contract covers three broad capabilities: data integration, AI-driven compliance analytics, and customer service improvements . HMRC has stated that any decisions arising from the AI system will be "reviewed and signed off by a human" with relevant tax expertise .
The £175 million figure should be set against HMRC's broader IT spending. The agency pegs its annual contracts with IT suppliers at over £1 billion, with a further £2 billion technology pipeline under procurement including cloud services, data centres, and digital platforms . HMRC's transformation roadmap targets a "digital-first" organisation with at least 90% of customer interactions happening online by 2030 .
The Tax Gap: A Problem That Keeps Growing
Britain's tax gap has expanded significantly in recent years. From £31 billion in 2018-19, it reached £39.8 billion in 2022-23 and has now been revised to £46.8 billion — roughly 5.6% of total theoretical tax liabilities .
The composition of that gap matters for evaluating whether AI is the right tool. HMRC's own breakdown by taxpayer behaviour shows that 31% of the gap is attributable to "failure to take reasonable care" and a further 15% to outright errors — categories that describe carelessness rather than criminal intent . Evasion accounts for 14%, non-payment for 12%, and legal interpretation disputes for another 12%. Criminal attacks contribute 9%, the hidden economy 5%, and formal avoidance schemes just 1% .
In absolute terms, evasion costs the Treasury an estimated £5.5 billion per year, while avoidance accounts for roughly £1.8 billion — though Tax Justice UK has argued that HMRC's methodology likely underestimates both figures .
By taxpayer type, small businesses account for 60% of the overall gap, with their corporation tax gap exceeding 30% for four consecutive years — up from 11% in 2011 . Wealthy individuals (approximately 800,000 people classified as such by HMRC) account for about 5% of the gap, while all other individuals combined contribute around 6% .
How the UK Compares
International comparisons are imperfect because tax authorities use different methodologies. The United States' "gross tax gap" was estimated by the IRS at $688 billion (roughly £545 billion) for tax year 2021, representing approximately 14.8% of total tax liability — significantly higher than the UK's 5.6% rate, though methodological differences make direct comparison unreliable . The European Commission has estimated VAT gaps across EU member states averaging around 5.1% in 2022, broadly comparable to the UK's overall rate .
The US offers a useful comparison on AI deployment. The IRS now runs 126 active AI applications across audit selection, fraud detection, and taxpayer services — up from just 10 in 2022 . In the first five months of fiscal year 2026, IRS enforcement revenue rose 12% despite a 25% workforce reduction, a result the agency attributed to technology-driven productivity .
Who Is Quantexa?
Quantexa was founded in 2016 by Vishal Marria, formerly the youngest executive director at EY . The company built its reputation in anti-money laundering for banks, with HSBC and Standard Chartered among its early clients . It reported revenue of £126 million for the year ending March 2025, up 49% year-on-year, and raised $175 million in a Series F round in March 2025 at a valuation of $2.6 billion .
In September 2024, Quantexa launched a dedicated Global Public Sector Business Unit . Its first US federal contract came through a deal with US Special Operations Command (USSOCOM) for an AI-enabled news intelligence platform . The HMRC deal, however, represents an order of magnitude larger than any prior government engagement.
The procurement process that led to the award has not been publicly detailed. HMRC has not disclosed whether it was a competitive tender, a framework call-off, or a direct award — a transparency gap that may attract scrutiny given the contract's size and ten-year duration . The "sovereign AI" framing — Quantexa's data never leaves the HMRC environment — aligns with the government's Sovereign AI Unit, launched in 2025 with £500 million in funding .
Marria has emphasised the need for explainability: "In government environments, AI cannot operate as a black box... Decisions need to be transparent, auditable, and explainable" .
The Bias Question: Lessons from Robodebt and SyRI
The most pointed criticism of automated compliance systems comes from two international precedents that exposed how algorithmic pattern-matching can disproportionately harm vulnerable populations.
Between 2015 and 2019, Australia's Robodebt scheme auto-generated debt notices to roughly 470,000 welfare recipients by comparing annual tax averages against fortnightly payments — a method that systematically overstated income for anyone with irregular employment . A Royal Commission concluded in 2023 that the scheme was unlawful, caused serious psychological harm, and drove some recipients to suicide .
In the Netherlands, the SyRI (Systeem Risico Indicatie) system profiled welfare recipients using 17 datasets, generating fraud-risk scores concentrated in lower-income urban neighbourhoods . The District Court of The Hague ruled in February 2020 that SyRI violated Article 8(2) of the European Convention on Human Rights, citing a lack of transparency in how risk profiles were generated .
Academic research on AI in tax administration has flagged a structural problem: lower-income households and gig workers have irregular data footprints because informal economies generate fewer formal records, making them statistically more likely to be flagged as anomalous by pattern-recognition models . This does not mean HMRC's system will replicate these failures, but the parallels warrant scrutiny — particularly given that HMRC has not publicly disclosed the false positive rate it considers acceptable, or whether the system has been independently audited for demographic bias.
Legal Framework: What Rights Do Taxpayers Have?
The legal landscape for automated decision-making in the UK shifted significantly with the Data (Use and Access) Act 2025 (DUAA), which received Royal Assent on 19 June 2025 . The DUAA repealed Article 22 of the UK GDPR — which had broadly prohibited solely automated decisions with legal effects — and replaced it with new Articles 22A through 22D .
The new framework is more permissive. Organisations may now rely on legitimate interests as a lawful basis for automated decision-making, including where it produces legal or similarly significant effects . However, safeguards remain mandatory: organisations must provide meaningful information about the decision, enable individuals to make representations, and offer access to human intervention and the ability to challenge outcomes .
For HMRC specifically, this means taxpayers flagged by the AI system retain the right to request human review of any adverse finding. The ICO has published draft updated guidance on the new Articles 22A-D, though it has not issued HMRC-specific guidance on the Quantexa deployment .
A Data Protection Impact Assessment (DPIA) is mandatory for this type of high-risk processing . Whether HMRC has completed one, and whether the ICO has been formally consulted, has not been publicly confirmed.
What Happens When the Algorithm Flags You
Under HMRC's existing compliance framework, an investigation typically begins with a letter notifying the taxpayer that their return has been selected for a compliance check . Civil investigations fall under Code of Practice 8 (suspected significant tax loss) or Code of Practice 9 (suspected fraud) .
There is no fixed timeline for investigations. A routine compliance check may conclude in weeks; a Code of Practice 9 fraud investigation can stretch for years . Penalties depend on the taxpayer's behaviour: careless errors attract lower penalties (potentially reduced to zero with an unprompted disclosure), while deliberate inaccuracies with concealment can carry penalties up to 100% of the tax owed .
Taxpayers who disagree with a finding can request a statutory review by an HMRC review officer (typically completed within 45 days), and if dissatisfied, appeal to the First-tier Tribunal (Tax Chamber) within 30 days .
HMRC has stated that the AI system will not change this process — it will serve as a triage tool, directing human investigators toward the highest-risk cases . The critical question is whether the pre-investigation phase changes in practice. If AI flags generate preliminary inquiries or informal contact before a formal compliance check is opened, taxpayers may face an opaque and unaccountable screening layer that precedes any formal legal process.
The Steelman Case Against AI Fraud Detection
The strongest argument against prioritising AI fraud detection is structural: the largest share of the tax gap does not stem from the kind of fraud that pattern-matching algorithms are designed to catch.
Nearly half the gap (46%) comes from failure to take reasonable care and errors — problems caused by a complex tax code and inadequate taxpayer support, not criminal behaviour . Avoidance, at just 1% of the gap, primarily involves sophisticated corporate structures that exploit legal ambiguities — precisely the kind of arrangements that resist automated detection because they are technically lawful .
TaxWatch, an investigative think tank, has argued that HMRC's tax gap methodology likely underestimates large-scale corporate avoidance because it measures only known avoidance schemes, not those that remain undetected . Small businesses account for 60% of the gap, but much of their non-compliance stems from confusion about obligations, not deliberate evasion .
The government has also committed to hiring 5,500 additional compliance caseworkers over the next five years . Critics, including the Public Accounts Committee, have questioned whether the £175 million AI investment would generate a higher return if redirected toward human investigators with specialist expertise in corporate tax avoidance — an area where relationship-based investigation, access to legal expertise, and cross-border cooperation are more effective than algorithmic scoring .
HMRC itself targets a 20% increase in charging decisions for tax fraud by 2029-30 . Whether that increase comes from better-targeted human investigations or from AI-driven volume remains an open question.
The Case for AI
Defenders of the approach point to the sheer scale of the problem. HMRC processes tens of millions of tax returns annually, and even a modest improvement in detection accuracy across that volume could recover hundreds of millions of pounds. The IRS experience — a 12% enforcement revenue increase with 25% fewer staff — suggests that well-deployed AI can generate significant returns .
Quantexa's entity resolution technology is specifically designed to connect fragmented data across systems, making it suited to identifying hidden relationships between entities — precisely the kind of analysis that human investigators find time-consuming . If the system works as described, it could surface corporate networks, undisclosed income sources, and VAT fraud chains that would otherwise require months of manual cross-referencing.
HMRC received 93,000 complaints in 2024-25, up from 70,000 in 2020-21 — evidence that the agency is struggling with service quality under existing resources . Automating routine compliance checks could free human caseworkers to focus on complex investigations.
What Remains Unknown
Several critical questions remain unanswered. HMRC has not disclosed: how many taxpayers it expects the AI system to flag in its first year of operation; what false positive rate it considers acceptable; whether the system has been audited for demographic bias; the specific procurement process used to award the contract; or whether a DPIA has been completed and shared with the ICO.
The ten-year contract term also raises lock-in concerns. If the system underperforms or produces discriminatory outcomes, unwinding a decade-long, £175 million technology partnership will be politically and practically difficult.
Britain's tax gap is real, growing, and costly. Whether an algorithm is the right tool to close it depends on answers that HMRC has not yet provided.
Related Stories
Lloyds Bank IT Failure Affects Nearly 500,000 Customers
Former Meta Employee Investigated for Downloading 30,000 Private Facebook Photos
UK Biobank Health Data Leaked Online Multiple Times
UK Launches Voluntary Digital ID System Amid Privacy Backlash
UK Parliament Demands Greater Scrutiny of Palantir's Government Data Use
Sources (24)
- [1]HMRC awards £175 million AI contract to British firm Quantexa to close £46.8 billion tax gapthenextweb.com
HMRC has awarded a £175 million, ten-year AI contract to London-based Quantexa to detect tax fraud, fix errors, and close the £46.8 billion tax gap, marking a deliberate shift toward British AI sovereignty.
- [2]Closing the tax gap: government strategy on non-compliancetaxadvisermagazine.com
The Chancellor unveiled a comprehensive package of measures to address the UK's persistent tax gap, including HMRC targets to increase charging decisions for tax fraud by 20% by 2029-30.
- [3]AI software firm Quantexa wins £175m contract with HMRCuktech.news
Quantexa will modernise HMRC's data infrastructure to provide a clearer, connected view of its data and enable sovereign, governed AI at national scale.
- [4]HMRC signs £175m Quantexa deal to build sovereign AI and data platformthinkdigitalpartners.com
HMRC signs £175m ten-year deal with Quantexa to build sovereign AI and data platform covering data integration, compliance analytics, and customer service.
- [5]AI Will Now Be Handling UK Fraud And Tax Return Errorstechround.co.uk
HMRC confirmed that any decisions arising from the AI system will be reviewed and signed off by a human with relevant tax expertise.
- [6]HMRC pegs IT contract spending at £1.6bn a yearpublictechnology.net
HMRC has pegged its annual IT supplier spending at over £1bn, with a further £2bn technology pipeline including cloud services, data centres, and digital platforms.
- [7]HMRC release Transformation roadmap outlining key measures for AItechuk.org
By 2030 HMRC aims to be a digital-first organisation with at least 90% of customer interactions happening online.
- [8]TaxWatch analyses HMRC's latest Tax Gap 2024 reporttaxwatchuk.org
Tax gap has reached a record high with small businesses responsible for 60% of the overall gap and corporation tax gap exceeding 30% for four consecutive years.
- [9]Tax gaps: Illustrative tax gap by behaviourgov.uk
Failure to take reasonable care accounts for 31% of the tax gap, error 15%, evasion 14%, non-payment 12%, legal interpretation 12%, criminal attacks 9%, hidden economy 5%, and avoidance 1%.
- [10]Tax Gap has increased to £47bn, though likely a significant underestimatetaxjustice.uk
Tax Justice UK argues the official £47bn tax gap figure is likely a significant underestimate of the true scale of tax losses.
- [11]Tax Avoidance and the Tax Gap – an explainertax.org.uk
Wealthy individuals account for about 5% of the tax gap, while all other individuals combined contribute around 6%. Small businesses are responsible for 56% of the overall gap.
- [12]Audited by an Algorithm: How the IRS Is Using AI in 2026captechu.edu
The IRS now runs 126 active AI applications across audit selection, fraud detection, and taxpayer services, up from just 10 in 2022.
- [13]IRS AI Agents Drive 12% Enforcement Revenue Surge With 25% Fewer Staffgreenbacktaxservices.com
IRS enforcement revenue rose 12% in the first five months of FY2026 despite cutting roughly 25% of its workforce, attributed to technology-driven productivity.
- [14]Quantexa Launches Global Public Sector Business Unitquantexa.com
Quantexa launched its Global Public Sector Business Unit in September 2024 and signed its first US federal government contract with USSOCOM.
- [15]Algorithmic Austerity: When Algorithms Mistake Poverty for Fraudabhaskjha.substack.com
Australia's Robodebt scheme auto-generated debt notices to 470,000 welfare recipients using a method that systematically overstated income for irregular workers. Lower-income households have irregular data footprints making them more likely to be flagged.
- [16]How Dutch activists got an invasive fraud detection algorithm bannedalgorithmwatch.org
The Netherlands' SyRI system profiled welfare recipients using 17 datasets, generating fraud-risk scores concentrated in lower-income urban neighbourhoods. The Hague court ruled it violated ECHR privacy rights.
- [17]AI is being used to predict tax fraud - but should it?law.kuleuven.be
Poorly designed AI models may produce false positives that raise erroneous discrimination concerns, particularly affecting those with irregular data footprints in informal economies.
- [18]UK's data protection reforms take effect - a new era for automated decision-makingtraverssmith.com
The DUAA repeals Article 22 of the UK GDPR and replaces it with Articles 22A-D, creating a more permissive framework for automated decision-making while retaining safeguard requirements.
- [19]Rights related to automated decision making including profilingico.org.uk
Under the new framework, organisations must provide meaningful information about automated decisions, enable individuals to make representations, and offer access to human intervention.
- [20]What else do we need to consider if Article 22 applies?ico.org.uk
DPIAs are mandatory for high-risk automated decision-making processing. The ICO has published draft updated guidance on the new Articles 22A-D provisions.
- [21]HMRC Tax Investigations: Process, Triggers, and Key Stagescompanydebt.com
HMRC investigations range from routine compliance checks to detailed Code of Practice 8 and 9 investigations, with no fixed timeline for completion.
- [22]Understanding HMRC Investigation Time Limits and Scopeapexaccountants.tax
Penalties depend on taxpayer behaviour: careless errors attract lower penalties potentially reduced to zero with unprompted disclosure, while deliberate inaccuracies with concealment can carry penalties up to 100%.
- [23]What if you disagree with an HMRC tax decision or penalty?gosimpletax.com
Taxpayers have 30 days to appeal, can request a statutory review (typically 45 days), and then appeal to the First-tier Tribunal if dissatisfied.
- [24]£5.5 billion lost to tax evasion could be significant underestimate, PAC report warnsparliament.uk
The Public Accounts Committee warned that the £5.5 billion evasion figure could be a significant underestimate and questioned HMRC's approach to closing the gap.
Sign in to dig deeper into this story
Sign In