# What is a two-way match?

> A two-way match (2-way matching) checks a vendor invoice against its purchase order before payment. How it works, when it's enough, and how AI helps.

Source: https://ynteractive.com/content/glossary/two-way-match · Updated 2026-10-22 · Free from Stepthrough (https://ynteractive.com)

[Business](https://ynteractive.com/content/glossary#topic-business) · [AI glossary](https://ynteractive.com/content/glossary)

Quick answer

A two-way match is an accounts payable check that compares a vendor invoice with its purchase order before the invoice is paid. If the vendor, items, quantities, prices and terms agree, within any allowed tolerance, the invoice can be approved. It is common for services and low-risk purchases with no delivery to count.

Last updated October 22, 2026

[Take the free module →](https://ynteractive.com/courses/ai-for-accounting-firms/13)Module 13 of the free [AI for Accounting & Bookkeeping Firms](https://ynteractive.com/courses/ai-for-accounting-firms) course, about 14 minutes. No account needed.

Updated October 22, 2026 · By [Robert Breen](https://ynteractive.com/content/about/robert-breen)

## Why it matters for a small business

Paying only what you agreed to pay is the whole point. A two-way match catches a price that crept up, a line nobody ordered or an invoice with no PO behind it. It is quick, because it needs just two documents, and it fits most of what an office buys: software, consulting, cleaning or a monthly service.

Its gap is delivery. A two-way match can't tell you whether 40 cartons actually arrived. For physical goods, many businesses add the receiving record and run a [three-way match](https://ynteractive.com/content/glossary#three-way-match). Which purchases get which check is a policy decision, often set by amount and type, so write it down where [accounts payable](https://ynteractive.com/content/glossary) can follow it.

## Two-way matching: what gets compared

| Field | Purchase order | Invoice |
| --- | --- | --- |
| Vendor | The supplier you chose | The same supplier |
| PO number | Issued by you | Quoted by the vendor |
| Items and quantities | What you ordered | What they billed |
| Price and total | The agreed price | Must agree, within tolerance |

## In a real lesson: How to Put PDF Invoices in Google Sheets with n8n, AI and an Approval Step

The [Invoices from Your Inbox to Google Sheets lesson](https://ynteractive.com/content/invoice-inbox-to-google-sheets-approval-n8n) builds the reading half of a match. For Cobalt Street Architects, a made-up firm, an n8n workflow catches a vendor PDF from Tidewater Office Supply, invoice TW-20418 for $1,284.50, and an AI Information Extractor pulls the vendor, invoice number, dates and total into a sheet.

The extractor's instructions are the right ones for matching: copy what is printed, never calculate or guess, and leave a missing field empty. With those fields in a row, comparing them to the PO is a simple lookup. The lesson's If node then sends anything over $1,000 to the owner for approval.

[Try this lesson free](https://ynteractive.com/modules/invoice-inbox-approval) or [read the step-by-step guide](https://ynteractive.com/content/invoice-inbox-to-google-sheets-approval-n8n).

## How AI helps

AI takes the typing out of two-way matching: it reads the invoice, lines its fields up against the PO and flags any difference for a person. The PO side needs a clean list too. In the [SunSed purchase order tracker lesson](https://ynteractive.com/content/sunsed-build-purchase-order-tracker-app), Riverbend Office Services, a made-up company, describes a tracker in plain words and gets an app where every order has a status and a due date. I let the AI flag mismatches and a person decide what each one means.

## Common confusions

### Two-way match vs three-way match

A two-way match compares invoice and PO. A three-way match adds the [goods receipt](https://ynteractive.com/content/glossary), proving what arrived. Use three-way when there is something physical to count.

### Two-way match vs invoice approval

The match checks that the paperwork agrees. [Invoice approval](https://ynteractive.com/content/glossary) is a person with authority agreeing to pay. A clean match makes approval quick.

## Tips

- Set a small tolerance for rounding or shipping so tiny differences don't stall payment.
- Send invoices with no PO number back to the vendor or the requester.

## Related terms

[Three-way match](https://ynteractive.com/content/glossary#three-way-match) · [Purchase order](https://ynteractive.com/content/glossary/purchase-order) · [Invoice approval](https://ynteractive.com/content/glossary) · [Accounts payable](https://ynteractive.com/content/glossary) · [Purchase order vs invoice](https://ynteractive.com/content/glossary#purchase-order-vs-invoice) · [Goods receipt](https://ynteractive.com/content/glossary)

## More Business terms

Unapplied cash · [Unit economics](https://ynteractive.com/content/glossary#unit-economics) · [Upsell](https://ynteractive.com/content/glossary#upsell) · [Utilization rate](https://ynteractive.com/content/glossary)

## Where you use it: free lessons

- [How to Put PDF Invoices in Google Sheets with n8n, AI and an Approval Step](https://ynteractive.com/content/invoice-inbox-to-google-sheets-approval-n8n) (n8n, 14 min)
- [SunSed: Build a Purchase Order Tracker App by Describing It](https://ynteractive.com/content/sunsed-build-purchase-order-tracker-app) (SunSed, 12 min)

## More free tutorials

[AI for Finance](https://ynteractive.com/courses/ai-for-finance)

## Frequently asked questions

**What is a 2-way match in accounts payable (AP)?**

It is the accounts payable step of comparing each vendor invoice with its purchase order, line by line, before approving payment. Two documents, so "two-way."

**What is the difference between a two-way and a three-way match?**

A two-way match compares the invoice with the purchase order. A three-way match also checks the receiving record, so you only pay for goods that arrived. Services usually use two-way.

**What happens if the invoice does not match the PO?**

Hold that invoice and ask the vendor or the person who ordered. The answer is usually a corrected invoice, a credit memo or an approved change to the order.

**What is two-way invoice matching in P2P?**

In procure-to-pay (P2P), two-way invoice matching is the control between ordering and paying: the invoice must agree with the approved purchase order before it is released for payment.

[All AI glossary terms, A to Z](https://ynteractive.com/content/glossary) · [Free prompt templates](https://ynteractive.com/content/prompts)
