We gave one AI tool ten made-up invoices in ten layouts and asked it to copy six fields from each into a table. Of the 60 cells, 57 matched our first key. After we corrected the key on the subtotal column (explained below), 59 matched. One cell was wrong under either key: it wrote “not shown” for a tax line that the invoice marks “exempt.” The tool also flagged the two dates that could be read two ways, and it did not copy a printed line count that was wrong.
This is a record of one run.
Six fields from ten invoices in ten layouts
Many offices keep invoices as PDF files and then type the numbers into a spreadsheet by hand. The question here is whether a tool can copy invoice number, date, subtotal, tax, total and line count from invoices that look different from one another, and whether it says so when a value is missing or unclear.
Ten made-up invoices, sent as text
Run on November 16, 2026 (U.S. Eastern time). The ten invoices are ours. Each file is labeled “SAMPLE INVOICE – MADE UP FOR THIS RUN” at the top. The vendor names, invoice numbers and amounts are invented. They are plain text, and each one uses a different layout: a pipe table, a label-and-value block, a date written as DD/MM with a note saying so, a credit line, a two-page invoice, a currency code with no cents, a written date with an ordinal, a box-drawing table, an invoice with no tax line, and a plain list.
We sent the tool the text files, not the PDFs. The run tool reads text. OpenAI’s file-input guide says the Chat Completions endpoint accepts only PDF files as file content parts, so a PDF route exists but was not tested here. A real PDF may read differently, and this run does not show that.
The answer key was written by hand before the run. It has a row for each invoice and six columns, 60 cells in all. It names the trap in each row. For example, invoice 02 is dated 10/02/2026, which is October 2 in the US format, not February 10.
The request: one row per invoice, printed values only
Below are ten invoices, each in its own file (the file name is shown before each invoice). Use only what is printed on each invoice. Make one table with one row per invoice, in file order (inv01 first). Columns: invoice_no | invoice_date (write it as YYYY-MM-DD) | subtotal | tax | total | line_count Rules: - Copy the numbers as printed, with two decimals. Do not calculate a number that is not printed; if a value is not on the invoice, write "not shown". - Write dates as YYYY-MM-DD. If a date could be read two ways, use the format the invoice says it uses. - line_count = the number of item rows, not a number printed on the page. - Under the table, list any row where you were not sure, and say why, in one line each.
The ten invoices followed the request in the same message, each under its file name.
Three rows from the returned table
The table came back with ten rows. Three of them read as follows.
| invoice_no | invoice_date | subtotal | tax | total | line_count | | 7781 | 2026-04-03 | not shown | not shown | 2310.00 | 4 | | 55-0912 | 2026-11-03 | not shown | 0.00 | 350.00 | 2 | | 3090 | 2026-11-06 | not shown | not shown | 615.00 | 2 |
Row 7781 is the one with the wrong tax cell. The invoice prints “Sales tax: exempt,” so the right entry is 0.00 or the word “exempt.” The tool wrote “not shown,” which drops a line the invoice does print. Row 55-0912 shows the credit taken off before the total, which is right. Row 3090 has no tax line, and the tool wrote “not shown,” which is right. Writing 0.00 there would have been an invented value.
59 of 60 cells after the key correction
| Check | Result |
|---|---|
| Cells right | 59 of 60 (57 of 60 under the first key; see the note below the table) |
| Cells wrong | 1 (invoice 7781, tax: “not shown” where the invoice says “exempt”) |
| Cells missed | 0 |
| Cells invented (a value the invoice does not show) | 0 |
| Line-count trap (invoice 7781 prints “5 lines”; there are 4 item rows) | Avoided: the tool counted 4 |
| Missing tax line (invoice 3090) | Avoided: “not shown” |
| Credit (invoice 55-0912, total after the credit) | Avoided: 350.00 |
| Dates that could be read two ways | 2 flagged (invoices 02 and 09), both read as month first |
A note on the subtotal column. Three invoices print no subtotal line: 7781, 55-0912 and CL-6610. Our first key accepted a subtotal only where one was printed, so the tool’s “not shown” on invoices 7781 and CL-6610 counted as wrong, and that gave 57 of 60. We read the tool’s output and then changed the key so that “not shown” is also accepted where no subtotal line is printed. That is a choice made after seeing the output, and a reader should weigh it that way. The change is recorded in the answer key. It does not touch the tax cell on 7781, which stays wrong.
The tool reported 17.26 seconds for the request. It used 3,079 tokens in total: 1,593 input and 1,486 output, including 1,024 reasoning tokens.
The tax cell and two dates to check
- Invoice 7781: change the tax cell from “not shown” to 0.00 or “exempt.”
- Invoices 02 and 09: the tool flagged both dates. Each one needs a person to check the date format against the vendor, because the invoice does not say which format it uses. For invoice 09 the key assumes month first, which is a guess that a person has to confirm.
- Amounts: the tool added thousands separators, as in 5,480.25. That is a formatting change, not an error, but the spreadsheet column needs one format.
We did not edit the table. The list is what a person would have to correct before the table could be loaded.
What text invoices hide about scanned ones
This is one run, on ten invoices we made, in plain text, with one model. Ten invoices is too few for a percentage, so none is given. Real invoices are often scanned, skewed, or split over several pages, and a text copy removes those problems. A second run might read a date or a line differently. The result says only what happened on November 16, 2026.
The tool was the OpenAI API, model gpt-5.5, returned by the API as gpt-5.5-2026-04-23.
Sources and the invoice run file
- OpenAI API documentation, File inputs
- Test material: ten invoices in plain text, made up for this run.
- Run record: run_20261116T235841Z.json, with the request as sent, the full response, the model name the API returned and the token count. It is kept with the test files and the answer key and is not published.