ChatGPT can extract supplier invoice data from text-based PDFs into a table, one row per invoice, that you download as a CSV, though it may misread scanned invoices. Check the table in Excel before anyone pays from it: net plus tax must equal each gross total, invoice numbers must not repeat, and the batch total must match the PDFs.
The Complete Excel Course with AI Integration
From formulas and pivot tables to Power Query, DAX, VBA and AI with Copilot, ChatGPT and Claude — hands-on from the first lesson.
By Sagnik Bhattacharya and Virginia Thorn, Primetime Emmy Award winner
Buy nowThe distinction that decides how much checking you need is text versus scan. OpenAI's own help centre says ChatGPT may not reliably extract exact values from scanned files, image-based tables or complex layouts. Digital invoices from accounting software usually come out clean; a photographed delivery note or a faxed invoice needs every figure checked against the paper. Either way, the extraction is the easy part, and the checks below are what make the table safe to use.
What can ChatGPT pull from a supplier invoice PDF?
ChatGPT can pull the header fields on a supplier invoice (supplier, invoice number, dates, net, tax and gross totals, purchase-order number) and, if asked, each line item; it should not be asked for bank details.
| Field | Extract? | Typical trouble | Check |
|---|---|---|---|
| Supplier name | Yes | Trading name versus legal name; logos with no text | Match to your supplier list |
| Invoice number | Yes | Confused with order or account numbers | No repeats per supplier |
| Invoice date | Yes | Day and month swapped | Ask for YYYY-MM-DD; check against the PDF |
| Due date | Yes | Only payment terms printed ("30 days") | Leave blank if not printed |
| Net, tax and gross totals | Yes | Misread digits on scans; totals recalculated instead of copied | Net + tax = gross on every row |
| Credit notes | Yes, as negatives | Extracted as positive amounts | Document type column; sign check |
| Purchase-order number | If printed | Missing on small suppliers' invoices | Blank is fine |
| Line items | Only if you need them | Wrapped descriptions split into two lines | Lines add up to net |
| Bank details | No | Copying them invites payment fraud | Pay only from details you verified separately |
Keep the column list short. Every extra column is another thing to check, and the business question for most owners is simple: who do we owe, how much, by when, and does it match what we ordered?
How do you tell a text PDF from a scanned invoice?
A text PDF lets you select and search its words in a PDF reader; a scanned invoice is a picture of a page, so the text cannot be selected or found with search.
Open the invoice, press Ctrl+F (Cmd+F on a Mac) and search for the invoice number. If the reader finds it, the PDF holds real text and ChatGPT has the actual characters to work from. If nothing is found, or dragging the cursor selects the whole page as one block, it is a scan, and ChatGPT has to read the image.
Three ways to handle scans, best first:
- Ask the supplier for the digital invoice. Most accounting systems email a text PDF; the scan often exists only because someone printed and rescanned it.
- Run text recognition first. Many PDF tools can add a text layer to a scan; you then check the recognised figures once rather than trusting a second reading.
- Extract anyway, and check every figure. For an occasional scan this is fine, as long as the check is done against the paper, not against ChatGPT's own summary.
In the print shop's batch, nine of the ten invoices passed the search test. The tenth came from a courier whose driver hands over a carbon copy, which the office scans; that single file produced the batch's worst error, as the worked example below shows.
Mark each file's type in your batch (text or scan) before you upload. It tells you where to spend checking time, and over a few months it shows which suppliers to chase for better invoices.
How do you extract ten invoices into a table with ChatGPT?
Ten invoices go into a ChatGPT table in six steps: name the files, check your upload limit, upload, prompt with fixed columns, review the table, and download the CSV for Excel.
- Name the files. Rename each PDF with the supplier and invoice number, for example "PaperMerchant_INV-20431.pdf". The file name becomes your audit trail in the Source column.
- Check your plan's limits. OpenAI allows up to 80 file uploads every 3 hours (and may lower that at peak times), but Free accounts are limited to 3 uploads a day, so a batch of ten separate files needs a paid plan or a ZIP archive, which ChatGPT may open when Data Analysis is available. Plus costs $20 a month on OpenAI's pricing page.
- Upload. Select + in the prompt area, then Add photos & files, and choose the ten PDFs.
- Prompt with fixed columns. Use the prompt below, unchanged except for your column names.
- Review the table in the chat. Ask for a list of anything it could not read before you download.
- Download and open. OpenAI's help centre says tables from data analysis download as CSV from the download button at the table's top-right corner. Open the file in Excel and save it as a workbook.
Extract one row per invoice from the attached PDFs into a table with
exactly these columns:
Source file | Document type (Invoice or Credit note) | Supplier |
Invoice number | Invoice date (YYYY-MM-DD) | Due date (YYYY-MM-DD) |
PO number | Net | Tax | Gross | Currency | Text or scan
Rules:
- Copy every figure exactly as printed. Do not calculate or round.
- Credit notes: make Net, Tax and Gross negative.
- If a field is not printed or you cannot read it, leave it blank
and list it under "Unreadable" after the table.
- Do not extract bank account details, sort codes or payment links.
- After the table, list any invoice where Net + Tax does not equal
Gross as printed.
Then give me the table as a downloadable CSV.
The two rules that do the most work are "copy, do not calculate" and "leave blank if unreadable". Without them, a model asked for a gross total it cannot read may work one out from net and tax, which produces a tidy-looking number that is not on the invoice.
The "Unreadable" list is where scans show themselves. An illustrative list after the table might read: "Courier_INV-5521.pdf: Gross partly covered by a stamp; Due date not printed." Do not accept a guess for that row. Ask a narrow follow-up instead:
Look only at Courier_INV-5521.pdf, page 1, the box labelled Total.
Write out each character of the amount one at a time, and say
which characters you are unsure of.
An illustrative answer: "1, 6, 0, full stop, 0, 4; unsure of the second and third characters, which may be 0 and 6." That uncertainty is the useful part: it tells you this is the row to check against the paper, and the paper says 106.04.
A print shop's batch of ten invoices, checked line by line
Here is an illustrative print shop's month-end batch: ten supplier PDFs, nine of them digital and one a scanned courier invoice. The figures use an illustrative 10% tax rate. This is the table ChatGPT returned, with the problems the checks found marked in the last column.
| # | Supplier | Type | Net | Tax | Gross | Text or scan | Check result |
|---|---|---|---|---|---|---|---|
| 1 | Paper merchant | Invoice | 1,240.00 | 124.00 | 1,364.00 | Text | OK |
| 2 | Ink supplier | Invoice | 386.50 | 38.65 | 425.15 | Text | OK |
| 3 | Plate maker | Invoice | 210.00 | 21.00 | 231.00 | Text | OK |
| 4 | Courier | Invoice | 96.40 | 9.64 | 160.04 | Scan | Row check FALSE: gross should be 106.04 |
| 5 | Press lease | Invoice | 450.00 | 45.00 | 495.00 | Text | OK |
| 6 | Packaging | Invoice | 132.75 | 13.27 | 146.02 | Text | Tax and gross recalculated; invoice says 13.28 and 146.03 |
| 7 | Maintenance engineer | Invoice | 285.00 | 28.50 | 313.50 | Text | OK |
| 8 | Design software | Invoice | 59.00 | 5.90 | 64.90 | Text | OK |
| 9 | Freelance finisher | Invoice | 175.00 | 0.00 | 175.00 | Text | OK (not charging tax) |
| 10 | Paper merchant | Invoice | 120.00 | 12.00 | 132.00 | Text | Credit note extracted as an invoice, positive |
Three problems, three different checks:
- Row 4, the scan. ChatGPT read the courier's gross as 160.04. Net plus tax is 96.40 + 9.64 = 106.04, so the row check returned FALSE. The paper invoice says 106.04: two digits swapped.
- Row 6, recalculation. 10% of 132.75 is 13.275, which the supplier's system rounded up to 13.28 (gross 146.03). ChatGPT calculated instead of copying and rounded down. The row still adds up, so only the comparison with the PDF caught it, which is why the prompt says "do not calculate".
- Row 10, the credit note. The paper merchant's credit note came out as a positive invoice. The batch total was then 264.00 too high (twice 132.00), and the control total caught it.
The control total is the bookkeeper's own sum of the ten gross figures as printed: 1,364.00 + 425.15 + 231.00 + 106.04 + 495.00 + 146.03 + 313.50 + 64.90 + 175.00 - 132.00 = 3,188.62. ChatGPT's uncorrected table summed to 3,506.61, which is 317.99 too high: the courier misread adds 54.00, the packaging rounding takes away 0.01 and the credit note adds 264.00 (54.00 - 0.01 + 264.00 = 317.99). After correction, net is 2,914.65, tax 273.97 and gross 3,188.62, and 2,914.65 + 273.97 = 3,188.62.
Time, in this illustration: typing ten invoices by hand takes about 4 minutes each, 40 minutes in all. The ChatGPT route took 8 minutes to upload and prompt, plus 15 minutes of checking, 23 minutes in all, and the checks found three errors that hand-typing could just as easily have made unseen.
How do you check ChatGPT's invoice table for errors?
ChatGPT's invoice table is checked with five spreadsheet tests (row arithmetic, duplicates, dates, credit-note signs, batch total) and a look at the PDF for every flagged or scanned row.
With Net in column H, Tax in I, Gross in J, Supplier in C, Invoice number in D and Invoice date in E, add these in new columns and copy them down:
- Row arithmetic:
=ROUND(H2+I2,2)=ROUND(J2,2)returns FALSE wherever net plus tax does not equal gross. - Duplicates:
=COUNTIFS(C:C,C2,D:D,D2)>1returns TRUE when the same supplier and invoice number appear twice, the classic double payment. - Real dates:
=ISNUMBER(E2)returns FALSE when Excel is holding the date as text, which means sorting by due date will go wrong. - Credit notes:
=IF(B2="Credit note",J2<0,J2>0)returns FALSE when a credit note is positive or an invoice is negative. - Batch total: type the control total (the sum of gross totals as printed, from the PDFs or the supplier statements) in a cell such as M1, then
=ROUND(SUM(J2:J11)-M1,2)must be 0.
Then do the one check no formula can do: open the PDF for every row marked Scan and every row any test flagged, and compare the figures by eye. In the print shop's batch that was 3 of 10 PDFs, a few minutes' work.
Keep a short log for each batch, so anyone can see later what was checked and by whom. An illustrative entry for the print shop:
| Batch | Files | Text / scan | Rows | Flags found | Control total matched | Checked by |
|---|---|---|---|---|---|---|
| November month-end | 10 | 9 / 1 | 10 | 3 (misread total, rounding, credit note sign) | Yes, after fixes: 3,188.62 | [name], 30 Nov |
Store the CSV, the workbook with its check columns and the ten PDFs in one dated folder. The PDFs remain the record; the table is only a convenient copy of them, and an accountant or auditor will always ask for the invoice itself.
If building these check columns in Excel is the slow part, try The Complete Excel Course with AI Integration on Coding Liquids.
Why not ask ChatGPT to check its own table? It can help find suspects, but its arithmetic on long columns is not something to rely on without your own formulas, and it cannot compare against the paper invoice in your hand. The reasons are set out in why AI is bad at maths and what to check in quotes and invoices.
Why should bank details stay out of the table?
Bank details should stay out of the extracted table because a spreadsheet of supplier account numbers becomes a payment source, and payment details must only ever come from records you verified separately.
The common fraud on small firms is a genuine-looking invoice, or an email, announcing that a supplier's bank details have changed. If your extraction copies account numbers into a sheet that someone later pays from, a changed number slides through unnoticed. Keep bank details in your accounting or banking system only, set up when the supplier was onboarded, and treat any change as an event to verify by phone on a number you already hold, never one printed on the new invoice.
The prompt above already tells ChatGPT not to extract bank details. Add one more defence: a column comparing the supplier name on each invoice with your approved supplier list, using =COUNTIF(Suppliers!A:A,C2)=0, which returns TRUE for a supplier you have never paid before. A new name on an invoice is not always fraud, but it is always worth a look. The tutorial on catching duplicate invoices and payment fraud with AI covers the wider routine.
One row per invoice or one row per line item?
One row per invoice suits checking totals and paying suppliers; one row per line item suits tracking prices, and is worth the extra checking only for suppliers you buy from often.
| Layout | Good for | Extra work | Key columns |
|---|---|---|---|
| One row per invoice | Payables, month-end, matching to statements | Least | Supplier, invoice number, dates, net, tax, gross |
| One row per line item | Price tracking, job costing, spotting price rises | Lines must add up to each invoice's net | Invoice number, description, quantity, unit price, line total |
Deposits need one extra column. An illustrative wedding planner receives a florist's deposit invoice in March and the balance invoice in September for the same wedding, each with its own invoice number. One row per invoice is still right, but add a Booking reference column (the couple's surname or the planner's job number) and ask ChatGPT to copy any reference printed on the invoice. Then =SUMIFS(J:J,K:K,K2), with the booking reference in column K, shows the total billed per wedding, and a balance invoice that forgets to deduct the deposit is obvious at once against the quote.
For the print shop, line items earn their keep on the paper merchant only. An illustrative line sheet for two months shows why:
| Invoice | Description | Quantity | Unit price | Line total |
|---|---|---|---|---|
| INV-19876 (October) | SRA3 silk 170gsm, reams | 20 | 28.40 | 568.00 |
| INV-20431 (November) | SRA3 silk 170gsm, reams | 20 | 31.00 | 620.00 |
The same paper rose from 28.40 to 31.00 a ream, about 9.2% (2.60 / 28.40), between two invoices. Nobody would notice that in a one-row-per-invoice table. Reconcile the line sheet back to the invoice sheet with =SUMIFS(Lines!E:E,Lines!A:A,D2) next to each invoice's net (line totals in column E and invoice numbers in column A of a sheet called Lines); any difference means a line was dropped or split. Spotting price creep from line items is the subject of spotting supplier price increases on invoices with AI, written for restaurants but the method carries over.
What does ChatGPT get wrong on invoices, and how does it show up?
ChatGPT's invoice errors fall into a handful of patterns, and each shows up in a specific check: swapped digits fail the row test, credit notes fail the sign test, and missing invoices break the batch total.
| Error | How it shows up | Prevention |
|---|---|---|
| Swapped or misread digits (mostly scans) | Row check FALSE; batch total off | Digital PDFs; check scans by eye |
| Totals calculated, not copied | Pennies off against the PDF; row check may still pass | "Copy exactly, do not calculate" |
| Credit note as a positive invoice | Sign check FALSE; batch total too high by twice the credit | Document type column; negative rule |
| Day and month swapped | Due dates in the wrong month; odd ageing | YYYY-MM-DD in the prompt; spot-check |
| Order number taken as invoice number | Duplicate check flags it, or a number you do not recognise | Name the field precisely in the prompt |
| A PDF skipped | Nine rows instead of ten; control total short | Ask for a row count and the list of files read |
| Thousands separators or currency symbols in numbers | Excel treats the column as text; sums fail | Ask for plain numbers with two decimals |
One illustrative slip shows how they combine. A bookkeeper pasted ChatGPT's table straight into the payables sheet on a busy Friday, without the check columns. The scanned courier invoice went in at 160.04 instead of 106.04, and the paper merchant's credit note went in as a charge. The supplier statements at month-end did not match, and untangling it took an hour that the 15-minute check would have saved. The fix was procedural: no extracted table enters the payables sheet until all five check columns show the expected result.
Is it safe to upload supplier invoices to ChatGPT?
Uploading supplier invoices to ChatGPT is reasonable on a business plan or with model training turned off, as long as you upload only what the job needs and keep bank details out of the output.
- Business plans. OpenAI says it does not use business data from ChatGPT Business, Enterprise and its API to train its models by default.
- Personal plans. On Free, Plus and Pro, OpenAI says sharing for model training is on by default. Turn it off under Settings, Data controls, Improve the model for everyone; your chat history stays.
- Retention. OpenAI notes that deleting a chat does not delete a file saved separately in Library, so delete saved invoice files there too if you want them gone.
- Minimum data. Invoices from individuals (freelancers, sole traders) carry personal data; the extraction should take only what your books need.
Invoices for regulated work, such as anything involving patients or clients' financial accounts, need your own adviser's view before they go into any AI tool.
When should you use an invoice tool instead of ChatGPT?
An invoice tool beats ChatGPT once invoices arrive daily, need approval steps or must post straight into your accounting software; ChatGPT suits a weekly or monthly batch you check by hand.
The deciding numbers are volume and checking time. At ten invoices a month, 15 minutes of checking is trivial. At 300 a month, the same method means roughly 7.5 hours of checking (15 minutes per ten invoices), and a capture tool built into your accounting software, or a dedicated one, starts to pay for itself, because it learns each supplier's layout and posts the bill directly. Many accounting packages now read emailed bills on their own; check what yours already includes before buying anything.
For the print shop the sums point one way today and another later. Ten invoices a month cost about 23 minutes with ChatGPT and checks. If the shop grows to 120 supplier invoices a month, the same routine takes roughly 4 hours 36 minutes (12 batches of 23 minutes), at which point bill capture inside its accounting software is worth a trial, with ChatGPT kept for one-off jobs such as pulling two years of a supplier's invoices into a price history.
For desktop PDF tools rather than AI, the step-by-step in exporting supplier invoice PDFs to Excel with Acrobat is the closest alternative, and AI invoice processing for supplier bills covers the dedicated tools.
If you want help fitting invoice extraction into how your business pays suppliers, I offer one-to-one AI consultations for small businesses.
ChatGPT invoice extraction questions
Can ChatGPT read scanned invoices accurately?
Not reliably. OpenAI's own help centre says ChatGPT may not reliably extract exact values from scanned files, image-based tables or complex layouts, and suggests a spreadsheet or text-based file when exact values matter. Ask suppliers for digital PDFs, and where a scan is all you have, check every figure on it against the paper before the row goes anywhere near your accounts.
How many invoices can you upload to ChatGPT at once?
Enough for a weekly batch on a paid plan. OpenAI's limits are up to 80 files every 3 hours, 512 MB per document and 2 million tokens per text or document file, while Free users are limited to 3 file uploads a day. When Data Analysis is available, ChatGPT may also open a ZIP archive and work with the files inside.
Can ChatGPT give you an Excel file rather than a CSV?
Plan on CSV. OpenAI's help centre says a table generated in data analysis downloads as a CSV file from the download button at its top-right corner. Open the CSV in Excel, check the columns came through as numbers and dates, and save it as a workbook before you add your check formulas.
Is it safe to upload supplier invoices to ChatGPT?
It depends on your plan and settings. OpenAI says it does not train on business data from ChatGPT Business or Enterprise by default. On personal Free, Plus and Pro accounts, sharing for model training is on by default; turn off Improve the model for everyone under Settings, Data controls. Either way, extract only the fields you need and leave bank details out.
Should the table have one row per invoice or one per line item?
One row per invoice for checking totals and paying suppliers; one row per line item only when you track prices or costs by product. Keep both on separate sheets joined by supplier and invoice number, and reconcile the line sheet back to the invoice sheet, so the line totals for each invoice add up to its net amount.
Further reads
- How Much Does Automated Invoice Processing Cost per Invoice? — What dedicated invoice processing costs per invoice once volumes grow.
- How to Use ChatGPT to Write Excel Formulas and VBA Macros — The wider guide to using ChatGPT alongside Excel workbooks.
- How to Create a Monthly Management Pack With ChatGPT — Carry checked figures into a monthly management pack.
- How to Use AI to Read Supplier Invoices and Update Shelf Prices — Another worked case of reading supplier invoices with AI.
- How to Match Supplier Invoices to Purchase Orders Automatically — Add purchase-order matching once extraction is reliable.
- How to Clean Messy Data in Excel: Spaces, Duplicates, Text — Excel clean-up techniques for imported data that arrives messy.
Show 4 more related tutorials
- How to Build a Bakery Pricing Calculator With ChatGPT — Four spreadsheet tabs, ChatGPT-written formulas and one loaf worked through, from ingredient and labour costs to wholesale versus retail margins.
- How to Use AI to Turn Supplier Quotes Into a Rate Sheet — Turn supplier quote PDFs into checked rates for your estimates: the extraction prompt, unit traps, five tests, an addenda log and a scope-gap review.
- What Should a Goods Received Note Include? Match It With AI — What a goods received note should record, a template to copy, and how AI turns a delivery photo into a matched, flagged table.
- How to Test AI for Bill of Lading Data Extraction — How a small forwarder can test AI on 100 bills of lading and air waybills, and set up validation and an exceptions queue.
Browse all AI-for-business tutorials
Sources: OpenAI help centre articles on uploading files to ChatGPT, data analysis with ChatGPT, extracting insights with data analysis and data controls (read 23 November 2026); OpenAI's enterprise privacy page; chatgpt.com/pricing (23 November 2026).
