VAT-TaxGraph AI
What It Does
VAT-TaxGraph AI is a Neo4j-powered forensic tax investigation agent that uses graph intelligence to detect suspicious trading behavior, hidden business relationships, and potential VAT fraud.
The agent converts natural language investigation requests into Cypher queries and performs graph-based relationship analysis across companies, directors, and transaction networks.
The system focuses on identifying:
-
circular trading patterns
-
Companies sharing directors
-
non-filer participation in active trade flows
-
suspicious transaction chains
-
seller-only entities
-
tightly connected trading clusters
The agent uses Text2Cypher to generate investigation queries dynamically from user prompts.
Dataset and Why a Graph Fits
I generated a synthetic tax compliance dataset consisting of:
-
Companies
-
Directors
-
VAT trading transactions
Graph modeling was ideal for this case because fraud detection depends heavily on relationships and multi-hop traversal patterns rather than isolated records.
The graph structure allows detection of:
-
hidden ownership structures
-
indirect trading relationships
-
circular transaction flows
-
interconnected suspicious entities
-
fraud rings across multiple companies
Graph Schema
Nodes:
-
Company(pin, name, filing_status)
-
Director(director_id, name)
Relationships:
-
(Director)-[:DIRECTS]->(Company)
-
(Company)-[:SOLD_TO]->(Company)
The dataset was imported into Neo4j AuraDB Professional using Aura credits and queried through Cypher-based investigation workflows.
AI Investigation Capabilities
Example investigation prompts:
-
βIdentify circular trading patterns involving Non-Filer companies connected through shared directors.β
-
βFind companies connected through shared directors that are actively trading with each other.β
-
βTrace multi-hop trading relationships connected to companies controlled by the same director.β
The agent generates graph traversal Cypher queries such as:
MATCH p=(d:Director)-[:DIRECTS]->(c1:Company)-[:SOLD_TO*1..4]->(c2:Company)
RETURN p
LIMIT 50;
Technologies Used
-
Neo4j AuraDB Professional
-
Cypher Query Language
-
Text2Cypher Agent
-
Synthetic Fraud Detection Dataset
-
Graph Traversal and Path Analysis
Screenshots
- Aura Agent Console Screenshot
- Graph Visualization Screenshot
Why I Built This
Traditional tabular analysis struggles to uncover hidden relationships between entities involved in suspicious trading behavior.
Graphs make these connections visible and traversable.
TaxGraph AI demonstrates how Neo4j and AI agents can support forensic investigations through explainable graph reasoning and connected intelligence.





