This is a sample report. Start your own assessment below. Start Your Assessment →
← All use cases
Finance & accounting

Bank movements matched to invoices, late payers escalated through three stages.

What the audit checks

Reminders go out when somebody remembers, which is usually too late for cash flow. The audit looks at the quality of your payment references, how many payments match themselves, and how to stage escalation without offending a good customer.

Self-Audit Assessment Report

Payment matching and dunning

01 Jan 2026

01/Recommendation
Recommended path

AI Agent + human review

Automate the routine 85% of payment matching and dunning via an AI workflow with human gates on exceptions and escalation decisions.

The vast majority of payment matching and dunning cases follow clear, repeatable rules and are ideal for automation, but 10 to 15 percent require judgment calls around partial payments, relationship-sensitive escalation and audit-explainable postings that demand a human in the loop. A hybrid approach, combining an AI-powered matching and dunning workflow with structured human review gates for exceptions, delivers the client's stated goal of letting routine cases handle themselves while keeping people focused on the decisions that matter. The ERP API is already proven for integration, and an external developer can build and maintain the solution within the confirmed budget. This path also satisfies the statutory audit trail and VAT compliance requirements because every automated posting is logged with a traceable rationale and exceptions are routed to a named reviewer before posting.

The client has no stated platform preference but has a proven ERP API and budget for an external developer, making a lightweight AI workflow layer built on top of the ERP API the natural fit. No proprietary platform lock-in is required.

02/Process Overview

Process Overview

Payment Matching and Dunning is a high-frequency finance process run by a three-person team and an external accountant. It begins whenever new bank movements arrive and open invoices remain outstanding. The team retrieves payment data, attempts to match each incoming payment to an open invoice in the ERP using the payment reference and amount, and posts confirmed matches directly to the ledger. When a reference is missing, malformed or ambiguous, the case is set aside for manual review. The process runs multiple times a day across most working days, producing roughly 7,200 runs per year and consuming around 720 hours of staff time annually.

The second half of the process covers dunning. The team identifies invoices that have passed their due date, determines which of three escalation stages applies to each late payer based on how long the invoice has been overdue and what contact has already been made, and sends the appropriate reminder communication. Stage-three cases, which involve formal escalation, are passed to the external accountant or reviewed by a senior team member before the communication goes out. Every posting, match decision and dunning action must be logged with a traceable rationale to satisfy statutory audit requirements, VAT rules and a seven-year document retention obligation. The ERP holds all invoice and customer records and exposes an API that the external accountant has already used for integration work, making it the natural hub for any automation built around this process.

03/Path Scores

Path Scores

AI Agent + human review Recommended
9/10

Routine matching and staged dunning are highly automatable, and the ERP API makes integration straightforward. Human gates on exceptions and escalation decisions satisfy compliance requirements and protect customer relationships, directly matching the client's stated ideal outcome.

AI Workflow
6/10

A fully automated workflow handles the standard cases well but cannot reliably manage the 10 to 15 percent of exceptions requiring judgment, relationship nuance or audit-explainable manual postings without human oversight. Viable as a starting point but incomplete without exception handling gates.

Traditional Code
5/10

Rule-based scripting against the ERP API could automate straightforward matching and dunning triggers, but it cannot handle ambiguous references or relationship-sensitive escalation without brittle hard-coded logic. Maintenance burden grows quickly as edge cases accumulate.

RPA Not recommended
4/10

RPA is best suited to UI-level automation where no API exists; here the ERP API is available, making RPA an unnecessarily fragile and expensive choice. It also adds little value for the judgment-heavy exception cases.

AI Agent Not recommended
4/10

A fully autonomous agent operating without human gates introduces unacceptable risk for financial postings subject to statutory audit and VAT rules. The compliance requirement that every automated posting be explainable to an auditor makes unsupervised agentic action inappropriate here.

Education (AIRIES) Not recommended
3/10

Training alone does not address the volume, the cash-flow timing problem or the fragmented tooling. Education is a valuable complement to the recommended path but not a substitute for process automation at this scale.

Stay Manual Not recommended
1/10

The current manual process is already causing cash-flow delays and consuming 720 hours per year. Staying manual perpetuates the problem the client explicitly wants to solve and offers no improvement in compliance traceability or dunning timeliness.

04/Process Dimensions

Process Dimensions

Eight dimensions drive the recommendation, scored 0–10 with a note on each.

Data Structure 7/10

Bank movements and invoices are structured records in the ERP, but payment references are often missing or malformed, introducing semi-structured noise that requires intelligent matching rather than pure rule-based lookup.

Rule Clarity 7/10

The standard matching and three-stage dunning logic is well-defined and documentable; the exception cases involving partial payments, relationship tone and upstream data errors are less clear and require judgment.

Exception Frequency 4/10

At 10 to 15 percent exception rate across 7,200 annual runs, roughly 720 to 1,080 cases per year fall outside the standard pattern and consume a disproportionate share of team time.

Integration Readiness 8/10

The ERP exposes an API that has already been used by the external accountant, giving a proven integration path and reducing build risk significantly.

Volume / ROI 9/10

720 hours of manual effort per year at a confirmed rate of GBP 45 per hour represents GBP 32,400 in annual cost; automating even 70 percent of that effort delivers a strong and rapid return on investment.

Process Stability 6/10

VAT rules and dunning thresholds change periodically but the core matching logic is stable; the workflow will need occasional updates but is not highly volatile.

Human Judgment Required 5/10

Roughly 85 percent of cases need no judgment, but the remaining exceptions and all relationship-sensitive escalation decisions genuinely require a human, making full automation inappropriate.

Compliance Requirements 8/10

Statutory audit trail, VAT compliance and seven-year retention requirements are non-negotiable; every automated posting must carry a logged, explainable rationale, which the hybrid design must enforce by architecture.

05/ROI Estimate

ROI Estimate

£32,400

Current annual cost

70%

Estimated time saved

£22,680

Annual savings

10mo

Payback period

Build cost estimate: £8,000 – £18,000

Current annual cost calculated as 7,200 runs x 6 minutes / 60 x GBP 45 per hour = GBP 32,400. A 70 percent automation rate is conservative given the 85 percent standard-case volume, allowing headroom for exception handling overhead and initial tuning.

06/Implementation Roadmap

Implementation Roadmap

1
Discovery and ERP API Mapping 2 weeks

Engage the external developer to document the ERP API endpoints for invoice retrieval, payment posting and customer records. Map the three dunning stages to explicit business rules and define the exception criteria that will trigger a human review gate. Deliverable is a signed-off functional specification.

2
Automated Matching Engine Build 3 to 4 weeks

Build the core matching logic: ingest bank movements via the ERP API, apply fuzzy reference matching and exact-amount matching, auto-post high-confidence matches and route low-confidence cases to a human review queue. Include a full audit log entry for every automated posting.

3
Dunning Workflow and Escalation Logic 2 to 3 weeks

Implement the three-stage dunning scheduler: identify overdue invoices, select the correct stage based on days overdue and prior contact history, generate the reminder communication and send it. Add a human approval gate before stage-three escalation to protect key customer relationships.

4
Exception Review Interface 1 to 2 weeks

Build a lightweight review screen or email-based task where a finance team member can see the matched suggestion, approve or correct it and confirm posting. This gate is the primary compliance control and must capture the reviewer's identity and timestamp for the audit trail.

5
Parallel Run and Validation 2 to 3 weeks

Run the automated system in parallel with the existing manual process for two to three weeks. Compare outputs daily, measure match-rate accuracy and exception volume, and tune confidence thresholds. Sign off when automated match rate exceeds 85 percent with zero unexplained postings.

6
Go-Live and Team Enablement 1 to 2 weeks

Cut over to the automated workflow as the primary process. Train the finance team on the exception queue, the audit log and how to adjust dunning parameters. Schedule a one-month post-go-live review to confirm cash-flow improvement and compliance readiness.

07/Risks & Considerations

Risks & Considerations

The biggest risk is over-trusting the matching engine before it has been calibrated on real payment reference quality. If the confidence threshold is set too high, too many cases land in the human queue and the efficiency gain is lost; if set too low, incorrect postings reach the ledger and create audit findings. A mandatory parallel-run period and a hard rule that no automated posting bypasses the audit log are essential controls. VAT rule changes and ERP upgrades can silently break the integration, so a lightweight monitoring alert on API response anomalies and a quarterly rule review should be built into the operating model from day one.

The dunning escalation logic carries relationship risk if the system applies stage-three treatment to a customer who has already spoken to the external accountant. A shared flag in the ERP or a simple override mechanism must allow the team to pause automated dunning for a named customer without disabling the whole workflow. Human oversight at the stage-three gate is non-negotiable and should be treated as a permanent feature, not a temporary safeguard.

AIRIES/Learning recommendation

Train the team, not just the tool.

In partnership with AIRIES, the Swiss AI learning platform. These levels fit your result.

Recommended levels
  1. 3
    Corporate Applied Intelligence & Automation
    Turn your own tasks into AI workflows, build reports and dashboards, set up a personal AI assistant.
  2. 5
    AI for Strategy & Operations
    Optimise operations, forecast, and automate KPIs and executive reporting.
Why these levels

The finance team will own and supervise the hybrid workflow day to day, so Level 3 gives them the practical skills to understand how the automation works, manage the exception queue and iterate on the dunning rules without depending entirely on the external developer. Level 5 adds the operations and performance intelligence skills needed to monitor match rates, track cash-flow KPIs and report on dunning effectiveness to management, turning the automation investment into visible business intelligence.

Focus topics
Who should take it

All three finance team members and the external accountant who will configure and maintain the ERP integration.

Explore these levels on AIRIES → The levels come from the AIRIES course catalogue. Opening the link does not commit you to anything.
08/Architecture Overview

Architecture Overview

flowchart TD A(["Bank Movement Received"]) B["Ingest via ERP API"] C{"Reference Match?"} D["Auto-Post to ERP"] E["Human Review Queue"] F["Reviewer Approves / Corrects"] G["Audit Log Entry"] H["Identify Overdue Invoices"] I{"Dunning Stage 1 or 2?"} J["Send Reminder Auto"] K["Human Gate: Stage 3 Sign-off"] L(["Ledger Updated + Audit Trail Complete"]) subgraph ERP_Systems["ERP System"] B D G end subgraph External["External / Team"] E F K end A --> B B --> C C -->|"Yes"| D C -->|"No"| E E --> F F --> D D --> G G --> H H --> I I -->|"Stage 1-2"| J I -->|"Stage 3"| K J --> L K --> L

Hover to zoom · click for fullscreen

09/Why This Approach

Why This Approach

The recommended path is Hybrid: a structured AI workflow that handles the routine majority of payment matching and dunning automatically, with defined human review gates for exceptions, ambiguous cases and relationship-sensitive escalation decisions. The case for this approach rests on a straightforward observation about the data. Around 85 percent of payment matching cases involve clean references and matching amounts that resolve predictably against open invoices in the ERP. Those cases have no business being handled manually. The remaining 10 to 15 percent, covering missing references, partial payments, overpayments and upstream data errors, genuinely require a human to interpret the situation before anything is posted to the ledger. A Hybrid design separates these two populations cleanly: the automation handles what it can handle well, and a structured review queue surfaces everything else to a named reviewer who approves or corrects before posting is confirmed.

The client has no stated platform preference, which is actually an advantage here. It means the design can be built to fit the process rather than constrained to fit a tool. The ERP API is the natural integration point. It has already been proven in a real integration by the external accountant, which removes a significant build risk and shortens the discovery phase. An external developer with a confirmed budget can build a lightweight matching engine and dunning scheduler on top of that API without introducing proprietary platform lock-in. The solution the team ends up with is one they own and can explain to an auditor, which matters here.

Comparing this to the other scored paths makes the reasoning clearer. A fully automated AI Workflow scores well for the standard cases but has no principled way to handle exceptions without either letting incorrect postings reach the ledger or routing everything ambiguous back to a human queue anyway, which is exactly what the Hybrid design formalises. Traditional Code could automate straightforward matching using rule-based scripts against the ERP API, but payment reference quality is inconsistent enough that hard-coded rules accumulate edge cases quickly and maintenance becomes the dominant cost. RPA adds no value here because the API already provides direct, structured access to the ERP; building a UI-level robot on top of an available API is unnecessary complexity. A fully autonomous AI Agent is inappropriate for a process with statutory audit obligations: every posting must be explainable and traceable to a named decision, and unsupervised agentic action cannot satisfy that requirement reliably. Education alone does not address the volume problem or the cash-flow timing risk.

The compliance dimension reinforces the Hybrid choice rather than sitting in tension with it. The requirement that every automated posting carry a logged, explainable rationale is a design constraint that the Hybrid architecture satisfies by construction. The exception review gate captures the reviewer's identity and timestamp. Stage-three dunning requires explicit human sign-off before the communication is sent. The audit log is written as a byproduct of normal operation, not bolted on afterwards. A fully automated solution would need to recreate all of this as additional engineering; the Hybrid approach builds it in from the start because the human gates are the compliance controls.

The honest tradeoff is implementation complexity and ongoing maintenance. A scripted solution would be faster and cheaper to build initially, but it would also break more often and recover more slowly from changes in VAT rules or ERP schema. The Hybrid approach requires a more careful functional specification and a parallel-run period to calibrate the confidence threshold on the matching engine, but that investment is paid back within the first year at the projected savings rate. The ROI case is straightforward: 720 hours per year at a blended rate of GBP 45 per hour is GBP 32,400 in current annual cost, and a conservative 70 percent automation rate delivers over GBP 22,000 in savings against a build cost that sits well below one year's saving even at the high end of the estimate range.

10/Comparing the Top Approaches

Comparing the Top Approaches

The two strongest alternatives here are Hybrid and AI Workflow, and the difference between them is not theoretical. A fully automated AI Workflow handles the clean 85 percent of cases perfectly well, but it has no principled way to deal with partial payments spread across multiple invoices, overpayments that need a credit note, or a stage-three dunning letter heading toward a customer the external accountant spoke to last Tuesday. Those cases need a person, and a workflow without a human gate will either stall on them or, worse, make a posting that cannot be explained to an auditor. The Hybrid path keeps everything the AI Workflow offers while adding structured review gates precisely where judgment is required, satisfying both the efficiency goal and the statutory compliance requirement in a single design.

Traditional Code scored lower than both because it solves a different problem. A scripted integration against the ERP API can automate straightforward reference-to-invoice lookups, and it would do that reliably, but the moment a payment reference is missing or malformed, the script hits a condition it was not written for and either fails silently or raises an error with no useful context. Every new edge case becomes a developer callout. At 7,200 annual runs with a confirmed 10 to 15 percent exception rate, that maintenance burden accumulates quickly and erodes the cost savings the automation was supposed to deliver. Hybrid wins here because intelligent fuzzy matching handles the ambiguous cases gracefully, routing genuine judgment calls to a human rather than breaking.

RPA was ruled out early because the ERP already exposes an API. RPA earns its place when there is no API and screen-level automation is the only option; using it here would introduce fragility without adding capability. An autonomous AI Agent was similarly ruled out, not because the technology is immature, but because unsupervised financial postings subject to VAT rules and a seven-year audit trail requirement carry compliance risk that no efficiency gain justifies. The Hybrid design captures the speed and intelligence of an AI-powered workflow while keeping a named human accountable for every posting that carries any doubt.

11/How to Build It

How to Build It

The build starts with two weeks of ERP API mapping. The external developer, working alongside the external accountant who has integrated with the ERP before, documents every relevant endpoint: invoice retrieval, payment status updates, customer records and posting confirmation. At the same time, the finance team formalises the dunning rules in writing, defining exactly what triggers stage one, stage two and stage three, and agreeing on the confidence threshold below which a match must go to human review rather than auto-post. The output of this phase is a signed-off functional specification that all parties, including the external accountant, have reviewed, so there are no surprises during the build.

The core matching engine comes next. Bank movements are pulled from the ERP API on a scheduled basis, several times per working day to match the current process frequency. Each movement is run through a matching layer that attempts exact reference lookup first, then falls back to fuzzy matching on amount, date range and partial reference strings. Tools like Python with the rapidfuzz library or a lightweight LLM-assisted classification step can handle the fuzzy layer, depending on what the external developer is most comfortable maintaining. Matches above the agreed confidence threshold are posted automatically to the ERP, and each posting writes a structured audit log entry capturing the match rationale, confidence score, timestamp and the automated actor identity. Anything below threshold lands in a review queue, described with enough context that the reviewer can make a fast, informed decision.

The dunning scheduler runs on a separate cadence, querying the ERP each morning for invoices beyond their due date and checking each customer's contact history to determine which stage applies. Stage one and stage two reminder emails are generated from templates stored in the workflow and sent automatically via the connected email system, with a copy logged against the customer record in the ERP. Stage three is different: the workflow prepares the escalation draft and routes it to a named finance team member for approval before anything is sent. This gate is permanent, not a temporary safeguard, because it protects customer relationships and gives the external accountant a point to flag any customer currently in conversation. A simple customer-level pause flag in the ERP allows any team member to suspend automated dunning for a specific account without touching the broader workflow.

The exception review interface can be as simple as a structured email digest or a lightweight web-based queue, depending on budget. Each item shows the bank movement, the suggested match or the dunning draft, the confidence level and a one-click approve or correct action. On approval, the reviewer's identity and timestamp are captured and appended to the audit log entry, completing the compliance record. The parallel-run phase, running the automated system alongside the manual process for two to three weeks, is used to calibrate the confidence threshold against real payment reference quality before the team cuts over entirely. Go-live is followed by a one-month review where match rates, exception volumes and cash-flow timing are measured against the baseline, giving the team clear evidence of the return and a foundation for ongoing tuning.

12/Risks in Detail

Risks in Detail

The most immediate risk is miscalibrating the matching confidence threshold before the system has seen enough real data. Payment reference quality in practice is often worse than it looks in a sample, and if the threshold is set too permissively in the early weeks, incorrect matches reach the ledger and create audit findings that are expensive and time-consuming to unwind. Setting it too conservatively solves that problem but sends too many cases to the human queue, which undermines the efficiency case and frustrates the team. The parallel-run period is the critical control here, and it should be treated as a non-negotiable phase rather than something to compress under time pressure. The rule that no automated posting ever bypasses the audit log must be enforced at the architecture level, not as a configuration option that can be switched off later.

The dunning escalation logic carries a subtler risk that is easy to underestimate. The workflow operates on data in the ERP, but relationship context often lives outside it, in an email thread, a phone call the external accountant had last week, or a verbal agreement the senior team member made at a client lunch. If the system sends a stage-three escalation to a customer who is already in a sensitive conversation, the damage to the relationship can outweigh months of cash-flow gains. The customer-level pause flag and the stage-three human approval gate address this directly, but they only work if the finance team actually uses them, which means the team enablement session at go-live needs to treat these controls as habits, not just features. Beyond that, VAT rule changes and ERP version upgrades can silently alter API behaviour without any obvious error surfacing in the workflow, so a lightweight monitoring alert on API response anomalies, combined with a quarterly rule review scheduled in the operating calendar, should be built into the model from the first day of live operation.

⚡

Claude Code Starter

A scaffolded project ready to open in Claude Code. Unzip, open the folder, and Claude starts building immediately.

Claude Code Starter (.zip)

Your own assessment includes a ready-to-use project scaffold: CLAUDE.md, pyproject.toml, src/agent.py and .env.example. Open the folder in Claude Code and it starts building.

📁 your-process/
📄 CLAUDE.md
📄 pyproject.toml
📁 src/agent.py
📄 .env.example
Start Your Assessment

What's next?

That was someone else's process. Now do yours.

Same seven paths, same eight dimensions, same honest verdict, except scored against how your team actually works. Five to eight questions, about fifteen minutes.

Start Your Assessment
Finance & accounting
Invoice capture into the accounting system Monthly cash-flow forecast with commentary Travel claims and receipt checking Investigating flagged transactions
Illustrative scenario based on how these processes typically run. Not a customer case study. Run this on your own process