Executive Summary
Before you pay a supplier, someone should check the invoice against what you ordered and what actually arrived. In many businesses that still means opening PDFs and comparing lines by eye. This guide shows how to build a matching workflow with Microsoft Power Automate, AI Builder and SharePoint. AI reads each invoice, simple rules compare it with the purchase order and delivery record, and people decide only the exceptions. It is written for finance managers and owners who buy goods on purchase orders and use Microsoft 365. The expected outcome is faster approvals, fewer overpayments and a clear audit trail.
Estimated reading time: 14 minutes
Key Takeaways
- The most reliable design is simple: AI reads, rules compare, people decide.
- Agree tolerances and exception owners before you build. They matter more than the technology.
- Three-way matching only works if deliveries are recorded line by line.
- From 1 November 2026, new Microsoft licences no longer include AI Builder credits. Invoice reading now costs about 6 to 8 US cents per page.
- Never let a flow update supplier bank details.
- If your ERP already matches invoices, use that instead.
Business Problem
Does anyone in your business know, before payment, that every invoice matches what was delivered?
For many companies the honest answer is “mostly”. An accounts payable (AP) clerk opens the supplier’s PDF, finds the purchase order in a spreadsheet, chases the delivery note and compares lines by eye. It works until month-end, a holiday or a resignation.
The check is called three-way matching. It compares the purchase order (what you agreed to buy), the goods received note (what arrived) and the invoice (what you are asked to pay). Two-way matching compares only the invoice and the purchase order, and is common for services.
Why it matters
Ardent Partners’ State of ePayables 2025 report (204 respondents) shows a wide gap between average and leading teams:
| Measure | Average AP team | Best-in-Class AP team |
|---|---|---|
| All-in cost per invoice | $9.84 | $2.65 |
| Time to process one invoice | 8.2 days | 2.9 days |
| Invoice exception rate | 18.4% | 11.1% |
| Invoices processed with no manual touch | 35.4% | 51.0% |
Source: Ardent Partners, June 2025.
Manual checking also leaves room for three costly errors: paying for goods that never arrived, paying above the agreed price, and paying the same invoice twice.
Then there is fraud. The Association for Financial Professionals found that 76% of U.S. organisations faced attempted or actual payments fraud in 2025. 74% were hit by business email compromise, where criminals pose as a supplier or colleague by email, often to change bank details. The Association of Certified Fraud Examiners’ 2024 report found billing schemes in 22% of fraud cases, with a median loss of $100,000.
Why AI fits this problem
The slow part of matching is reading. Invoices arrive in dozens of layouts, and someone has to turn each one into numbers. Microsoft’s prebuilt invoice model extracts the supplier, invoice number, purchase order number, totals and line items without training.
The comparison does not need AI. Checking whether a price is within 2% is arithmetic, and rules do it more reliably. The decision on a mismatch needs judgement and accountability, so it stays with people.
Callout: The design principle AI reads. Rules compare. People decide. Any design that lets AI approve variances or pay invoices gives up the control this workflow exists to strengthen.
Who This Workflow Is For
This workflow fits best for:
- Small and mid-sized businesses buying physical goods on purchase orders, such as wholesalers, distributors, manufacturers, construction firms and multi-site retailers.
- Finance teams on Microsoft 365 without an ERP that matches invoices.
- Businesses handling a few hundred to a few thousand purchase-order invoices a month (our editorial estimate, not a benchmark).
You should probably skip it if:
- You don’t use purchase orders. There is nothing to match against.
- Your ERP already matches invoices. Dynamics 365 Finance has built-in matching policies. Business Central’s Payables Agent reached general availability in October 2026, according to Microsoft. Ramp offers three-way matching with NetSuite.
- Your volumes are very low. A few dozen invoices a month rarely justify the setup.
- Most invoices arrive as structured e-invoices such as Peppol or ZUGFeRD, which already contain machine-readable data.
