---
title: "Receipt OCR: How to Extract Data From Receipts"
description: "Receipt OCR reads receipt images and extracts merchant, date, line items, tax and total. See how it works, what breaks it and how to get accurate data."
url: https://www.docsumo.com/blog/receipt-ocr
updated: 2026-10-12
---

# Receipt OCR: how to extract data from receipts accurately

For finance, expense and AP teams that handle receipts at volume. Which fields to extract, how receipt OCR works, and the checks that keep bad data out of your books.

[Karishma Bhatnagar](https://www.docsumo.com/blog-authors/karishma-bhatnagar) · Updated Oct 12, 2026 · 4 min read

![Line drawing of a long receipt on a spike unrolling into three stacked blocks of data, one marked with a green check](https://www.docsumo.com/blog/covers/receipt-ocr-1280.webp)

## Key takeaways

- **Receipt OCR** turns a photo, scan or PDF of a receipt into structured data. It returns the merchant, date, line items, tax, tip, total and payment method.
- Receipts are harder than invoices: **thermal paper fades, photos are skewed, layouts vary by merchant** and many show several totals.
- Plain OCR, short for optical character recognition, only gives you text. **AI-based extraction** decides which number is the total, which is tax and which lines are items. It also flags values it is unsure about.
- Run **checks after the data is read**. Line items should add up, the date should fall in the claim period, and the total should match the card charge. The receipt must not have been claimed before.
- For US tax records, IRS Publication 463 asks for **a receipt or other proof for every lodging expense**. For any other travel expense of $75 or more, it asks for a receipt or proof too.

**Receipt OCR** uses optical character recognition to read a photo, scan or PDF of a receipt. AI usually picks out the fields. It returns the merchant, date, line items, tax, tip, total and payment method as separate values. Finance teams use it so nobody types receipts into expense reports. It can also check each claim automatically. Accuracy depends on the image, and on whether the tool understands receipts or only reads their text.

## What data does receipt OCR extract?

| Field | Why it matters |
| --- | --- |
| Merchant name, address, phone | Identifies the vendor and supports categorization |
| Transaction date and time | Places the expense in the right period and policy window |
| Line items (description, quantity, price) | Needed for itemized policies, split costs and non-reimbursable items |
| Subtotal, tax, tip, total | The amounts posted to the ledger and checked against the card charge |
| Currency | Required for foreign receipts and conversion |
| Payment method and last 4 digits | Matches the receipt to a corporate card transaction |
| Receipt or transaction number | Helps detect duplicates |

## How receipt OCR works

Receipts arrive as phone photos, emailed receipts, scans and PDFs from travel and ride-hailing apps. Automated receipt data capture runs each one through the same four stages.

Phone photos, Emailed receipts, PDFs and scans → Receipt OCR: 01 Clean up the image, 02 Read the text, 03 Extract the fields, 04 Validate → **Expense tool, accounting system or ERP**

*How a receipt becomes checked data*

Clean-up crops, straightens and sharpens the image. Plain OCR stops at the text, so extraction is the next step. The model decides which text is the merchant, which rows are items and which of several totals to record. It also rates how sure it is about each field. Validation checks the values. Anything the model is unsure about, or anything that fails a check, goes to a person.

> **Docsumo for this**: [Document AI](https://www.docsumo.com/platform#document-ai)
>
> Read, extract and check the fields on receipts, invoices and any other business document, with a person reviewing only what the model is unsure about.

## What makes receipts hard to read

### Thermal paper fades

Many receipts are printed on thermal paper, which fades over time, so capture them early.

### Photos, not scans

Shadows, curled paper and glare distort the text. Clean-up and AI trained on phone photos help most.

### No standard layout

Every point-of-sale system prints differently, with wrapped lines, abbreviations, other languages and currencies.

### Several totals

The subtotal, the total, the amount tendered, the change and a tip line all look like "the total".

### Long receipts

Grocery and hardware receipts run to dozens of lines and are often photographed in two parts.

### Handwriting

Tips and notes are often written by hand, so route low-confidence handwritten values to a person.

*Three lines say TOTAL: the amount due ($13.90), the cash handed over ($20.00) and the change ($6.10). Only the first, $13.90, is the amount to record in your accounts.*

## Checks to run after extraction

Extraction gets the data out. Checks keep bad data out of your books. The same checks apply to every receipt type, from a store receipt to a hotel folio.

- **Math**: Line items add up to the subtotal, and subtotal plus tax and tip equals the total.
- **Tax**: The tax amount is a believable rate for the place of purchase.
- **Date**: The date falls in the claim period and isn't in the future.
- **Duplicates**: The same merchant, date and amount hasn't been claimed before, by anyone.
- **Card match**: The total matches a corporate card transaction.
- **Policy**: Category, amount and items fit your expense policy, such as meal limits or alcohol rules.
- **Evidence**: A receipt is attached where required. For travel, IRS Publication 463 asks for a receipt for every lodging expense. For any other travel expense of $75 or more, it asks for a receipt or proof too.

In Docsumo, you add checks like these as workflow steps, using an AI step or your own Python code. Receipts that fail go to a reviewer, who clicks a flagged field to see its source line highlighted on the image. See [document workflows](https://www.docsumo.com/platform#document-workflows).

**What we'd do.** Aim for automation that behaves the same way every time. Every receipt that passes the checks should be recorded without a person touching it. Every one that fails should reach a reviewer with the reason and the source line in front of them. Reviewers who see only the failed receipts learn quickly what a real problem looks like.

## How to choose a receipt OCR tool

1. **Test on your own receipts**: Include faded, crumpled and long ones, and [measure accuracy](https://www.docsumo.com/blog/ocr-accuracy) per field, not per receipt.
2. **Check line items**: Many tools return only merchant, date and total.
3. **Look at the review screen**: Reviewers should see the uncertain fields marked on the receipt image and fix them quickly.
4. **Check validation and duplicate detection**: Checking the data and spotting duplicate receipts matter as much as reading it.
5. **Confirm the integration**: Your expense tool, accounting system or ERP, or an API and webhooks for your own flow.
6. **Check security**: Receipts can show card digits and personal data, so ask for a SOC 2 Type 2 report.

Docsumo isn't limited to pre-built models, so one platform reads receipts alongside invoices and bank statements. It reports 99% field-level accuracy across 250+ document types and 95%+ straight-through processing. Data goes to your expense tool, accounting system or ERP through the API and webhooks, or downloads to Excel. Try it free for 14 days on up to 1,000 pages; see [pricing](https://www.docsumo.com/pricing) and [security](https://www.docsumo.com/security).

## Pick the right total, then check it

Receipt OCR saves the most time when it goes past reading text. It should pick the right total, tax and line items. It should check them against the card charge and your policy. Then it should send only the failed receipts to a person. Capture receipts early, test tools on your worst ones, and put checks after extraction. For receipts that come with supplier invoices, see [accounts payable automation](https://www.docsumo.com/solutions/use-cases/accounts-payable).

[Book a demo](https://www.docsumo.com/book-a-demo) with a batch of your own receipts, or [start a free trial](https://www.docsumo.com/free-trial).

## Frequently asked questions

### What is receipt OCR?

Receipt OCR is optical character recognition applied to receipts. It reads the text on a receipt image. With AI extraction added, it returns fields such as merchant, date, items, tax and total as structured data.

### How accurate is receipt OCR?

It depends on the image and the tool. Clear, flat receipts read well; faded thermal paper, crumpled or long receipts, and handwritten tips are harder. Measure field-level accuracy on your own receipts, and send low-confidence fields to a person.

### Can I automate receipt data entry?

Yes. Employees photograph or forward receipts, and receipt OCR extracts the fields. Rules check them against the card charge and your expense policy. The data then goes to your expense tool or accounting software, with the image attached. People only look at the receipts that fail a check.

### What are the types of receipts?

Businesses handle purchase receipts from stores and restaurants most. They also see emailed e-receipts from airlines and ride-hailing apps, hotel folios, fuel receipts, and payment receipts that confirm an invoice was paid. All share the same core fields, which are merchant, date, amounts and payment method.

### Are scanned receipts acceptable for business records?

Generally, yes. The IRS allows paper records to be kept in an electronic storage system that meets Revenue Procedure 97-22. A legible scan or photo can then replace the paper. Each receipt still needs to show the amount, date, place and nature of the expense. Check with your tax adviser for your situation.

### What's the difference between receipt OCR and invoice OCR?

Invoices are usually PDFs with an invoice number, due date and payment terms, and they feed accounts payable. Receipts prove a payment already made, are often photos, and feed expense reports. See [invoice OCR](https://www.docsumo.com/blog/invoice-ocr) and [invoice extraction](https://www.docsumo.com/solutions/documents/invoices).

**Sources**

1. [IRS Publication 463 (2025): Travel, Gift, and Car Expenses](https://www.irs.gov/publications/p463)
2. [IRS: Automated records (electronic storage systems and Rev. Proc. 97-22)](https://www.irs.gov/businesses/automated-records)

First published Jun 7, 2024. Last updated Oct 12, 2026.

**Written by** [Karishma Bhatnagar](https://www.docsumo.com/blog-authors/karishma-bhatnagar) · Content Marketing Manager

Karishma is a passionate blogger who comes with a deep understanding of Content Marketing & SEO tactics. When she isn’t working, you’ll find her in the mountains, experiencing the fresh breeze & chirping sounds of birds.

[LinkedIn](https://www.linkedin.com/in/karishma-bhatnagar-235479149/) · [All posts by Karishma](https://www.docsumo.com/blog-authors/karishma-bhatnagar)

- [Driver's license OCR: fields, the PDF417 barcode and how to automate license capture](https://www.docsumo.com/blog/drivers-license-ocr)
- [OCR in banking: what it means, where banks use it and how it works](https://www.docsumo.com/blog/ocr-in-banking)
- [8 intelligent document processing examples, team by team](https://www.docsumo.com/blog/intelligent-document-processing-examples)

## Keep reading

- [AP automation for manufacturers and distributors: match every line to what arrived](https://www.docsumo.com/blog/manufacturing-ap-automation): For AP teams at manufacturers and distributors. Follow one delivery with a missing pallet through a 3-way match of the invoice, purchase order and receipt. Then see which rules to set before you automate matching.
- [OCR invoice processing: how invoice OCR works and how to get accurate data](https://www.docsumo.com/blog/invoice-ocr): For AP teams and developers who want to know what OCR does on an invoice. We compare template OCR with AI extraction and show how to measure and raise accuracy on your own invoices.
- [Best accounting data entry software in 2026: 5 tools compared](https://www.docsumo.com/blog/best-accounting-data-entry-software): For controllers, AP leads and bookkeeping firms choosing a tool to stop keying invoices, receipts and statements. You'll see how the main options differ and which fits your volume and systems.

[More on invoices & AP](https://www.docsumo.com/blog#posts-ap)

## Next steps

- [Book a demo](https://www.docsumo.com/book-a-demo)
- [Get a free trial (1,000 pages)](https://www.docsumo.com/free-trial)
- [Contact sales or support](https://www.docsumo.com/contact)
- [agents.md](https://www.docsumo.com/agents.md): connect Docsumo to your AI agent with Docsumo MCP
- [llms.txt](https://www.docsumo.com/llms.txt) lists the key pages; add .md to any page's URL for its Markdown copy
