AP automation and procure-to-pay: from purchase request to paid invoice
AP automation and procure-to-pay for growing companies: approvals, three-way matching with numbers, fraud controls, e-invoicing, and software vs custom.
By Rokibul Hasan8 min read
- Finance
- Automation

Accounts payable tends to break at the same stage in every growing company. Invoices arrive in five inboxes, approvals happen in chat, and a supplier phones about a bill nobody can find. AP automation moves supplier invoices from arrival to payment with fewer hands on them. Procure-to-pay starts earlier, at the moment someone asks to buy.
This guide is for finance leads, bookkeepers and owners who have outgrown "forward it to accounts". It separates the two ideas, follows an invoice through the process, works a three-way match with real numbers and compares software with custom work. If your trouble is on the sales side, such as marketplace payouts, see ecommerce accounting automation instead.
I am a developer, not an accountant, so coding, controls and tax treatment are for your accountant to decide. You will also find no cost-per-invoice figures here. Most that circulate come from AP vendors or surveys they sponsor, so the last section shows you how to measure your own.
AP automation and procure-to-pay: where each starts
| Step | AP automation | Procure-to-pay |
|---|---|---|
| Someone requests a purchase | No | Yes |
| A budget holder approves the spend | No | Yes |
| A purchase order goes to the supplier | Imported at most | Yes |
| Goods or services are received | Imported at most | Yes |
| The invoice is captured and coded | Yes | Yes |
| The invoice is matched | Against what it can see | Yes |
| The invoice is approved for payment | Yes | Yes |
| The supplier is paid and the books updated | Yes | Yes |
Invoice tools tidy up after the money is committed. Procure-to-pay controls the commitment. If most of your spend is rent, subscriptions and recurring services, an invoice tool is probably enough. If you buy stock, materials or anything that gets delivered, the control you are missing sits upstream, and no invoice tool can add it afterwards.
One invoice, step by step
- Capture. One address for supplier invoices, such as ap@yourcompany, watched by software.
- Extraction. OCR or an AI model reads the supplier, number, dates, lines and totals. Amazon Textract's expense analysis returns standard fields, including PO number and due date, with a confidence score on each, and Microsoft's invoice model covers 27 languages. Use the score for routing: anything low goes to a person.
- Duplicate check. Same supplier, number and amount. Normalise invoice numbers first, because
INV-0042andinv 42are the same bill. - Coding. Suggest the account and tax code from that supplier's past bills, and let a person confirm until you trust it.
- Matching. Covered below.
- Approval. Route by amount, department or supplier, and set a delegate for holidays.
- Payment. A batch on agreed days, released by someone other than the approver.
- Posting. The bill and payment reach the ledger. In Xero's Accounting API a bill is an invoice of type
ACCPAY, with statuses such asDRAFT,SUBMITTEDandAUTHORISED, and purchase orders have aBILLEDstatus. Have automation stop atDRAFT, so authorising stays a human act.
Reading invoices is the step everyone starts with, and AI automation for small business covers it at a simpler scale. It is also the step with the least control value.
Three-way matching, with numbers
Two-way matching compares the invoice with the purchase order. Three-way adds the goods receipt: proof that what you are paying for arrived. Services have nothing to receive, so two-way matching or a sign-off from whoever used the service is normal there.
An invented order for packaging:
| Document | Quantity | Unit price | Total |
|---|---|---|---|
| Purchase order | 100 | $4.20 | $420.00 |
| Goods receipt | 96 | n/a | n/a |
| Supplier invoice | 100 | $4.35 | $435.00 |
Two checks fail. The invoice bills four units that never arrived, and the price is 3.6% above the order. With a 2% price tolerance and none on quantity, the invoice stops and goes to the buyer. If the supplier agrees, the correct amount is 96 × $4.20, or $403.20, which is $31.80 less than billed.
Three decisions make this work:
- Tolerances. Too tight and everything becomes an exception. Too loose and prices drift. Agree them with your accountant, by category if you need to.
- Partial deliveries. One purchase order, three receipts and two invoices is normal. Your tool has to match at line level across all of them.
- Who records receipts. This is the weak point. If nobody logs deliveries on the day, three-way matching produces noise. For online sellers, receipts may live in a stock system or with a 3PL, which is where supplier and inventory feeds come in.
Controls that catch fraud as well as errors
The FBI's 2025 Internet Crime Report records $3,046,598,558 in reported losses from business email compromise, across 24,768 complaints. A familiar version is a convincing email asking you to pay a supplier into new bank details. Automation makes that faster unless you design against it.
- Bank details never change by email alone. Call the supplier on a number already in your records, and log who did it. If the details on an invoice differ from the supplier record, flag it and pay nothing.
- Split the duties. Whoever adds a supplier does not approve its bills, and whoever approves does not release payment. QuickBooks separates bill approval from payment release for this reason, with up to five approval layers, and needs Bill Pay Elite or QuickBooks Online Advanced for workflows.
- Check the name. The UK's Confirmation of Payee checks the account name before a payment is made, and the EU's Verification of Payee does a similar job for euro transfers. Treat a mismatch as a stop.
- Hold new and changed suppliers for a review before their first payment.
- Keep the trail. Who changed what, who approved, and the original document.
Invoices are starting to arrive as data
In several countries, reading PDFs is becoming a stopgap.
In France, all companies have had to be able to receive e-invoices since 1 September 2026. Large and mid-sized companies must also issue them from that date, and small ones follow on 1 September 2027, according to the French tax authority. In the UK, the roadmap published on 28 October 2026 says VAT-registered businesses will have to issue and receive VAT invoices as e-invoices from 1 April 2029, with Peppol as the core framework and a technical consultation planned for spring 2027.
So ask any AP vendor how it handles e-invoicing today, and be wary of investing heavily in custom PDF extraction for suppliers in those countries. A structured invoice removes the reading step and leaves matching, approval and payment where they were.
AP automation software by situation
| Your situation | What usually fits | Published pricing, November 2026 |
|---|---|---|
| Few invoices, one or two approvers | The bills and approvals in your accounting software | Part of your subscription, or a plan upgrade |
| Several approvers, no purchase orders | An AP tool such as BILL or Ramp | BILL from $49 per user a month, automatic sync from $65, plus $0.59 per ACH payment. Ramp has a free plan with extraction and approvals |
| Purchase orders without full procurement | BILL Corporate, or ApprovalMax on Xero, QuickBooks Online or NetSuite | BILL Corporate is $89 per user a month with POs, tolerance rules and two-way matching |
| Stock, materials, many requesters | A procure-to-pay tool such as Precoro, or Ramp's procurement add-on | Precoro Core from $499 a month, billed annually, with two- and three-way matching |
| Several entities and an ERP | BILL Enterprise or a larger suite | Quote-based |
Figures come from BILL's pricing and Precoro's pricing pages and from Ramp's and ApprovalMax's own sites. Check country and accounting-software support before you shortlist. Ramp's help centre lists US registration as a requirement.
When custom work makes sense
For most companies the answer is software. AP tools already handle bank connections, payment rails, audit trails and support, and none of that is worth rebuilding. If a tool covers your accounting package and your approval rules, buy it.
Custom work earns its place around the edges:
- Receipts live in your own system, such as a warehouse app or 3PL portal that the AP tool cannot read.
- Approvals depend on your own data: job codes, project budgets, per-site limits.
- You only need one thin step, such as a service that watches an inbox, extracts invoices and creates draft bills in Xero, leaving approval and payment inside Xero.
Keep the boundary clear: build the connection, and leave moving money to your bank or AP platform. Connections like these are custom work that I quote from a brief. AI workflow automation covers the safeguards an AI extraction step needs, and if you have not chosen which process to fix first, business process automation helps with that.
Measure your own numbers
Record these for a month before you change anything, then monthly:
- Days from invoice received to approved.
- Share of invoices touched by hand, and at which step.
- Exceptions per hundred invoices, with the top three reasons.
- Duplicates and errors caught before payment.
- Late-payment charges and early-payment discounts missed.
That gives you a business case built on your own figures.
FAQ
What is the difference between AP automation and procure-to-pay?
AP automation starts when a supplier invoice arrives and ends when it is paid and posted to the books. Procure-to-pay covers the whole cycle, beginning with a purchase request and approval, then the purchase order and goods receipt, before the same invoice and payment steps. The first tidies up spending that has already happened. The second controls spending before it is committed, which matters most when you buy stock or materials from many requesters.
Do small companies need three-way matching?
Only if you buy physical goods and someone reliably records deliveries. For rent, software and most services there is nothing to receive, so two-way matching or a simple sign-off is enough. Three-way matching pays off when short deliveries or price creep cost you real money. It fails when receipts are logged late or not at all, so fix that habit before paying for software that depends on it.
Can AI approve or pay supplier invoices on its own?
It should not, at least not at first. AI is useful for reading invoices, suggesting account codes and spotting anything unusual, but approval and payment move money and are hard to undo. Let it prepare a draft with a confidence score, and keep approval with a person who has the authority. Some companies later auto-approve small recurring bills that match a purchase order exactly, within limits their accountant has agreed.
If invoices are piling up between inboxes, approvers and your accounting software, send me a short brief: your accounting package, roughly how many invoices you handle a month, who approves them and where receipts get recorded. Send it through the contact page, read about API and backend development, or see how the sales side works in ecommerce accounting automation.


