To make scanned invoices searchable, run them through optical character recognition (OCR). OCR adds a hidden text layer behind each page image. Save the result as a searchable PDF and store it somewhere with full-text search. You can then type a vendor name, invoice number or amount into a search box and find the right invoice, without opening files one by one.
The OCR step itself is quick. Whether search still works six months later depends on everything around it. You need to scan at the right resolution, check that invoice numbers were read correctly, add a few consistent metadata fields, and keep files in one controlled location with sensible retention. This guide covers each step, the common failure points, and what US and EU rules expect when scans replace paper.
Why a scanned invoice is not searchable by default
A scanner produces a picture. Even when the file is a PDF, a plain scan contains only pixels, so your computer treats the invoice like a photo. Search tools, including Windows search and most cloud drives, have no text to index.
OCR analyzes the image, recognizes the characters and writes them into an invisible text layer placed over the matching words. The page looks exactly the same, but you can now search, select and copy its text. For a deeper look at how recognition works, see OCR Explained.
Two terms are worth knowing:
- Image-only PDF: a scan with no text layer. It is not searchable.
- Searchable PDF (sometimes called image-plus-text): the original image plus an OCR text layer. This is the format you want.
To check a file, open the PDF and try to highlight a word. If you can select individual words, the file has a text layer. If you can only draw a box around the whole page, it does not.
Step 1: Decide what people need to find
Before you touch the scanner, list the questions your team actually asks about invoices. For most accounts payable and finance teams, they look like this:
- Did we already pay invoice 48213 from this vendor?
- Show me everything from Acme Supply last quarter.
- Which invoice matches PO 7710?
- What did we pay for this service in March?
These questions point to a small set of fields:
- Vendor name
- Invoice number
- Invoice date
- Total amount and currency
- PO number
- Due date
Full-text search covers a lot, but capture these fields as structured metadata too. Free text cannot filter by date range or amount. Keep the list short, because every extra field adds work and inconsistency. Our metadata best practices guide explains how to design fields that stay usable.
Step 2: Scan with settings that help OCR
OCR accuracy depends heavily on input quality. A few settings make most of the difference.
| Setting | Recommended | Why |
|---|---|---|
| Resolution | 300 dpi | Widely recommended baseline for OCR. 200 dpi can lose small print, and higher settings rarely help while inflating file size. |
| Color mode | Grayscale (color if stamps, highlights or signatures matter) | Pure black and white can drop faint text and break characters apart. |
| File format | PDF (or TIFF converted to PDF) | PDF holds the text layer and multiple pages in one file. |
| Multi-page handling | One invoice per file | Keeps search results and metadata accurate. |
| Image cleanup | Auto-rotate, deskew and despeckle turned on | Tilted or noisy pages produce misread characters. |
| Compression | Moderate | Heavy JPEG compression creates artifacts around letters. |
Preparing the paper matters as well:
- Remove staples and paper clips, and flatten folded pages.
- Put a blank or barcode separator sheet between invoices if your scanner supports document separation. A single batch then becomes individual files.
- Scan thermal paper receipts promptly. Thermal print can fade over time, and faded text is hard for OCR to read.
- Scan both sides only when the back has content. Blank-page removal keeps files clean.
If invoices arrive by email as PDFs, check whether they already contain text. Many system-generated PDF invoices do and need no OCR. Supplier invoices that were printed, signed and scanned on the vendor side usually do not.
Step 3: Run OCR and create searchable PDFs
You can run OCR in three main places:
- At the scanner. Many document scanners and multifunction printers include software that outputs searchable PDFs directly. This works well for daily scanning at one desk.
- In desktop PDF software. Most full-featured PDF editors can run OCR on a single file or a batch. This helps with backlogs, but it adds a manual step, and files still end up wherever someone saves them.
- In your document management system. A DMS with built-in OCR processes every scan on upload and indexes the extracted text for search right away. Nobody has to remember the step.
Whichever option you choose, set the OCR language correctly. If you receive invoices in English, German and French, enable all three. A wrong language setting causes misread accented characters and words.
Also choose the option that keeps the original image and adds text beneath it. Avoid options that replace the image with reconstructed text. For records, the image is the evidence and the text is the index.
Step 4: Check that OCR read the important parts
OCR is very good on clean, printed invoices, but it is not perfect. Its errors tend to land where finance teams care most: numbers and codes. Common problems include:
- Confusing 0 and O, 1 and l or I, 5 and S, or 8 and B
- Mixing up decimal commas and decimal points (1.234,50 versus 1,234.50)
- Splitting an invoice number across a line or merging it with nearby text
- Missing text under stamps, signatures or colored table backgrounds
A practical quality routine has three parts:
- Run a search test. After scanning a batch, search for one invoice number from each file. If the search fails, the text layer is unreliable for that document.
- Spot-check the key fields. Compare the extracted vendor, number, date and total against the image for a sample of files. Also check every invoice above an amount threshold you set.
- Rescan instead of retyping. If a page fails, rescan it at higher quality or in grayscale before you correct text by hand.
OCR recognizes handwritten notes, such as approval initials or handwritten totals, far less reliably than printed text. Treat them as image content, and record anything important in a metadata field or comment.
Step 5: Add metadata and a naming convention
Full-text search finds words, while metadata lets you filter and sort. Use both.
A simple, durable file name pattern for invoices is:
YYYY-MM-DD_Vendor_InvoiceNumber.pdf
For example: 2025-03-14_AcmeSupply_48213.pdf. ISO-style dates sort correctly, and the invoice number makes duplicates obvious.
Next, capture the core fields from Step 1 as metadata. Many tools can extract them automatically from OCR text, which saves typing. Keep a human review step for amounts and invoice numbers until you trust the results for your vendors.
Consistent vendor names matter more than you might think. If one supplier appears as Acme, Acme Supply and ACME Supply Co., every report and search becomes harder. Use a controlled list of vendor names.
Step 6: Store, secure and retain invoices properly
Searchable invoices are only useful if they live in one place that everyone uses. Scattering them across desktops, email and personal drives undoes the work. Set up the following:
- A clear folder structure. For example, organize by fiscal year and then vendor, or by entity if you run several companies.
- Permissions. Let AP staff upload and edit, let managers view, and give everyone else no access. Invoices reveal pricing, bank details and sometimes personal data.
- Audit logs. These let you show who viewed, changed or deleted a record.
- Retention rules. Keep invoices for the required period and flag them for review at the end, rather than keeping everything forever or deleting too early. Document Retention Policies Explained covers how to set those periods.
- Backups. Add them if your system does not already provide them.
Step 7: Tackle the backlog
Most businesses have years of invoices that were saved as image-only PDFs or still sit in boxes. Work through them in order of value:
- Run batch OCR on existing image-only PDFs first. It is inexpensive and makes years of records searchable at once.
- Next, scan paper from the current and previous fiscal years. These are the records most likely to be needed for audits, disputes and tax questions.
- Decide whether older paper needs scanning at all. It may be able to stay in storage until its retention period ends.
Spot-check backlog output the same way as new scans. Old faxes, carbon copies and faded thermal paper fail more often.
Compliance: what US and EU rules expect from scanned invoices
Scanning invoices and discarding the paper is common practice, but do it deliberately.
United States
IRS Revenue Procedure 97-22 allows businesses to keep books and records, including scanned images, in an electronic storage system. The system must:
- Ensure the integrity, accuracy and reliability of the records
- Include an indexing and retrieval system
- Be able to produce legible, readable copies
How long to keep invoices depends on what the record supports. The IRS generally points to the period of limitations, commonly three years from filing, with longer periods in specific situations. Many businesses choose a longer internal policy, so confirm the right period with your accountant.
Some industries add their own rules. For example, healthcare organizations handling invoices that contain protected health information also need HIPAA safeguards.
European Union
The EU VAT Directive requires invoices to be stored in a way that guarantees authenticity of origin, integrity of content and legibility for the whole storage period. Each member state sets its own storage period, and these vary considerably. Confirm the period for every country where you are registered for VAT.
Some countries also have detailed rules for replacing paper with scans. Germany's GoBD is a well-known example. Invoices that name individuals, such as sole traders, contain personal data under GDPR, so access controls and retention limits apply.
A note on e-invoicing
Several EU countries are moving to mandatory structured e-invoices, which are machine-readable formats rather than PDFs. Germany, for example, has required businesses to be able to receive structured e-invoices for domestic B2B transactions since January 2025. A scanned, OCR-processed PDF is still a useful record, but it does not count as a structured e-invoice under those rules.
How Docviro handles scanned invoices
Docviro runs OCR on scanned PDFs and images when you upload them. It indexes the recognized text alongside the original image, so you can search invoices by vendor, invoice number, amount or any other text on the page without a separate OCR step. Full-text search covers every folder a user has permission to see.
For invoice-specific fields, Docviro's AI metadata extraction suggests values such as vendor, invoice number, date and total from the OCR text. A team member can then review and correct them. AI summaries and chat on documents let you ask questions about a specific invoice or a set of invoices, with answers based on the document content.
The rest of the steps in this guide map to built-in controls:
- Folder permissions control who can see financial records.
- Audit logs record access and changes.
- Version history keeps earlier versions if a file is replaced.
- Retention rules apply the keep-or-review periods you define.
- Approval workflows route invoices that need sign-off before payment.
You can see how search and OCR work in detail on the document search and OCR feature page.
FAQ
Does OCR change the original scanned invoice?
No, as long as you use a searchable PDF output that keeps the image. OCR adds an invisible text layer beneath the image, and the page looks the same as the original scan. Avoid settings that replace the image with reconstructed text, because the image is what proves what the invoice said.
Can I throw away paper invoices after scanning them?
Often yes, but it depends on your jurisdiction and industry. In the US, IRS guidance permits electronic storage systems that meet requirements for integrity, indexing and legible reproduction. In the EU, rules vary by member state, so confirm local requirements and document your scanning procedure before you dispose of originals.
What resolution should I scan invoices at for OCR?
Scanning at 300 dpi in grayscale is a widely used starting point and works well for most printed invoices. Go higher only for very small print. Use color when stamps, highlighting or signatures carry meaning.
Can OCR read handwritten notes on invoices?
Standard OCR is built for printed text and handles handwriting much less reliably. If handwritten approvals or amounts matter, record them in a metadata field or comment rather than relying on search to find them.
How do I check whether a PDF invoice is already searchable?
Open the file and try to select a single word, or use the find function. If you can highlight individual words or find text on the page, the file already has a text layer. If not, it is an image-only file and needs OCR.
