Hacienda enters the forensic analysis era with AI: what Pathfinder does

The Tax Agency is no longer just cross-referencing declarations, accounts, and bank transactions. It’s also strengthening its capacity to analyze large volumes of digital information captured in open cases, and that’s where Pathfinder comes in—a forensic analysis tool with artificial intelligence features that has begun to gain public visibility. The relevant data isn’t so much the trade name as what it represents: the Spanish tax inspection is moving toward a more advanced digital investigation model, where emails, conversations, images, videos, and unstructured documents become part of everyday analytical work.

This doesn’t mean, at least based on publicly available information, that the tax authorities have deployed an “AI enforcement tool” that automatically decides cases. Evidence suggests something else: software designed for forensic analysis and review of captured information, used in already open administrative or judicial cases. The distinction matters greatly, both technically and legally. A tool can aid in identifying patterns, organizing evidence, and prioritizing clues, but the final administrative decision remains a separate layer.

From Paper Files to Unstructured Data Analysis

The fundamental change is technological. For years, much of the inspection work relied on structured documentation and classic database cross-referencing. Now, the problem is different: relevant evidence might be scattered across spreadsheets, system exports, emails, photographs, multimedia files, or messaging histories. Pathfinder fits precisely into this scenario because Cellebrite describes it as an investigative analysis solution supported by AI to organize complex data, automate review of images and videos, detect themes, and accelerate the search for relevant information.

Spanish public procurement records indicate that the Spanish Tax Agency has acquired licenses for forensic analysis and information review software, using Cellebrite Pathfinder as the identified product, with around 500 licenses reportedly purchased. This license appears linked to units within the Tax Inspection specializing in capturing and analyzing information from taxpayers involved in cases with open administrative or judicial proceedings. While not all contract details are publicly visible, the link between the service contracted and the cited product is consistent.

From a technological perspective, the key point is that Pathfinder doesn’t work solely through literal matches or simple searches. Modern forensic software aims to extract relationships, group entities, reduce noise, and facilitate navigation through unstructured data. Practically, this brings tax inspection closer to tools already used in cyber investigation, digital intelligence, and corporate forensic analysis. What previously required much slower manual review can now be presented as a map of links, themes, or potentially relevant anomalies.

The Tax Agency Isn’t Alone: AI in Many Revenue Agencies

Spain isn’t an exception. According to the OECD, 29 out of its 38 members already use AI in tax administrations, mainly for detecting evasion and fraud, decision support, and service improvement. It also warns that these techniques are now applied to analyzing unstructured data, including handwritten texts and public social media posts. This places Pathfinder within a broader international trend: tax authorities aim to better automate the detection of subtle signals within increasingly dispersed data environments.

Canada provides a clear example of this evolution. Its Revenue Agency states in its 2026-2027 plan that it will use advanced technologies like AI to improve services, enhance compliance, and streamline processes. The plan references near real-time risk assessments, automation to accelerate collections, and preparations to use AI safely and responsibly to simplify taxpayer services and optimize compliance. While this isn’t identical to forensic tools like Pathfinder, the overarching goal is similar: more advanced analytics and less reliance on manual work.

In the UK, HMRC explicitly discusses AI’s role in tackling fraud and evasion. A December 2025 parliamentary response notes that AI will help better target efforts against fraud and evasion, but clarifies a crucial point: technology supports processes but never replaces human decision-making or oversight. This distinction is vital because it establishes a standard that public administrations aim to uphold: AI for prioritization, detection, and assistance—not for resolving cases entirely without human control.

The Real Debate: Technical Power vs. Legal Guarantees

The more powerful the tool, the more sensitive the legal discussion becomes. In Spain, the Supreme Court clarified in 2023 that tax authorities cannot examine data on electronic devices outside specific cases and under strict judicial control. It emphasized that rights such as privacy, communication secrecy, and data protection also apply. This doctrine doesn’t prohibit the use of advanced software but underscores that the core issue isn’t just what Pathfinder can do, but under what legal framework access to the data is granted and how it’s justified.

From a technological standpoint, this raises a crucial point: traceability. When an agency uses AI to classify, summarize, or relate digital materials, it cannot simply rely on the system to “find things.” It must also be able to explain how particular connections were made, what criteria were applied, and what role the officials played in the process. This is precisely where advanced analytics, algorithmic governance, and procedural guarantees intersect. Expect this to be the most scrutinized aspect of such tools in coming years.

Viewed this way, Pathfinder is less just an anecdote about “Tax Authority using AI” and more a sign of structural change. Tax inspection is entering a phase where the value isn’t just gathering data, but navigating through it efficiently, with context and prioritization capabilities. The question isn’t whether this transformation will continue—because it’s already underway in much of the world—but whether administrations can combine analytical power with clear limits, technical transparency, and genuine human oversight.

Frequently Asked Questions

What exactly does Pathfinder do in a fiscal context?
Pathfinder is digital forensic analysis software that assists in organizing and exploring large volumes of captured information like documents, conversations, images, or videos to identify relevant relationships and evidence faster. In the Spanish case, public references position it as support for inspections in cases already under investigation.

Can the Tax Agency automatically sanction using AI?
Based on the reviewed sources, there’s no basis to say that. What’s documented is the use of AI and advanced analytics as support for inspection processes, risk assessment, or data review—not as an automatic decision-making tool.

Do other tax agencies use similar technologies?
Yes. The OECD reports that 29 of its 38 member tax administrations already deploy AI, mainly for fraud detection, evasion, decision support, and services. Canada and the UK explicitly acknowledge this in recent official documents.

What legal limits does the Tax Agency face in analyzing computers and mobiles?
The Spanish Supreme Court established that access to information on electronic devices cannot violate fundamental rights and requires especially strict judicial oversight in certain situations.

via: Hacienda relies on forensic AI

Scroll to Top