# Spot a fake vendor invoice before you pay it, with the red flags and what to do: the prompt

A prompt file from MediaMentorAI's Daily AI Move series.
Tutorial, video and live demo: https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt

Works in Claude, ChatGPT and Codex. We tested this prompt on 7 models.

This is a second look before you pay, not a guarantee: no flags isn't proof an invoice is real. For any flag, call the vendor on the number you already have, never the number, email or link on the invoice.

## How to use it

1. Make a vendor list as a CSV file with the practice file's columns (vendor, usual email, the phone number you already have, the last 4 digits of their bank account, the usual invoice low and high, and invoice numbers already paid), filled from details you already trust.
2. Open a new chat in Claude, ChatGPT or Codex and attach the vendor list and the invoices you want checked. To try it first, attach the practice files instead: https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/vendor-list.csv, https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/invoice-squid-pro-quo-seafood.pdf, https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/invoice-rest-in-beef-butcher.pdf, https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/invoice-romaine-empire-produce.pdf, https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/invoice-fold-your-horses-linen.pdf and https://mediamentorai.com/ai-tutorials/spot-fake-invoices-with-chatgpt/invoice-fat-chance-grease-trap.pdf
3. Copy the prompt below and paste it in. For your own files, change the file names in the first line if yours differ.
4. Send it as one message. Read the table of flags first, then open or download the HTML file it makes for the reusable checker.

This is the prompt we tested, so leave the rest of it as it is. You don't need to know how to code.

## The prompt

```text
vendor-list.csv is my restaurant's saved vendor list (sample data for a made-up New Jersey restaurant): each vendor's usual email, the phone number we already have, the last 4 digits of their bank account, their usual invoice range, and the invoice numbers we've already paid. The five PDFs are this week's invoices (sample invoices).

Check each invoice against the saved list, with one rule per red flag:
Bank details changed: the account's last 4 digits aren't the ones on our list.
Lookalike email: the email domain (after the @) isn't exactly the one on our list.
Different phone: the phone number isn't the one on our list.
Rush: it tells us to pay today or right away.
Repeat: the invoice number is one we've already paid.
Far above usual: the total is more than double the top of the vendor's usual range.

In your reply, show a table: vendor, invoice number, total, each red flag with the rule it broke (or "No flags"), and what to do. For any red flag, what to do starts with: call the vendor on the number you already have, never the number on the invoice. Don't claim that any check catches every fake.

Then build a small invoice checker as one HTML file. On one side, my saved vendor details, with a box to paste my own vendor list in the same columns. On the other, the invoice in front of me: type or paste its vendor, email, phone, account last 4, invoice number, total and any payment note, then a button that checks it against the list and shows each flag with its rule. Add a "Load sample data" button that loads this list and these five invoices and shows the check for each. Use click handlers, not a form. No pop-ups, no downloads, no AI or internet, all in one file.
```

---

Made by MediaMentorAI, which builds AI that takes the busywork off service businesses. https://mediamentorai.com
