How to automate accounts payable: the real stack and order
Accounts payable is three jobs and one decision. The three jobs, reading the bill, checking it, and paying it, stopped being human work a couple of years ago. The decision, the yes to pay, stays yours. Almost every guide on this skips straight to “pick a platform” and waves through the order, the prices, and the steps that actually catch errors. This is the real sequence, built the way we build it for clients, with the tools named and the traps marked.
The case for doing it is blunt. US research puts a hand-processed invoice at about $15 and a manual one at 14.6 days to process with a 39% error rate, and 86% of small and mid businesses are still keying invoice data in by hand. Automated, the same invoice costs $2 to $4 and one person can handle 23,333 invoices a year instead of 6,082. This is the single highest-value tidy-up in the back office. If you want the wider picture across payroll, receivables and reconciliation, that’s the back-office automation playbook, and the money coming in is its own build in accounts receivable automation. This one goes deep on AP alone.
Build it in order. Steps 1 to 7 are the standard stack almost everyone should run. Past that sit two frontier moves most AP guides skip, kept brief here because the back-office playbook maps them across the whole back office: asking an AI about your payables, and building the pipeline yourself.
Here is the standard stack as one running pipeline. Five of these steps run themselves once they’re set up. One stays human, on purpose.
1. Map your current AP process before you buy anything
You can’t automate a process you can’t draw. Before a single tool, spend twenty minutes writing down exactly how a bill moves through your business today: where it arrives, who sees it, who approves it, who keys it into the accounts, and who presses pay. This map is the whole job in miniature, and it tells you which step is actually costing you, which is the one to fix first.
Be honest about the messy reality. Bills land in three different inboxes, one supplier still posts paper, the approval is a verbal “yeah pay that” in the corridor, and someone retypes the lot into Xero on a Friday. Every one of those is a step automation will either fix or expose. Note your rough monthly volume too, because the number of bills decides how much tooling is worth buying. Ten bills a month and you barely need more than built-in capture. A hundred and the full stack pays for itself fast.
The trap. People skip the map and buy the tool, then bolt the software onto a process nobody ever agreed on. The software works fine, the process is still a mess, and now it’s a faster mess. Draw it first. The half-hour saves you weeks.
2. Funnel every bill into one inbox
Give every supplier one address to send to, and the whole pipeline has a single front door. The most common reason AP stays manual isn’t tools, it’s that invoices arrive in five places: your inbox, the bookkeeper’s inbox, a couple of supplier portals, and the post. Nothing automates cleanly until they all land in one spot.
Set up a dedicated capture inbox, something like accounts@yourbusiness, and tell suppliers to send there. Most capture tools and both Xero and QuickBooks give you an email address you can forward bills to, so a PDF emailed in becomes a draft bill automatically. There’s a clear walkthrough of the email-in setup in How to Create Bills from Emails in Xero if you want to see the screens. For the supplier who still posts paper, snap it with the capture app’s phone camera on the way past the printer. One door in, and every later step has something consistent to work on.
3. Let software read the bill so nobody types it
Invoice capture reads a supplier bill, a PDF or a photo, and pulls out the supplier, date, amount, tax and line items, then drops it into your accounts as a draft bill. You might see this called OCR. Ignore the term. It just means the software reads the document the way you would, and these days an AI checks its own work, so it’s accurate enough to trust on most standard bills and only flags the odd unusual one for a human glance.
The tool most small businesses reach for is Dext, which captures bills and receipts and feeds them into Xero or QuickBooks, from around $25 a month. Hubdoc comes free with most Xero plans and does the core of the job. Both Xero and QuickBooks also have basic capture built in at no extra cost, which is plenty if your volume is low. There’s a good walkthrough of the Dext-to-Xero flow in this Review and publish bills tutorial. However you do it, the rule is the same from here on: no human types a bill again. The machine reads, a human only ever checks.
4. Match the bill to the order and the delivery
Matching is the step that catches the wrong, duplicate and fraudulent bills automatically, and it’s the one the vendor guides wave through fastest. Before a bill gets near a payment, the software compares it against what you agreed to buy and what actually arrived. Two-way matching checks the invoice against the purchase order. Three-way matching adds the third check: the record of what was delivered. If all three agree, the bill sails on. If they don’t, a human looks.
You might hear “three-way matching” said like it’s a big finance concept. It isn’t. It’s “does the bill match the order and the thing that turned up”, which is exactly the check you’d do by hand if you had time, done in a second by software that never gets bored. ApprovalMax does this on top of Xero and QuickBooks: when a bill fully matches a single purchase order it suggests the match and applies it in one click, and anything that doesn’t match gets held for a person. If you raise purchase orders at all, turn this on. It’s the cheapest fraud and error control you’ll ever set up.
The trap. Skipping matching because “I’d notice a dodgy invoice”. At ten bills a month, maybe. The research says 39% of invoices contain an error and duplicates are the classic one that slips through, the same bill paid twice because it came in twice. Matching catches that without anyone having to remember they’ve seen it before.
5. Route it to a human for the yes-to-pay
This is the step you never automate away, and the only one that stays fully human. Everything before it gets the bill ready. This is where a person says “yes, pay that”. Keep it, because it’s your last line of defence against paying something wrong, and because separating the person who enters a bill from the person who approves it is the single control that stops most internal fraud.
An approval tool like ApprovalMax routes each captured bill to whoever should sign it off, holds it until they do, and pushes it back to Xero or QuickBooks approved, with a permanent record of who approved what and when. The bit worth setting up properly is the rules: approval thresholds so a $50 stationery bill doesn’t need the same sign-off as a $50,000 one, and an escalation path so nothing sits dead in someone’s queue while they’re on leave. Invoice approval is the most commonly automated AP task for a reason, it removes the corridor conversation and the “did you approve that?” chase, and leaves a clean audit trail behind it. ApprovalMax runs from around $54 a month.
The honest bit. This tool earns its keep on volume and on having more than one person involved. If you process dozens of bills across a couple of approvers, the control and the audit trail are worth every cent. If you get six bills a month and you’re the only one paying them, you are the approval step, and a $54 subscription to formalise that is money wasted until you grow.
6. Pay approved bills in one batch run
Once bills are approved, pay them in a single run, not one at a time. Dribbling payments out as they land means you never see the whole picture of cash going out, and you lose track. Grouping approved bills into one weekly pay run is faster and gives you one moment to look at everything together before it leaves.
In Xero you select the approved bills, create one batch payment file and upload it to your bank, or pay straight through a connected provider. QuickBooks does the same with its bill pay. For paying suppliers across borders, Airwallex and Wise run batch payment runs at better rates than a bank and send the record back to your ledger, so the payment and the bookkeeping stay in step. Pick one slot a week, look at the full list of what’s going out, release it together. That single habit does more for your grip on cash flow than any dashboard.
7. Sync it back and keep the audit trail
The pipeline isn’t done until the paid bill is sitting in your accounts, marked paid, with a record of how it got there. This is the step that turns automation from “a faster way to pay” into “books that are always current”, and it’s mostly automatic once the tools are connected. The capture tool posts the bill, the approval tool records the sign-off, the payment marks it settled, and your ledger reflects all of it without anyone retyping a thing.
The two things to get right are the exception queue and the trail. The exception queue is where anything that didn’t match or didn’t have an approver waits for a human: check it once a day, because the whole value of automating the other 90% is that you’ve freed yourself to look hard at the odd 10%. The audit trail is the who-approved-what-when record your approval tool keeps automatically. Leave it on. It’s what makes the whole thing safe to run, and what your accountant or auditor will thank you for at year-end.
Going further: ask an AI about your payables
Once the stack runs, you can point an AI straight at Xero or QuickBooks and ask about your payables in plain English. Both Xero and Intuit QuickBooks now ship an official connector for it; the back-office playbook covers how that connection works, and the agentic AI playbook covers what these things can and can’t be trusted with. The AP-specific part is knowing which questions to ask.
The ones that earn their keep are the payables questions you’d otherwise build a report for. “Which supplier did I pay twice this quarter.” “What’s due before Friday’s pay run, and have I got the cash to cover it.” “Which bills this month never matched a purchase order.” “Draft a polite query to the supplier whose last two invoices came in wrong.” It reads the live ledger and answers in seconds, and the drafting takes the awkward chase off your plate. Keep it to reading and drafting for now: anything it writes back to your books gets the same human glance as the yes-to-pay in step 5.
The frontier: a custom AP pipeline
The deepest level is wiring your own flow, so a bill goes from inbox to posted entry with almost nobody touching it. What makes an AP pipeline its own build, rather than the generic capture-to-ledger one, is the logic in the middle: an AI reader like Mindee or Google Document AI lifts the fields, then your own rules do the matching and the routing, auto-posting a bill that matches its purchase order and falls under a threshold, and pinging a person on Slack for anything that doesn’t. There’s a ready-made n8n template that runs Gmail to OCR to Slack to Xero close to this exact job, and Xero’s agent toolkit with Claude Code lets a developer build straight against the books.
The maturity call. This isn’t a product you switch on, it’s a build that needs upkeep, and the thing that breaks it is specific to AP: a supplier changes their invoice layout and the matching quietly starts missing. For most operators the honest answer is to get someone to build it once and hand it over. Very little of it is written down anywhere, which is exactly why it’s an edge worth having.
What to keep by hand
Some of AP is judgment, not data entry, and automating the judgment is how you get burned. Leave these with a person. The final yes to pay, always, for the reasons in step 5. Anything the system flags as an exception or a mismatch, because catching those is the entire point of automating the rest. New supplier bank details, because a request to change where money goes is the classic invoice-fraud move and deserves a human phone call to a known number, never a reply to the email that asked. And unusual or one-off bills that don’t fit the pattern. The machine handles the repetitive 90% so you can put real attention on the 10% that needs it.
How far to take it, by volume
The right amount of AP automation is set by how many bills you see, not by what a vendor wants to sell you.
A handful of bills a month: do it yourself and stop there. Map the process, point everything at one inbox, and turn on the capture already built into Xero or QuickBooks. That’s an afternoon, it costs nothing extra, and at that volume you are the approval step, so a paid approval tool is money wasted.
Dozens of bills, or more than one approver: buy the stack. A paid Dext plan, ApprovalMax for the matching and sign-off, a payments provider for the pay run. Each earns its place the moment the manual version is genuinely costing you time, and the audit trail pays for itself the first time someone asks “who approved that”.
Hundreds of bills, or a process that’s genuinely your own: that’s when a custom pipeline is worth building. It’s a build, not a setup, and the rung where real expertise saves you weeks of tinkering and a flow that quietly breaks. Get it built once, get it handed over, and own it. That’s the whole point.
Questions people ask
- What's the first step to automate accounts payable?
- Map your current process before you buy anything. Write down where bills arrive, who approves them, and where someone keys the data. You can't automate a process you can't draw, and the map tells you which step is actually costing you time. That's the one to fix first.
- How much does it cost to automate AP for a small business?
- The tools are cheap. Invoice capture like Dext runs from around $25 a month, an approval tool like ApprovalMax from around $54 a month, and batch payments come built into Xero and QuickBooks. Check current pricing on each site since plans vary by region. For context, US research puts a hand-processed invoice at about $15 and an automated one at $2 to $4.
- How long does it take to set up?
- A focused setup is an afternoon per tool, not a project. Connecting capture and turning on a simple approval workflow can be live in a day or two. The longer part isn't the software, it's agreeing who approves what and cleaning up your supplier list first.
- What's the difference between AP automation and my accounting software?
- Xero or QuickBooks is the ledger: it records what happened. AP automation sits in front of it and does the work that gets a bill ready to record, reading it, matching it, routing the approval, then pushes the result back. It adds to your accounting software, it doesn't replace it.
- What is three-way matching?
- A simple check with a clumsy name. The software compares three things before a bill gets paid: the invoice, the purchase order you raised, and the record of what actually turned up. If all three agree, it sails through. If they don't, a human looks. It's the main thing that catches duplicate, wrong and fraudulent invoices automatically.
- Can I automate AP without buying new software?
- Partly. Xero and QuickBooks both include basic bill capture and let you email invoices straight in, so you can stop typing without a single new subscription. What you don't get built in is a proper approval workflow with an audit trail. That's the piece a paid tool earns its keep on, once your volume justifies it.
- What part of accounts payable should stay manual?
- The final yes to pay. Everything up to it can run on its own, but a person should sign off the actual payment, because it's your last line of defence against paying a wrong, duplicate or fraudulent bill. Automate the data work around the decision, never the decision itself.