New Odyssey
Back to blog

Industry Insights

Checkpoints and recovery

"We can't let AI near payments. What if it goes wrong halfway?" It will go wrong halfway. What matters is whether it resumes, or pays twice.

Ademola Afolabi

Founder

December 3, 2026Updated December 3, 20264 min read

"We can't let AI near payments. What if it goes wrong halfway?"

It is the right worry for a financial controller at a contractor or a property manager. Payables are where small mistakes turn into real money: a duplicate invoice, a rate that drifted from the contract, a supplier paid twice.

So let us agree with the premise. An agent working through a batch of invoices will, at some point, go wrong halfway. A supplier system times out. An ERP connection drops. A scanned page can't be read. The server restarts for an update.

The question is not whether a long run fails. It is what happens next. That is the question to ask before any agent touches a payment run, and it has a good answer.

Long jobs fail halfway

Most demos show an agent handling one document. Match one invoice, check one specification. It takes seconds and it works.

Real work in construction and property doesn't come one document at a time. It comes in batches. A week of supplier invoices. A month of subcontractor applications. A set of site documents that update job costs.

These runs take minutes or hours. Over that time, something will go wrong. The fear behind the objection is that when it does, nobody knows what was already done.

Restart is the dangerous answer

The simplest design, and the one many pilots use, is to start again. The run failed, so run it from the beginning.

For reading documents, that only wastes time. For anything that pays, it is dangerous.

If an agent was paying invoices when it stopped, starting again means it meets the first invoices a second time. Unless something checks, it can pay them a second time. The same applies to raising purchase orders or updating job records. Work that was already done gets done again.

People then build workarounds. Someone checks every batch by hand after a failure. Someone splits the work into tiny runs so failures cost less. Both quietly remove the time the agent was meant to save, and the controller's worry turns out to be justified.

What a resume looks like

Diagram for checkpoints and recovery

The diagram shows one example run. The numbers are invented for illustration.

An agent is working through a batch of 240 supplier invoices. It saves a checkpoint after invoice 80, and another after invoice 160. At invoice 173, the supplier system times out and the run crashes.

Without checkpoints, the run restarts from invoice 1. Invoices 1 to 172 are processed again. Some may be paid twice. Someone now has to find out which.

With checkpoints, the run resumes from invoice 161, the first one after the last checkpoint. Before it acts on invoices 161 to 172, it checks each one against the record. Any invoice already paid is skipped. None is paid twice. The run carries on to invoice 240.

A crash costs a few minutes, not an afternoon of checking, and not a duplicate payment.

What we build in

We don't put an agent near a payment run until three things are true.

It saves its progress at known points, so a failed run can carry on rather than start again. Every action it takes is written to a record with a unique reference, and on resume it checks that record before it acts. And a payment it repeats by mistake is refused, because the payment carries a reference the receiving system won't accept twice.

In our stack, this is Romulus: checkpoints and recovery for long-running agents in production.

Recovery sits beside the controls from earlier issues. Any payment over a threshold is held until a named person approves it, and every decision is recorded. An agent near your payables is never trusted to behave. It is built so it can't do the expensive thing twice, and can't do the large thing alone.

The data has to be ready too

Recovery protects the run. It does not fix the inputs.

63% of manufacturers needed data clean-up before they could pilot AI at all (Manufacturers Alliance), and construction and property firms meet the same mess: duplicate supplier records, rates in three formats, invoices saved as images. An agent will meet all of these, and often that is where a run stops.

Integration tools help with the shape of the data, not its quality. Merge, the integration partner we use for ERP and business systems, standardises the format of data from cloud systems. It doesn't clean it, and it doesn't cover on-premise systems. We say so up front, and scope clean-up as its own piece of work. We also design the agent to stop and ask when a record doesn't make sense, rather than guess.

What we look at

In an accounts payable controls review, we start with your own invoices. We measure leakage and error rates on them: duplicates, rate drift, mismatches against purchase orders and receipts. Then we look at what an agent would need before it touched that run: where it would resume after a failure, how a repeat payment would be refused, which payments would wait for a person, and where the record lives.

The client gets the rates measured on their own data, the gaps ranked, and a 30/60/90-day plan with a named owner on each action. Whether they automate anything after that is their call.

See it go wrong on purpose, 9 December

On Wednesday 9 December at 16:00 UK, 11:00 US Eastern, we will run an invoice-approval agent live for 30 minutes, demo first. We will stop it halfway on purpose and show it resume without paying anything twice.

Worried about your payables? Our accounts payable controls review measures leakage and error rates on your own invoices. Fixed fee, agreed on a 20-minute call.

Assess my workflow

Published

December 3, 2026

Last updated

December 3, 2026

Author

Ademola Afolabi · Founder

Reviewer

New Odyssey Editorial Team · Editorial Review

Methodology

This industry insights piece is maintained by the New Odyssey editorial and delivery teams using current implementation patterns and operating assumptions.

Which of your workflows is worth automating?

Answer three questions about the process you want to automate and see what it costs you today.

Assess my workflow

Stay updated

Get weekly integration insights delivered to your inbox.