OCR for Receipts: Faded Paper, Totals and Expense Reports
Receipts are some of the hardest everyday documents for OCR. They’re printed on narrow strips of thermal paper, crumpled in pockets, and dense with small numbers where a single wrong digit changes the meaning. They’re also the documents you most need to get right, because they end up in expense claims, reimbursements and tax records.
This guide shows how to capture receipts so OCR can read them, which fields to check by hand, and how to get from a pile of slips to a tidy spreadsheet.
Why receipts are hard to read
Thermal paper fades
Most till receipts are printed on thermal paper, which darkens where a heated print head touches it. No ink is involved. The same chemistry makes the print fade over time and darken unevenly when exposed to heat, sunlight, or some plastics and hand creams. A receipt left on a car dashboard for a week can lose most of its contrast.
The practical lesson: capture receipts soon after you get them. A photo taken the same day will almost always beat a photo of the same slip a few months later.
Small, condensed type
Receipt printers use narrow fonts to fit a line item onto a 58 mm or 80 mm roll. Characters sit close together and digits like 1, 7, 3 and 8 can blur into each other. Some older printers use dot-matrix type, where each character is a grid of separate dots that binarization can break apart.
Messy layout
A receipt mixes a centered header, left-aligned item names, right-aligned prices, and sometimes a logo, barcode or QR code. Layout analysis has to keep each price on the same line as its item. If the paper curls, those lines bend and prices can slip onto the wrong row.
Capturing receipts for OCR
- Flatten the slip. Press it under a book for a minute, or hold the ends down with two coins. Curl is the main cause of misaligned prices.
- Use a dark, plain background. A white receipt on a dark table gives the cropping step a clear edge to find.
- Light it evenly. Daylight from a window or two lamps works. Avoid flash: thermal paper is slightly glossy and a hot spot can erase the total.
- Fill the frame. Long receipts are tempting to shoot from far away. Instead, take two or three overlapping photos of the top, middle and bottom so the text stays large. A lowercase x-height of about 20 pixels is a good minimum.
- Shoot straight on. Hold the phone parallel to the paper so lines stay horizontal.
If the print has already faded, try these before giving up:
- Switch your scanner or scanner app to grayscale and increase contrast.
- Photograph at a slight angle to a window so the remaining print catches the light, then crop.
- Accept that a badly faded receipt may need manual typing. OCR can’t recover marks that are no longer on the paper.
More capture advice is in our guide to scanning documents with your phone.
Running OCR on receipts
Open the image to text tool and add your photos. You can batch up to 50 images at a time, which suits a month of receipts. Select the language the receipt is printed in; a French or German receipt read with the English model will mangle accented merchant names and words like “Gesamt” or “TVA.”
When results come back, use the split proofreading view. The original image sits next to the text with word boxes drawn on it, and low-confidence words carry an amber underline. For receipts, consider raising the confidence threshold above the default of 70, because you care more about catching every doubtful digit than about a short review list. Then press Next suspect to step through each flagged word.
The fields to check by hand
Not every word on a receipt matters equally. Check these four against the image every time, whether or not they’re underlined.
Merchant name
The header is often a logo or a stylized font, so OCR may skip it or get it wrong. Correct it by hand; it’s the field you’ll search for later. If the logo is unreadable, the address or tax registration line beneath it usually names the business in plain type.
Date and time
Watch for format differences. “03/04/26” means March 4 in the US and 3 April in most of Europe. Record dates in an unambiguous form such as 2026-03-04 in your report. Also check for digit swaps such as 6 and 8, or 1 and 7.
Totals, tax and tips
This is where small errors cost money. Common OCR confusions on prices include:
- 5 read as S, 0 read as O, 1 read as l or I.
- A decimal point lost or doubled, turning 12.50 into 1250.
- A comma used as the decimal separator on European receipts (12,50), which spreadsheets may misread.
- A minus sign on refunds or discounts dropped entirely.
A simple cross-check: add up the line items and tax yourself and compare with the printed total. If they don’t match, one of the numbers was misread.
Payment method and last digits
If your expense policy needs the card type or last four digits, check them. You don’t need, and shouldn’t store, the full card number.
From text to an expense spreadsheet
Receipts rarely have ruled tables, so the usual route is to proofread the text and then copy the few fields you need into a sheet.
- Create columns such as Date, Merchant, Category, Net, Tax, Total, Currency, Payment and Receipt file.
- For each receipt, copy the checked values from Imagte into one row.
- Name each image file to match its row, for example
2026-03-04_cafe-lumen_12.50.jpg, so an auditor can find the original. - Export the batch as a ZIP to keep the text files alongside your images.
- Format money columns as numbers, not text, so totals calculate.
For itemized invoices that do have a grid of quantities and prices, the table to Excel tool builds an .xlsx from the word positions. Our guide on extracting tables accurately explains how to check rows and columns afterwards.
Keep the original image
OCR text is a convenient copy, not a substitute for the receipt image. Tax authorities and employers generally want to see the underlying record. In the US, the IRS explains what supporting documents such as receipts should show and how long to keep records. Check your own employer’s policy and local rules, and keep the image together with the text.
Privacy note
Receipts reveal where you were, when, and what you bought, and some show partial card numbers. Imagte runs OCR in your browser and doesn’t upload images, so the photos stay on your device. Still, crop out loyalty numbers or card details you don’t need before you share an expense file with anyone. Your images stay on your device, but the file you send on doesn’t.
Receipt OCR checklist
- Captured soon after purchase, before the thermal print fades.
- Slip flattened, evenly lit, no flash glare.
- Long receipts photographed in overlapping sections.
- Correct language selected for each receipt.
- Merchant, date, tax and total checked against the image.
- Line items plus tax add up to the printed total.
- Dates written in YYYY-MM-DD; money columns formatted as numbers.
- Original image kept and named to match its spreadsheet row.
A receipt only takes a minute to process, but it’s easy to skip the check. Make the four-field check a habit and your expense report will add up the first time.
Try it: Image to text — Photos, screenshots and scans to editable text. Up to 50 images per batch.