Building 8 min read

We built an AI invoice verifier. Here's where it hits a wall.

We built an AI invoice verifier and watched a fake beat a real invoice. Why document analysis alone cannot stop fraud, and the five layers that can.

Australian small businesses lodged 1,909 scam reports to Scamwatch in 2024, with fake invoices and false billing accounting for $13.1 million in confirmed losses. Payment redirection fraud cost Australian businesses $224 million in 2022 alone. Both figures understate the real number; the ACCC consistently notes that most scams go unreported.

Then in late 2025, Commonwealth Bank disclosed up to $1 billion in suspected fraudulent home loans. AI-generated payslips, fake bank statements, fabricated identity documents, all convincing enough to pass through the mortgage process undetected. All four major Australian banks flagged similar issues.

We wanted to know whether current AI could catch this kind of fraud. Not in theory. In practice. So we built a seven-stage verification engine and tested it with two invoices.

One test was enough to see the problem. Not a bug in our engine; a structural limitation in what document analysis can ever achieve.


What We Tested

The engine takes an invoice image, extracts every field into structured data, checks the arithmetic, analyses font consistency and formatting, looks for signs of pixel-level editing, and produces a confidence score.

We tested it with two documents. A genuine invoice from a real Perth sole trader operating through a family trust with a Gmail address and no website. And a fabricated invoice we created ourselves: fictional business name, made-up ABN, invented address, but with professional formatting, correct GST, and realistic pricing.

The fake scored higher than the real one.

The engine flagged the genuine invoice for its Gmail address, absence of a website, and family trust structure. It rewarded the fabricated invoice for consistent branding, a professional template, and clean formatting. Polish beat authenticity.

Two documents are not a benchmark. But they are a controlled demonstration of a limitation any document-only system will face: what we call the real-details problem. When a fraudster uses genuine, publicly available information, every check that only examines the document will pass.

We could have added more checks. ABN lookups against the Australian Business Register. Address verification. Business name matching. But we stopped, because we could already see where this was heading.


Why More Checks Do Not Solve the Problem

Every detail on an invoice can be real and the invoice can still be fraudulent.

The ABN can be copied from the public register. The business name, the address, the pricing. All publicly available, all trivial to assemble into something that looks legitimate. A fraudster who uses real details passes every check that only examines the document.

This is exactly what happened to CBA. The fraudulent documents used real business details and plausible figures. The documents were accurate. The transactions behind them were not.

Checking the document catches careless fraud: someone who invents an ABN, misspells a business name, or gets the GST calculation wrong. That is useful, but it is a filter for laziness, not for intent. Anyone with five minutes and access to the ABR website can build an invoice that passes every document-level check.

The question AI cannot answer from a document alone is: did this transaction actually happen?


The Real Problem Is Accounting, Not AI

An invoice is a claim. It says: this service was provided, this amount is owed, this is where to send the money. But a claim is not evidence. The evidence is in the bank accounts.

Did $4,200 leave the debtor’s account on the date the invoice claims? Did it arrive in the creditor’s account? Do the amounts match? Do the dates align?

This is not a document analysis problem. It is an accounting problem. And solving it requires access to data that no document verifier has: the banking records of both parties.

For years, businesses have verified invoices by examining the document: does the ABN look right, do the numbers add up, does the formatting look professional. That was reasonable when faking a convincing document required effort and skill. With AI-generated documents, it takes minutes. The document is now the easy part to fake. The transaction is still hard.

Any verification process that only examines the document is checking the side the fraudster controls completely.


What a Real Solution Requires

AI can solve this problem. But not by looking harder at documents. It needs access to banking data, and that makes it a fundamentally different kind of system.

This applies wherever documents are submitted by parties with a financial incentive to misrepresent: mortgage applications, construction progress claims, government grant acquittals, accounts payable shared services. The context changes. The real-details problem does not.

Layer 1: Document analysis. AI extracts and validates the invoice: formatting, arithmetic, signs of manipulation. This is production-ready today. It catches mistakes and lazy fraud. Every business processing invoices should automate this.

Layer 2: Registry verification. Cross-reference the ABN, business name, and address against government registers. This catches fraud where someone invented the details. It does not catch fraud where someone used real ones.

Layer 3: Transaction matching. Confirm that the payment left the debtor’s bank account and arrived in the creditor’s bank account. The amount matches. The date aligns. This is where sophisticated fraud is caught. The one thing a fraudster cannot fabricate without committing a separate, traceable crime is the actual movement of money. In practice, this layer typically lives with banks and platforms with regulated access to transaction data under frameworks like Open Banking and the Consumer Data Right; not with a standalone invoice AI.

Layer 4: Pattern detection. Flag anomalies across thousands of transactions. The same tradesperson appearing on fifty mortgage applications in one month. A sudden spike in invoices from a newly registered business. Amounts that cluster just below approval thresholds. This is where AI adds real value: not by examining individual documents, but by seeing patterns across volumes that no human reviewer could process.

Layer 5: Collusion detection. This is where it gets genuinely hard. Layers 1 through 4 assume the fraud is one-sided: a fabricator acting alone. But when parties collude, a mortgage broker and an applicant, a vendor and a purchasing officer, the transaction is real. Money does move. The invoice is legitimate. The fraud is in the relationship, not the paperwork.

Detecting collusion requires network analysis: mapping relationships between entities, identifying conflicts of interest, flagging transactions where the parties are connected in ways that should trigger review. This is a different discipline; closer to financial intelligence than document processing.


The Five Layers of Fraud Detection

Each layer catches what the layer below it misses:

LayerWhat it checksWhat it catchesWhat it misses
Document analysisFormatting, arithmetic, manipulationMistakes and lazy fakesReal details used fraudulently
Registry verificationABN, business name, addressInvented detailsReal details on a fake invoice
Transaction matchingMoney in, money outSophisticated single-party fraudCollusion where money really moves
Pattern detectionVolume anomalies, timing, clusteringOrganised fraud at scaleCoordinated low-volume collusion
Collusion detectionRelationships between partiesConnected parties, conflicts of interestNovel fraud structures

Most businesses operate at layer 1. Some reach layer 2. The CBA problem sits at layers 3 and 4. The hardest fraud, the kind that costs billions, requires all five.


Why We Stopped at Layer 1

We tested whether AI document analysis could catch invoice fraud. One test showed us it could not; not because our engine was bad, but because of the real-details problem. A well-crafted fake using genuine, publicly available information will always beat document-level analysis.

We could have built layers 2 and 3. But layer 2 only catches fraud where someone was too lazy to use real details. And layer 3 requires access to both parties’ banking data; a fundamentally different system with different privacy, infrastructure, and regulatory requirements.

The honest conclusion: AI can catch invoice fraud, but only as part of a system that has access to banking data, transaction records, and pattern analysis across thousands of submissions. Document analysis alone, no matter how sophisticated, checks the one thing the fraudster controls completely.

For most mid-market businesses processing invoices, layers 1 and 2 are the highest-return starting point and can be implemented without changing banking relationships. Automate your document extraction: AI does that brilliantly. Verify ABNs against the register: it is free and takes seconds. These two layers catch mistakes, catch careless fraud, and free your team to focus on the judgement calls that actually require a human.

If you are processing high-value or high-volume documents from parties with a financial incentive to misrepresent, layers 1 and 2 are not enough. Check the document, then check the transaction. What production AI teaches you that demos never will, and how we think about the gap between demo and production, maps these boundaries in more detail.

One without the other is no longer enough.


Perth AI Consulting builds AI systems, from workflow and admin automation to document engines, and tells you honestly where AI works and where it does not. Start with a conversation.

Published 1 March 2026

Perth AI Consulting delivers AI opportunity analysis for small and medium businesses. Start with a conversation.

Prepared by Claude, directed and approved by PAC.

More from Thinking

Evaluation 11 min read

AI in property valuation: the evidence, the design rules, and what it could become

The best Australian evidence on vision AI in valuation measures a different task than the one vendors demo. The findings, and the design rules that follow.

Evaluation 7 min read

Eleven cells moved. Here is what they mean for your business.

Reading the September 2026 State of AI verdict table: what improved, what declined, and what to do differently this quarter.

Evaluation 7 min read

Competitor intelligence for small business: what AI can and cannot see

What AI-assisted competitor intelligence really is for a small business: the public sources worth watching, what they cannot tell you, and the legal line.

Evaluation 10 min read

AI in regulated professional work, Mid-2026

One structure links family law, valuation, and building inspections: a signed document others rely on. How each field's regulator answered the AI question.

Technical 9 min read

The business knowledge base: evidence, risks, and how to build one

What a business knowledge base actually is, what the evidence says it delivers, the security and privacy realities, and how we build one that holds up.

Evaluation 8 min read

What AI can see in your customer data (and what it cannot)

What AI can genuinely find in the customer records an SME already holds, what it cannot, and when a spreadsheet honestly beats a model.

Building 7 min read

What an AI quoting engine actually does

What an AI quoting engine takes in, what it drafts, what the evidence says about accuracy and speed, and why the final price stays with a human.

Adoption 6 min read

Australia's AI adoption gap is bigger than the 12% headline suggests

ABS says 12% of Australian businesses use AI. The real story is 35% of large businesses against 11% of small ones, and the barrier isn't the technology.

Building 7 min read

Why we let AI run the interviews (and why we never let it pretend to be human)

AI-conducted interviews compress weeks of stakeholder discovery into days, standardise what gets asked, and lower the guard that distorts honest answers.

Adoption 14 min read

How AI capability actually moves through a business

The decisive variable in SME AI adoption is the human absorption sequence, not the tooling. A working framework from observation across WA businesses.

Evaluation 7 min read

AHPRA advertising rules for psychologist websites

Recovery stories, 'specialist', 'clinical psychologist', and endorsement titles are where psychology sites breach the National Law. A practical read-through.

Adoption 4 min read

Customer service AI has finally grown up

Chatbots and AI receptionists earned their bad reputation. What changed, and how the mature version answers every call without replacing anyone.

Evaluation 6 min read

Who can use the titles 'Dr', 'Specialist', and 'Surgeon'?

AHPRA restricts 'specialist' and 'surgeon' to specific registrations, and 'Dr' has its own rule. What health practice websites can and cannot claim.

Adoption 5 min read

Your best people hate writing reports

The operators you promote are brilliant at the work and allergic to reporting. A scheduled AI call interviews them, drafts the briefing, they approve it.

Building 6 min read

Your website isn't just for humans anymore

How to build a chatbot that keeps itself up to date, can't leak client information, and won't answer beyond what you've published.

Evaluation 7 min read

Can you show Google reviews on your health practice website?

AHPRA bans clinical testimonials, even true ones, but service reviews are fine. What that means for the Google reviews widget on your practice site.

Evaluation 7 min read

What AHPRA's advertising rules mean for your website

Your practice website is advertising under the National Law. What AHPRA's rules prohibit, who is responsible, and how to check your own site.

Evaluation 8 min read

Is it safe to paste client data into ChatGPT?

Short answer: it depends on one setting, and most people have it wrong. What ChatGPT, Claude and Copilot do with your data, and what the Privacy Act expects.

Evaluation 4 min read

What a good AI audit actually delivers

The audit report named one recommendation specific enough to check, and what the Build that followed looked like: one real engagement, generalised.

Evaluation 7 min read

AI and video, Mid-2026: the models can watch now, not just listen

AI could always transcribe video. It can now read the frames as well, and every hour of footage a business owns becomes something it can question.

Building 7 min read

Case study: a 119-page AML/CTF program in three days

How we built a seven-document AML/CTF compliance pack for a small accounting practice in three days, working from 31 confirmed assumptions.

Building 11 min read

From evidence base to delivery: a production AI methodology

How we delivered 34 evidence-anchored AI briefings to a WA peer-advisory chapter: fact-checked literature review, multi-agent verification, one method.

Technical 9 min read

The six functions of a working AI system

A working AI system is six functions doing six jobs. When all six connect, hallucinations get caught, outputs hold steady, and models become swappable.

Technical 7 min read

Supervised autonomy: the middle path for AI architecture

Between drafts you approve and agents you hope about sits the middle path: an envelope of authorised routine work, supervised, audited, and yours to widen.

Evaluation 5 min read

The state of applied AI in Mid-2026

Our literature review of applied AI in mid-2026: ten capability categories, three fact-check passes, written for operational leaders.

Technical 9 min read

How to design a PHI redaction system for clinical AI

PHI redaction is part of a clinical AI tool's architecture, not a feature you add. What the literature says it should look like, and how we built it.

Building 9 min read

How we built on-device de-identification so AI never sees real names

Most AI privacy is a policy. Ours is architecture: an NER model runs in the browser and strips names before anything leaves the device.

Technical 7 min read

Your agency's clients are about to ask why this costs so much

A solo consultant built in three weeks what your agency quoted twelve for. The client doesn't know why yet. The agencies that survive change what they sell.

Adoption 6 min read

What do you love doing? What do you hate doing?

Ask people what they love doing and what they hate doing, then show them AI is coming for the second list. Why the reframe works, and how it fails.

Technical 7 min read

Why I don't use n8n (and what I do instead)

n8n demos well. But a compelling demo and a reliable production system are different things, and the distance between them is where businesses get hurt.

Technical 10 min read

Your codebase was not built for AI. That's the actual problem.

Amazon's mandatory meeting about AI breaking production is an architecture story: codebases built for human maintainers only, now maintained by AI.

Adoption 4 min read

Your team has AI licences. You don't have an AI system.

Fifteen people, fifteen separate AI accounts, no shared context. The problem isn't the tool; it's the architecture around it. Here's the fix.

Building 7 min read

Your $2,000 day starts the night before: our system keeps you on the tools, not on the phone

Optimised routes overnight, automatic customer notifications, and promises the system keeps or corrects. A scheduling system that protects your daily rate.

Evaluation 4 min read

The fastest way for an executive to get across AI

AI moves faster than any executive can track. One focused conversation, one written report, and a decision you can act on: your time stays on the business.

Building 6 min read

Your IT department will take 18 months. You need this working by next quarter.

Senior leaders know what they need built; the gap is time. A prototype gets the tool working now and hands IT a validated blueprint for later.

Building 5 min read

How to build an AI chatbot that doesn't lie to your customers

Woolworths scripted its AI to talk about its mother. The business fix is honesty; the technical fix is architecture that prevents fabrication by design.

Technical 9 min read

Why AI safety features are load-bearing architecture, not political decoration

The 'woke AI' label came from real failures, but they were engineering failures, not safety failures. The difference matters wherever errors have consequences.

Adoption 3 min read

Woolworths' AI told a customer it had a mother. That's a problem.

Woolworths' AI assistant Olive was scripted to talk about its mother and uncle. When callers realised, trust broke instantly. The fix is honesty.

Evaluation 5 min read

Google is no longer the only way your customers find you

Customers now find businesses through ChatGPT, Perplexity, and Gemini. The sites AI cites are structured differently to the sites Google ranks.

Evaluation 6 min read

The personal workflow analysis: what watching a real workday reveals about automation

People describe the work they value, not the work that eats their time. Recording a real workday reveals the automation opportunities interviews miss.

Evaluation 11 min read

An AI audit that starts with your business

How an operations-first AI audit works: what it looks for, how the evidence is collected, what the report contains, and what it tells you to skip.

Building 6 min read

What production AI teaches you that demos never will

The gap between a demo and a working system is where the useful lessons live. Architecture, framing, privacy, adoption: the patterns repeat every time.

Adoption 6 min read

The psychology of why your team won't use AI

You buy the tool, run the demo, and three months later nobody is using it. Five predictable psychological barriers, each with a strategy that works.

Technical 4 min read

Stop telling AI what NOT to do (and what to say instead)

Instructions built on prohibitions make AI cautious and generic. Describing what you want instead transforms the output, and the reason comes from psychology.

Building 5 min read

How we turned generic AI into a specialist: and what that means for your business

Mediocre AI output is rarely the model's fault. Three structural changes that turn the same model from generic to specialist-grade.

Evaluation 6 min read

Your business has 9 customer touchpoints. AI can fix the 6 you're dropping.

You pay to get customers to your door, then lose them to missed follow-up. AI can handle the six touchpoints most businesses drop.

Technical 6 min read

What happens to your data when you press 'Send' on an AI tool

Businesses send customer data to AI tools without knowing what happens during processing. The spectrum of AI privacy is wider than you think.