Accounts payable is the back-office role where the AI agent pitch sounds most concrete. Invoices arrive, someone reads them, codes them, matches them to a purchase order, chases an approval and schedules a payment. Every vendor in the space now says an agent can do most of that. Some of it is true. The part that is not true is usually the part that costs you money.
This guide is for CFOs, finance operations leads and product teams at fintech and SaaS companies who are deciding whether to buy an AI-powered AP platform, add a custom agent to the tools they already have, or build AP automation into their own product. It covers where the time really goes, what an agent should and should not be allowed to do, what it costs to run, and how to pilot one without creating a new fraud risk.
Where AP cost actually sits
Start with the benchmarks, because they reframe the whole problem. Ardent Partners' 2025 accounts payable research, as summarised by Tungsten Automation, puts the average cost of processing a single invoice at $9.40, against $2.78 for best-in-class teams. The same summary reports an average invoice exception rate of 14% (9% for best-in-class), and says best-in-class organisations reach 49.2% straight-through processing. Only 24% of organisations had implemented fully automated invoicing, handling an average of 32.6% of invoices that way.
Read that last part again. Even the best teams in the study still have a person touching roughly half of their invoices. Capture technology has been around for years, so this is not a reading problem. It is a judgement problem: the quantity received does not match the purchase order, the unit price drifted, the PO was never raised, the approver is on holiday, the vendor sent the same invoice twice from two email addresses.
That is our main point of view on AP agents. Data capture is largely solved and cheap. The value of an agent is in the exception queue. If a vendor demo spends twenty minutes on extracting fields from a messy PDF and two minutes on what happens when the match fails, you are being sold the easy half.
What the agent should do, task by task
The cleanest way to scope an AP agent is to list the jobs in your process and decide, for each one, whether the agent prepares, recommends or acts. Here is the split we would start from for a mid-sized company with purchase orders and an ERP.
| AP task | Agent role at launch | Why |
|---|---|---|
| Invoice capture and field extraction | Acts, with confidence thresholds | Errors are caught by matching downstream; low-confidence fields go to review. |
| GL coding and cost centre | Recommends | History makes good suggestions, but miscoding distorts reporting quietly. |
| Two- and three-way matching | Acts (it is deterministic) | Use rules for the match itself. The model explains failures, it does not do arithmetic. |
| Exception triage and explanation | Prepares | The biggest time saving: a one-paragraph summary of what failed and what evidence exists. |
| Routine exception resolution (within tolerance) | Recommends, then acts after shadow period | Narrow, well-defined cases such as small price variances or freight lines. |
| Vendor and requester follow-up emails | Drafts; a person sends at first | Outbound messages carry your name. Move to auto-send only for templated status replies. |
| Approval routing | Acts, by rules | The agent attaches a summary so approvers decide faster. It never approves. |
| Duplicate and anomaly detection | Flags | Cheap to run on every invoice and valuable even when it is wrong occasionally. |
| Vendor master changes (bank details, addresses) | No access | The highest-risk action in AP. Human only, with out-of-band verification. |
| Payment release | No access | Segregation of duties. An agent that prepares an invoice must not pay it. |
Two design rules come out of this table. First, keep deterministic work deterministic. Matching quantities and prices against a PO is a rules engine job; a language model adds risk there and nothing else. Use the model for the messy edges: reading, explaining, drafting and classifying. Second, decide the boundary of autonomy per task, not per agent. "The agent handles AP" is not a scope. "The agent prepares every exception and resolves price variances under 2% after eight weeks of shadow testing" is.
The fraud problem changes the design
AP is where payments fraud lands, so any agent you put there becomes part of your control environment. The 2026 AFP Payments Fraud and Control Survey, released in April 2026 and based on 465 US treasury practitioners, found that 76% of organisations experienced attempted or actual payments fraud in 2025, and about three in four (74%) were affected by business email compromise. Only 17% said they use AI to combat payments fraud.
Business email compromise is exactly the attack an inbox-reading agent is exposed to. A fake "updated bank details" email, or an invoice from a lookalike domain, is aimed at whoever processes the inbox. If that is now an agent, three things follow.
- No tool for the dangerous actions. Do not rely on the prompt to say "never change bank details". Simply do not give the agent an API that can. Same for payment release and approving its own work.
- Treat documents as data, not instructions. An invoice PDF or email body can contain text written to steer a model. The agent should extract and summarise content, and nothing in a document should be able to change what tools it calls.
- Make the agent a detector. The upside of reading every invoice is that the agent can compare each one with vendor history: a new remittance address, a bank account that differs from the master record, an invoice number pattern that changed, an amount far outside the usual range. Flagging these is low risk and high value.
The same logic applies to any agent that touches money, which is why we cover similar boundaries in our guide to what an AI claims intake agent costs to build.
Working on something like this? See our Claude Agent Development →
What it costs to run: the model is the cheap part
Buyers often assume the language model will be the expensive line item. For AP it almost never is. Anthropic's PDF support documentation says each page typically uses 1,500 to 3,000 text tokens, plus at most 1,568 image tokens. A two-page invoice is therefore around 9,000 input tokens at the high end. On Anthropic's pricing page, Claude Haiku 4.5 is listed at $1 per million input tokens and $5 per million output tokens.
| Step (two-page invoice) | Approx. tokens | Approx. cost at Haiku 4.5 list price |
|---|---|---|
| Extraction to structured fields | 9,000 in / 800 out | $0.013 |
| Coding suggestion with vendor history | 3,000 in / 200 out | $0.004 |
| Exception explanation (only on failed matches) | 4,000 in / 400 out | $0.006 |
| Total, worst case | about $0.02 |
These are our own estimates from list prices and the token ranges above, not a quote, and they will move with your document mix and model choice. Running a larger model on the hard cases might multiply the figure several times. It still sits far below the $2.78 that best-in-class teams spend per invoice, let alone the $9.40 average.
So where does the money go? Into three places:
- Integration. Reading POs and receipts from your ERP, writing coded invoices back, pulling vendor history and approval chains. This is usually most of the build effort, and it is where off-the-shelf tools either fit your stack or do not.
- Exception handling time that remains. The agent shortens exceptions; it does not remove them. If your exception rate is 14% and each one takes fifteen minutes of a person's time, that is the number to attack.
- Controls and evaluation. Audit logs of every agent proposal and every human override, an evaluation set built from past invoices, and monitoring once live. Finance teams and auditors will ask for this, and it is cheaper to design in than to add later.
Plan for structured e-invoices, not just PDFs
A lot of AP AI is built around reading PDFs. That is still necessary, but in some markets the input is changing under you. According to the European Commission's eInvoicing country page for Germany, businesses there must be able to receive EN 16931-compliant e-invoices from 1 January 2025. Businesses with turnover above EUR 800,000 can no longer issue paper or unstructured electronic invoices from 1 January 2027, and the requirement extends to all businesses by 1 January 2028, with an exception for the domestic small-business scheme. XRechnung, ZUGFeRD (in its XRechnung profile) and Peppol BIS Billing 3.0 are all accepted.
The practical implication for anyone selling to or buying from German companies: build your pipeline to accept structured invoices as a first-class input and use the model only for PDFs, scans and emails. Structured data removes extraction errors, but it does nothing for a quantity mismatch or a missing goods receipt. The exception layer is where your investment keeps paying off regardless of format.
Buy, extend or build: a decision matrix
Most companies should not build AP software from scratch. The question is where custom work earns its place.
| Your situation | Recommended route | What you own |
|---|---|---|
| Standard PO-based process, mainstream ERP, under a few thousand invoices a month | Buy an AP automation suite with built-in AI capture and approvals | Configuration and approval rules |
| Suite handles capture, but your team still lives in the exception queue | Extend: a custom exception agent that reads from the suite and your ERP | Exception logic, prompts, evaluation set, audit trail |
| Unusual documents (utilities, freight, healthcare claims, multi-entity intercompany) | Extend or build the capture and matching layer for those types | Document models and matching rules for your edge cases |
| You are a fintech, spend management or vertical SaaS company offering AP to customers | Build: AP is part of your product | The whole workflow, UX, data model and agent |
| Very low volume, no POs | Neither; a bill-pay tool and good inbox rules will do | Nothing custom |
The middle option is underrated. Many finance teams already pay for a capable AP platform and are told the fix for their exception backlog is to upgrade tiers. Sometimes it is. Often the exceptions are specific to how the business buys: a supplier that always invoices freight separately, project codes that live in a separate system, a parent company whose subsidiaries share vendors. A narrow agent that knows those patterns, sits on top of the existing tools and prepares each exception for a human can be a small, contained build. If you are weighing a broader custom finance system instead, our guide to custom accounting software development covers that larger decision.
A seven-step pilot plan
- Baseline your numbers. Export three to six months of invoices with timestamps, exception codes and who touched them. Calculate your own cost per invoice, cycle time, exception rate and straight-through rate. Without these, nobody can say whether the agent helped.
- Rank your exceptions. Group them by cause and by total handling time. Pick the two categories that consume the most hours and have the clearest resolution rules.
- Build the evaluation set before the agent. Take a few hundred past invoices from those categories along with what your team actually did. This becomes the test the agent has to pass and the evidence you show your auditor.
- Wire up read-only access first. ERP purchase orders and receipts, vendor master (read only), invoice inbox, approval history. Write access comes later and only for drafting and routing.
- Run in shadow mode. The agent proposes coding and resolutions; your team works as usual. Compare proposals with decisions for at least several weeks of real volume, including a month-end.
- Design the review screen. Reviewers need the invoice, the PO, the mismatch and the agent's reasoning on one screen, with a one-click accept, edit or reject. Most of the time saving comes from this interface, not from the model.
- Expand autonomy one category at a time. When acceptance rates are consistently high for a category and override reasons are understood, let the agent resolve that category within tolerance. Keep logging every decision.
What to measure after launch
| Metric | Why it matters |
|---|---|
| Exception rate and time to resolve an exception | The core value of the agent. Should fall within weeks. |
| Straight-through processing rate | Comparable with external benchmarks such as Ardent's 49.2% best-in-class figure. |
| Proposal acceptance rate, by category | Shows where the agent can be trusted with more autonomy. |
| Override reasons | The best source of improvements to prompts, rules and data access. |
| Anomalies flagged and confirmed | Evidence the agent is strengthening controls, not weakening them. |
| Cost per invoice, all-in | Include model, platform and people time, so the comparison is honest. |
The short version
An AP agent is worth building or buying if it shrinks the exception queue while making your controls stronger. It is not worth it if it mainly re-solves invoice capture you already pay for, or if it needs access to vendor bank details to work. Measure your exceptions first, let the agent prepare before it acts, and keep money movement with people.
How Northell can help
We design and build fintech products and AI agents, and AP automation sits where those meet. A typical engagement starts with your exception data and ERP access, then a narrow shadow-mode agent with a review interface your finance team actually wants to use. If AP is part of your own product, our AI for fintech and AI development teams can take it from workflow design to production. If you want a second opinion on a vendor proposal or a pilot plan, get in touch.