Skip to content

Graph Databases: How Finance Teams Find Hidden Fraud Links

Irish tax guides · AI and technology · 24 November 2026 · 4 min read

A graph database stores information as points (suppliers, employees, bank accounts, addresses) and the links between them. That makes it quick to ask questions that are slow in a spreadsheet, such as "which suppliers share a bank account, a phone number or an address with one of our staff?". Finance and compliance teams use this to find fraud rings, duplicate vendors and conflicts of interest that a row-by-row check would miss.

What is a graph database?

An ordinary database or spreadsheet stores tables: one row per supplier, one row per payment. To discover a link between two rows you must join tables, and with many hops (a supplier shares an address with a company, which shares a director with another company) the query becomes heavy. A graph database works the other way round. Each thing is a node. Each relationship is an edge: "pays to", "shares address with", "is director of", "is employed by". You can follow edges as far as you like, and the shape of the network becomes visible.

You do not need a specialist product to learn the idea. A small Python graph library can build the same picture from a spreadsheet of vendors, banks and addresses. A dedicated graph database becomes worthwhile when you have millions of links.

What fraud patterns does a graph reveal?

  • Shared details. Several "different" suppliers using the same IBAN, phone number, email domain or address.
  • Staff links. A supplier whose bank account or address matches an employee's, which suggests a conflict of interest or a fake vendor.
  • Splitting. Many small invoices from linked suppliers, each under your approval limit, that add up to a large sum.
  • Circular payments. Money that moves from A to B to C and back to A, typical of invoice factoring games and some laundering patterns.
  • Director networks. Companies linked through the same directors or registered office, relevant to due diligence on new customers.

Worked example: a Limerick distributor

A Limerick distributor has 1,800 suppliers. The finance manager, Eoin, exports the vendor master file and builds a simple graph: each supplier is a node, and an edge joins a supplier to each bank account and each address it uses. He then asks one question: which bank accounts or addresses are linked to more than one supplier?

The answer is eleven accounts. Ten are harmless, such as a group of companies paying through a shared service centre, which he confirms with the group's finance team. One is not: three suppliers with different names and different invoices all share one IBAN, and the address of one of them matches the home address of a purchasing assistant on the staff list. Together the three suppliers invoiced €58,200 over 14 months, in a dozen or more invoices, each just under the €5,000 level at which a second approval is required.

Eoin does not accuse anyone. He pauses payment to the account, secures the records, and passes the case to the audit committee and, if needed, to the Gardaí and legal advisers. A graph points to a pattern. It proves nothing by itself, and an innocent explanation must always be checked.

How do you build a simple version yourself?

  1. Collect the lists. Vendor master, bank details, addresses, staff list, payments for the period.
  2. Clean and standardise. Remove spaces from IBANs, put addresses in one format. Poor matching is the main reason such projects fail, as explained in data preparation for machine learning.
  3. Define the nodes and edges. Supplier, bank account, address, employee. Edges: uses account, uses address, works for.
  4. Ask simple questions first. Which nodes have more than one supplier connected to them?
  5. Review each hit by hand. Most will have an ordinary explanation.
  6. Repeat on a schedule. Run the check before each payment run for new vendors, or monthly for the whole file.

What are the legal and practical limits?

Linking people and companies is processing of personal data. Staff names, home addresses and directors' details are covered by GDPR, so keep the purpose narrow (preventing and detecting fraud), limit who can see the results, keep records of what you did, and follow your retention rules from your data retention policy. If an alert is a false alarm, do not leave a person labelled as suspicious in a file.

Regulated firms such as accountants have extra duties: if a pattern suggests money laundering you may have to report to the authorities and avoid tipping off the person. See anti-money laundering procedures for accountants. For the common types of payment fraud to look for, read invoice fraud in Ireland.

Our Tax Compliance programme covers records, controls and putting things right, so that you can build checks like this into your own business and spot problems before Revenue or the bank does.

Key points

  • A graph stores things and their relationships, so hidden links become visible.
  • Look for shared IBANs, addresses and phone numbers, and links to staff.
  • Clean the data first; most matching errors come from messy formats.
  • A pattern is a lead, not proof: check every hit and keep the person's data protected.
  • Regulated firms may have reporting duties if laundering is suspected.

Questions people ask

What is a graph database used for in fraud detection?
It stores entities such as suppliers, bank accounts, addresses and staff as connected points, so you can quickly find links like several suppliers sharing one bank account. This reveals fraud rings and conflicts of interest that are hard to see in separate spreadsheets.
Do small businesses need a graph database to find fraud?
Not usually. A small business can find many of the same patterns by sorting a vendor list by bank account, address and phone number in Excel. A graph database becomes useful when you have very large numbers of suppliers, customers and payments to connect.
Is it legal to link supplier and employee data to detect fraud?
It can be, if the purpose is legitimate, you tell people what you do with their data, limit access, and keep to the minimum needed under GDPR. Treat results as leads to investigate and never as proof of wrongdoing by themselves.
What should I do if the data shows a supplier linked to an employee?
Do not accuse anyone. Secure the records, pause related payments if necessary, ask for an explanation through your audit committee or senior management, and take legal advice before any disciplinary or reporting step. There may be an ordinary reason, such as a disclosed family business.

Know someone this would help? Share it.