AI Agents in Accounts Payable: Where It Breaks
Invoices arrive in six formats and someone re-types all of them.
The loop, as it actually runs
- Invoice arrives
- data extracted
- matched to PO and receipt
- routed for approval
- scheduled for payment
- posted to the ledger
Where it breaks
Not in the steps. In the joins between them:
- Approval chasing happens in email and nobody can see where a given invoice sits
- Three-way match is done by eye
- Duplicate invoices get paid because nothing checks
- Early-payment discounts lapse silently
What that actually costs
The cost here is rarely the labour. It is the early-payment discount that lapses because the invoice sat in an inbox for eleven days, the duplicate that gets paid because two people forwarded the same PDF, and the vendor who moves you to less favourable terms because you are persistently late. Each is small and none appears as a line on any report — there is no account called 'discounts we did not take'. That is exactly why accounts payable is under-automated relative to what it leaks: the waste is real, recurring and structurally invisible.
What we would build first
Approval routing goes first, ahead of the more obvious extraction work. Extraction is the flashier build, but the delay that costs money happens after extraction, while an invoice sits waiting for someone to say yes. Routing an invoice to the right approver by amount and cost centre, then chasing until it is answered, needs no judgement and removes the step where days accumulate. It also produces something you did not have before: a record of where every invoice actually sits, which makes the next build obvious.
It runs inside Bill.com, QuickBooks Online, NetSuite, Ramp, Slack — the tools already in use.
How this one goes wrong
Duplicate detection is where an agent in accounts payable does real damage, in both directions. Too loose and it pays the same invoice twice. Too tight and it blocks a legitimate second invoice from a vendor who bills the same amount monthly — which describes most of your subscriptions. Matching on amount and vendor alone will do this within the first quarter. The guard is to match on invoice number first and treat amount-and-date matches as a flag for a person rather than a block, and to never let the agent release a payment on its own judgement.
The individual jobs inside this loop — what starts each one and where it has to hand back to a person — are covered under finance & bookkeeping.
Where it lands hardest: accounting & CPA firms, wholesale distribution and construction & trades. Each of those pages carries the sector’s own economics — the three roles that absorb the work, and the season that decides when a build can start.
In most companies this work sits with bookkeepers, accountants and procurement clerks. Each of those pages carries the wage arithmetic for that role, and says plainly where the numbers do not justify the spend.