# Supplier invoice check before payment: five prompts for ChatGPT, Claude or Copilot

Agents Finance template (agentsfinance.io), free to use and adapt. Written by Agents Finance, not by any vendor.
Companion files: invoices-to-check.en.md, purchase-orders.en.csv, paid-invoices.en.csv, vendor-master.en.csv (invented data) and checklist.en.csv.
Guide: https://agentsfinance.io/entries/prompt-check-supplier-invoice-before-paying-chatgpt-claude-copilot/

The assistant reads and adds up; a person approves, calls suppliers on numbers already on file, and pays.
Use a business or work plan, follow your company policy on data, and never paste full bank account numbers.

Replace every {{PLACEHOLDER}}:

- REQUIRED_DETAILS: the invoice details your country requires (for example number, date, both parties' names and VAT numbers, description, rate and VAT amount).
- VAT_RATES: the rates you expect, for example 21%. TOLERANCE: accepted rounding difference, for example 0.02.
- DAYS: how close two invoices with the same supplier and total must be to count as a possible duplicate (start with 7).
- LANGUAGE and SIGNATURE: language of the query emails and who signs them.

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

```text
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}}.
```

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

```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.
```

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

```text
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.
```

## Prompt 4. Look for changed bank details and suspicious senders

```text
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.
```

## Prompt 5. Decide, total it and draft the queries

```text
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.
```
