Skip to content
Agents Finance
Useful promptEvidence: Untested proposal

Supplier invoice checks in ChatGPT or Claude: sums, PO and bank details

Summary: Five copy-ready prompts that make ChatGPT, Claude or Copilot read a batch of supplier invoices, recalculate them with the working on the page, match them to the purchase order and the paid list, and flag changed bank details before anyone pays. Our own wording, with five invented sample invoices and the expected answer; not tested on real invoices.

Published on 8 min read1,729 words

Summary card: five supplier invoices go through five prompts (read, recalculate, match to PO and paid list, check bank details, decide) and only one is ready to pay; a person approves and pays.
Diagram by Agents Finance. Figures from the invented sample invoices.Image: Agents Finance · Own work

What it is for

It splits the check of a supplier invoice into five short requests to an AI assistant: copy every invoice into a table without judging it, recalculate each line, the net, the VAT and the total with the working written out before the verdict, match the invoice to the purchase order, the goods received and the invoices already paid, compare the bank details and the sender with the supplier master, and finally put it all in a decision table with draft queries. The assistant reads and adds up; a person approves, calls and pays.

Expected result and limits

No measured results: it is a wording proposal. With the five invented sample invoices (4,161.19 EUR in total) the correct answer is one invoice ready for approval (1,360.04), one price above the purchase order (60.50 too much), one line that does not add up (24.20 too much, and the supplier tax ID is missing), one invoice with new bank details and a lookalike sender domain, and one invoice that was already paid on 28 November. We worked these figures out ourselves so you can compare the answer.

Mind the evidence. Material written by this directory based on published practices. We have not tested it with real data: try it with sample data first.

What has really been tested

We wrote the five sample invoices, the purchase orders, the paid list and the supplier master, and calculated the expected checks by hand and in a spreadsheet. We have not run the prompts on real invoices, and assistants can misread scanned PDFs and make mistakes with sums, which is why the second prompt demands the working and the expected answer is published here. The Reddit post is one user's informal test, not a study.

The prompt

Before you use itDo not paste confidential or personal data (customer names, tax IDs, IBANs, payroll…) into an AI service without checking your provider’s terms and data-protection rules (GDPR in the EU): use sample or anonymized data. Always review the output: AI can get figures, accounts or tax criteria wrong, and responsibility remains yours.
Prompt text
Now check the arithmetic of each invoice. Show the working before any conclusion.

For each line write: quantity x unit price = your result, then the printed line amount, then the difference.
Then write: sum of your line results = net; net x VAT rate = VAT, rounded to 2 decimals; net + VAT = total. Put each of your figures next to the printed one, with the difference.
VAT rates we expect on these purchases: {{VAT_RATES}}. Flag any other rate.

Only after the working, give one verdict per invoice: "Arithmetic OK" or "Arithmetic error" with the amount of the difference. Ignore rounding differences of {{TOLERANCE}} or less.
Never call an invoice correct unless every step of the working is written above the verdict.

Without JavaScript you will not see the button: select the text in the block and copy it. License: Agents Finance template, original text of this directory. Free to use and adapt; it is not text from the cited sources.

Variables you need to fill in

Replace each placeholder in double curly braces with your data before sending it.

{{VAT_RATES}}
The VAT rates you expect on these purchases, for example 21% (or your local rates).
{{TOLERANCE}}
The rounding difference you accept, for example 0.02.

How to use it

Collect the invoices due in the next payment run, export the purchase orders with quantities received, the paid invoices of the last few months and the supplier master (only the last four digits of each account), and paste the five prompts in order. Check every flag yourself, call suppliers only on numbers you already had, and approve payments in your own banking or ERP.

“Is this invoice right?” is the wrong question to ask an AI. In a late-November post on r/ClaudeAI, a user pasted two copies of a simple invoice into fresh chats, one of them with a line that no longer added up, and asked whether they could sign it. Both Claude and GPT opened with “yes, the numbers add up” before calculating anything; on the broken copy, the error only surfaced once the model worked through the lines and cut its own verdict short. The author’s advice is the one any reviewer would give a junior: don’t ask whether it checks out, ask for the working and read it.

The other way supplier invoices go wrong has nothing to do with sums. Spain’s cybersecurity institute INCIBE describes the textbook case: a company gets the invoice it was expecting, pays the account printed on it and learns days later that a criminal had swapped the bank details. The GFOA advisory on vendor fraud is blunt about the fix: confirm changes by phone using the details you already hold, and “do not call a new phone number to verify changes”.

So these five prompts give the assistant the reading and the arithmetic, with everything written on the page, and keep every decision that moves money with you.

What you need

  • The invoices for your next payment run, as PDF, image or pasted text. Clean digital PDFs read best; scans and photos need extra care.
  • Three small exports from your accounting software or ERP: purchase orders with quantities received, invoices paid in the last few months, and a supplier master extract with the usual email domain, the phone number on file and only the last four digits of each bank account. Nobody needs full account numbers for this check.
  • ChatGPT, Claude or Microsoft 365 Copilot on a business or work plan. OpenAI says it does not train on business data by default. Go through our checklist for company data in AI assistants before uploading anything real.

To practise, download the five sample invoices with the purchase orders, the paid list and the supplier master. Everything in them is invented, and each invoice hides one typical problem (or none).

Prompt 1. Read every invoice into a table, without judging it

Start with a plain transcription. Asking for a verdict straight away is how a misread figure turns into a confident “looks fine”.

You are helping an accounts payable team check supplier invoices before payment. Attached are the supplier invoices to check (PDF, image or pasted text).
Do not decide anything about payment yet.

1. For each invoice, make one table with: supplier name, supplier tax ID, our company name and tax ID, invoice number, invoice date, PO number, each line (description, quantity, unit price, line amount), net amount, VAT rate, VAT amount, total, the last four digits of any bank account shown, and the sender's email address if it appears.
2. Copy every figure exactly as printed. Do not correct anything at this stage.
3. If a detail is missing, write MISSING. If you cannot read it clearly, write UNREADABLE and say why. Never fill a gap with a likely value.
4. Finish with a list of the invoices that lack any of these details: {{REQUIRED_DETAILS}}.

For {{REQUIRED_DETAILS}}, list what your country’s invoicing rules require; in the EU that typically means number, date, both parties’ names and VAT numbers, description, rate and VAT amount. With the sample, the assistant should report that invoice CL-2026-2210 has no supplier tax ID.

Prompt 2. Recalculate it and show the working before the verdict

This is the core of the method and the reason the Reddit test matters: the verdict goes last, after every multiplication is visible.

Now check the arithmetic of each invoice. Show the working before any conclusion.

For each line write: quantity x unit price = your result, then the printed line amount, then the difference.
Then write: sum of your line results = net; net x VAT rate = VAT, rounded to 2 decimals; net + VAT = total. Put each of your figures next to the printed one, with the difference.
VAT rates we expect on these purchases: {{VAT_RATES}}. Flag any other rate.

Only after the working, give one verdict per invoice: "Arithmetic OK" or "Arithmetic error" with the amount of the difference. Ignore rounding differences of {{TOLERANCE}} or less.
Never call an invoice correct unless every step of the working is written above the verdict.

With the sample, the working should catch one line: on CL-2026-2210, 12 x 45.00 is 540.00, not the 560.00 printed, so the VAT and total are 24.20 too high (677.60 printed against 653.40). If the assistant writes “Arithmetic OK” for that invoice, or skips the working, start again in a new chat.

Prompt 3. Match it to the purchase order and to what you have already paid

Attached are two more files: our purchase orders with the quantities received, and the supplier invoices we have already paid in the last few months.

For each invoice:
1. Find its purchase order. Compare quantity invoiced with quantity ordered and quantity received, and unit price invoiced with the PO price. Show each comparison and the difference in money, net and including VAT.
2. Check the paid list for the same supplier and invoice number, or the same supplier and the same total with invoice dates less than {{DAYS}} days apart. If you find one, show that row.
3. Do not assume a price change was agreed. If the invoice differs from the PO, mark it "Query supplier".

Output: one table with invoice, PO, quantity check, price check, duplicate check, and the amount to pay or to recover.

Use 7 for {{DAYS}} to begin with. Two findings are expected here. Invoice BP-26-1187 charges 1.05 per box against 0.95 on the purchase order: 50.00 net, 60.50 with VAT, too much. And FW-2026-118 is the same invoice already paid on 28 November, sent again as a “reminder copy”. A good answer will also notice that the November Delta IT invoice in the paid list is last month’s fee, not a duplicate.

Prompt 4. Look for changed bank details and suspicious senders

Last check: payment details and how the invoices arrived. Attached is an extract of our supplier master with, for each supplier, the email domain they normally use, the phone number on file and the last four digits of the account we pay.

For each invoice, compare and report:
- the last four digits of the bank account on the invoice against the master,
- the sender's email domain against the usual domain, character by character,
- any request to pay urgently, to use a new account or to keep the matter confidential,
- any contact name, phone number or address that is not in the master.

You cannot verify a bank account and you must not say that one is genuine. For every invoice with a difference, write "STOP: verify by phone" and a short call script for our team that uses only the phone number from the master, asks the supplier to read out the account they expect to be paid into, and never reads ours to them.

The sample’s trap is DIT-2026-0415. The amounts match the purchase order exactly, which is what makes it convincing, but the account ends in 7731 instead of 5520, the sender writes from delta-itservices.example instead of delta-it-services.example, and the note asks for payment today and offers a “new finance line”. The right output is STOP, with a call script that uses the number already in your master. Some prompts ask an AI whether an email “looks like a scam”; this one deliberately asks only for differences, because a calm answer is not permission to pay.

Prompt 5. Decide, total it and draft the queries

Put the four checks together in one decision table: invoice, supplier, total printed, amount we agree to pay, decision (Ready for approval / Query supplier / STOP: verify by phone / Duplicate: do not pay) and the reason in one line.
Add three totals: invoices received, ready for approval, on hold.

Then draft a short, polite email in {{LANGUAGE}}, signed {{SIGNATURE}}, only for the invoices marked "Query supplier": ask for a corrected invoice or a credit note and state the exact difference. Address it to the contact in our supplier master, not to whoever sent the invoice. Draft nothing for invoices marked STOP or Duplicate.
I will approve and send everything myself.

Expected result with the sample (worked out by hand, so you can test your assistant):

Invoice Total printed (EUR) Decision Why
NL-2026-0931 1,360.04 Ready for approval Sums, PO, receipt and bank details all match
BP-26-1187 635.25 Query supplier Price 1.05 against 0.95 on the PO: 60.50 too much
CL-2026-2210 677.60 Query supplier 12 x 45.00 = 540.00, not 560.00: 24.20 too much; supplier tax ID missing
DIT-2026-0415 1,028.50 STOP: verify by phone New account (7731, not 5520), lookalike domain, pressure to pay today
FW-2026-118 459.80 Duplicate: do not pay Already paid on 28 November 2026
Total 4,161.19 Ready 1,360.04 On hold 2,801.15

Only two query emails should come back, for Brightpack and Coastal, addressed to the contacts in your master. If the assistant drafts a reply to the Delta email, delete it: replying to a compromised thread is exactly what the fraudster wants.

Checklist before you release the payment

  1. The invoice is addressed to your company, with your correct tax ID.
  2. You have read the working in prompt 2, not just the verdict.
  3. Price and quantity match the purchase order, and the goods or service actually arrived.
  4. The invoice is not in the paid list, under the same number or the same amount.
  5. Any new bank details were confirmed by calling a number you already had, never one from the invoice or the email.
  6. A second person approved the bank change, and that person does not release the payment.
  7. In the euro area, you read your bank’s payee check before authorising: since 9 October 2025, under Regulation (EU) 2024/886, banks must tell you whether the name you entered matches the account holder.
  8. You noted the result, the date and who checked it next to the invoice. The full 12-point version is in the checklist file.

Limits

The prompts read and add up; they cannot see your bank, your phone calls or a supplier’s mailbox. They can still misread a blurry scan, which is why prompt 1 marks anything unreadable and the expected answer is published here. If your ERP already does three-way matching, use the prompts for the invoices that fall outside it: one-off suppliers, services without receipts, and anything that arrives by email with a story attached. If invoices reach an AI agent by email, read our guide to hidden instructions in invoice emails too, and for the wider picture, the AI agents for accounting guide.

Copy and adapt

Agents Finance template, free to use and adapt:

All of them are also listed on the downloads page.

Newsletter

Subscribe to the newsletter to get the next practical template in your inbox: copy-ready prompts and checklists for accounts payable, the close and reporting, with no code.

Sources

We wrote this entry in our own words from the sources above and checked that the links worked on December 5, 2026. Is anything incorrect? Tell us.

Share this entry

This entry is part of the guide: AI agents for accounting

Related entries

Keep exploring