AI & AutomationEngineering note
The PDF Was Printed Sideways, and the AI Made Up the Numbers
An AI model does not always say when it cannot read a page. The safe answer is to turn the page first, then make the numbers add up.
Author
DueClix Engineering
Published
Reading time
2 min read
A client wanted to turn a payroll report into a journal entry without typing every line. The report was a PDF, so this looked easy. It was not.
The page had no text
The file came from a print-to-PDF tool. The letters were saved as drawn shapes, not as text. Our page found no words in it, treated it as a photo of a check, and reported that no check could be read.
The page was also printed sideways.
What the AI did with it
We gave the sideways page to an AI model that can read images. It did not say the page was hard to read. It returned amounts that were not on the page, and dates in 2023. The report was from 2026.
This is the dangerous kind of mistake. An error message stops you. A neat list of wrong numbers does not.
Asking for the rotation did not work
We first asked the model how far the page was turned. Its answers were not reliable. What worked was a simpler question: we put all four rotations into one picture and asked which one was upright. Then our code turned the page, and the model read the upright version.
The result on that report
| Check | Result |
|---|---|
| Amount lines read correctly | 27 of 27 |
| Lines adding up to the report's payment total | 15 |
| Report's payment total | 42,919.51 |
| Two other lines, not part of that total | 161.58 |
This is one report, not a score for every payroll file. Another layout may fail, which is why the checks below matter more than the result.
The checks around the AI
- Every line is shown. The user chooses Use or Skip, and can correct an amount.
- Totals are not counted as lines. Subtotals and totals start as skipped.
- The sum is compared with the report's total. Any difference is shown.
- Nothing is saved by the reading step. Cancel adds nothing.
Try this with your own tool
- Give it a page you have turned sideways.
- Compare every amount and year with the paper.
- Check whether it warns you or just answers.
- See if it compares the lines with the printed total.
- Do not let it post to your books until a person has looked.
If your team types the same reports every month, show us one sample. We will tell you what can be read safely and what needs a person.
Sources
- Our own test and fix, 1 December 2026. The client is not named.