← Back to library

Match supplier invoices to their purchase orders in Make

A Make scenario shared by Philippe Larrue. An emailed invoice is read with Google Cloud Vision, its invoice and PO numbers are pulled out, and the matching purchase order is found in Drive. A Make AI agent then compares the lines, gives a status, and the result is logged to Google Sheets with its explanation.

  • OutcomeEach emailed invoice is read, paired with its purchase order and checked line by line, with matches approved and discrepancies or unclear lines escalated.
  • SetupUnder an hour
  • LevelIntermediate
  • CreditPhilippe Larrue (@Philippe_LARRUE)
View original
Works with
Make

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 23, 2026

When should you use it?

  • Suppliers invoice against POs and nobody checks every line
  • A bookkeeper doing AP for product businesses
  • You want a log of why each invoice was approved

Not for: Paying invoices automatically: the scenario logs a status for a person to act on

What do you need, and what do you get?

You need

  • Gmail invoice inbox, POs in Google Drive
  • Make account with Google Cloud Vision, Drive and Sheets connections

You get

  • Reconciliation log: status, PO, invoice number, reasoning

How does it work, step by step?

  1. Read the original postThe author walks through each module; follow it in your own Make account.
  2. Connect your appsAdd connections for the apps used (Gmail, Google Sheets or Drive, Slack and so on).
  3. Configure the Make AI agentPaste the instructions into the Make AI Agent module and set its output structure.
  4. Run once, then scheduleRun the scenario manually on test data, check the output, then turn on the schedule.

The prompt

Our own prompt, inspired by Philippe Larrue (@Philippe_LARRUE) and written to work in Make. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt4 variables
Compare this supplier invoice with its purchase order, line by line.
Tolerance for price differences: {price_tolerance}. Treat freight and surcharges as: {freight_rule}.
For each invoice line return: matched PO line, status (match, wording match, discrepancy, unmatched) and a one-line reason. Then give an overall status: APPROVED only if every line matches, DISCREPANCY_FOUND if any line differs, ESCALATED if you can't read or pair something. Never guess a match.

Purchase order:
{po_text}

Invoice:
{invoice_text}

Inspired by Philippe Larrue (@Philippe_LARRUE): Scenario to reconcile supplier invoices against purchase orders automatically. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Poor scans can misread amounts; route every discrepancy to a person.
  • Invoices without a PO number need their own path.

Our take

Matching invoices to purchase orders is a basic AP control that small firms often skip because checking every line by hand is tedious. The author's design gets two things right: the AI step only compares and classifies, and anything it can't confirm is escalated rather than guessed. The author describes testing three cases (a wording difference that still matched, a quantity mismatch and an unmatched line), which is the right minimum test set. No prompt was published, so we wrote our own for the comparison step. In our dry run with a sample PO of six lines and an invoice with one quantity difference, one reworded description and one extra freight line, it returned DISCREPANCY_FOUND, matched the reworded line, flagged the quantity and listed freight as unmatched for review. Watch the escalated pile in the first month; if it is large, the usual cause is inconsistent PO numbering or descriptions rather than the AI step, and fixing that at the source helps the whole AP process.

Where the time goes back: Line-by-line checking of every invoice against its PO happens before anyone opens the invoice.

FAQ

Is the author's prompt published?
No, so the prompt on this page is ours, written for the same comparison step.
Does it handle different wording between invoice and PO?
That is what the AI step is for: the author reports a test where lines matched despite different descriptions.

Source and credit

Inspired by Philippe Larrue (@Philippe_LARRUE). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Scenario to reconcile supplier invoices against purchase orders automatically
Creator
Philippe Larrue (@Philippe_LARRUE)
Published on
Make Community
Original date
Oct 6, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Make
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. No guessed matches.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Finance & Accounting

All 62 Finance & Accounting playbooks →

Related playbooks

Finance & AccountingWorkflow✓ AI dry run

Auto-file emailed invoices by month for your accountant

Every invoice that reaches Gmail is saved as a PDF in a year and month folder in Google Drive and logged in that month's sheet, ready to share with your accountant at month end.

Credit: Ioana Frincu

Under an hour
Finance & AccountingWorkflow✓ AI dry run

Collect monthly vendor invoices for your accountant

Every SaaS and cloud invoice for the month reaches your accountant without you visiting each billing portal.

Credit: u/UltraFocusMe on r/AccountingDepartment

An afternoon+
Finance & AccountingWorkflow✓ AI dry run

Split one big scanned PDF into its separate documents

Turn a bundle of scanned paperwork, such as a stack of invoices saved as one file, into one PDF per document without paging through it to mark where each one ends.

Credit: Jim Le

An afternoon+
Finance & AccountingWorkflow✓ AI dry run

Register supplier PDF bills on a Monday board

Supplier invoices dropped in a folder appear on your monday.com board as structured items without manual entry.

Credit: u/itsmakehq on r/Make

An afternoon+