Schema LawSign in with Google

OCR Tax Returns and IRS Notices for a Tax Controversy

By Schema LawPublished Updated

To OCR tax returns and IRS correspondence for an audit, appeal or collection matter, scan each return and each notice as its own file, convert it to a searchable PDF, and log the tax year, form or notice number and date from every one. Convert schedules and receipts to tables only where you will add up the figures.

The examples use invented taxpayers. Gideon and Marta Albrecht file jointly. Gideon runs a one-truck tree service, and the IRS is examining the business expenses on their 2023 and 2024 returns. They arrive with a banker's box and a shoebox.

Line labels on a return are reliable search keys. For the audit, find adjusted gross income and taxable income on each converted year, then find every deduction, withholding amount, and capital gain on the schedules. The IRS notice names the income tax year. Confirm each figure on the image before it goes into a workpaper for the examination or the appeal.

Which records make up a tax controversy file?

A tax controversy file is made of what the taxpayer filed, what the IRS sent, what the IRS's own systems show, what backs up the numbers, and what the representative adds. Returns, notices, transcripts and substantiation each arrive in a different form, and each needs different handling once scanned.

KindExamplesArrives asFirst step
What was filedReturns with schedules, amended returns, extension requests, information returns the taxpayer receivedPreparer's printout, client's photocopy, PDF from tax softwareTest for a text layer; OCR the scans
What the IRS sentNotices, letters, document requests, examination reportsPaper in opened envelopes; phone photosScan every page, both sides; OCR; log number and date
What IRS systems showAccount transcripts, return transcripts, wage and income transcriptsDownloaded files or prints of themTest for a text layer before doing anything
What backs it upReceipts, invoices, bank and card statements, mileage logs, calendarsShoebox, envelopes, spiral notebooksSort by year and category before scanning
What the representative addsAuthorization forms, your letters, proof of mailing, notes of callsYour own filesSave as created; no OCR needed for native files

The IRS's page on burden of proof explains why the fourth row is the heavy one: "The responsibility to prove entries, deductions, and statements made on your tax returns is known as the burden of proof." In an examination, the agency's page on IRS audits says, "The IRS will provide you with a written request for the specific documents we want to see." That request is the list your scanning plan should be built around.

Returns turn up in other practice areas with a different job to do. As income evidence in a divorce they are covered in the family law post, under what scanned tax returns and pay stubs give you once converted. The return a debtor gives a trustee is covered in the post on OCR for bankruptcy documents.

IRS notices and letters: finding the notice number and date on a scan

Find the notice or letter number in a corner of the page. The IRS says, in its guide to understanding your IRS notice or letter, "You can find the CP or LTR number on the right corner of the letter." Read the number and the notice date from the image, not from converted text.

Corners are a weak spot on a scan. A notice that was folded in three, stapled, hole-punched or clipped to a return envelope can lose exactly the part of the page where the number sits. Before you rely on a search to find notice numbers across the file, look at the corners of each first page and each last page on screen. If the number is cut off or covered, rescan that sheet flat on the glass.

What to capture from each notice

Layouts differ from one notice to another, so read the whole first page and the whole last page for these.

FieldWhy it goes in the log
Notice or letter numberTells you what kind of notice it is
Notice dateThe date the lawyer will count from
Tax year or periodOne box of mail can hold notices for several years
Form the notice concernsDifferent taxes and penalties are tracked separately
Response due date, if one is printedGoes straight into the calendar
Amount statedRead from the image, digit by digit
Contact name, unit, and address or fax for repliesWhere your response goes
Page count, if the pages are numbered ("Page 1 of 6")Proves the scan is complete
Enclosures listedConfirms nothing was left in the envelope

Type those into a log, one row per notice. Do not paste them from converted text without reading the image, because the fields that matter most here are numbers and dates.

The same IRS guide tells taxpayers to "Review it carefully and keep it for your records" and, where a reply is requested, to act by the due date. Which deadline a particular notice starts, and what happens if it passes, is a legal question. The log's job is to make sure no dated notice sits unread in a scanned file.

Envelopes, duplicates and missing pages

Scan the envelope when the client kept it, since a postmark can matter to the lawyer. Watch for duplicates: the box may hold two copies of the same notice. Keep both scans and mark one as a duplicate in the log instead of deleting it. And compare any printed page count with the pages you have. In the Albrecht box, a letter numbered "Page 1 of 8" has six sheets, and the two missing pages turn out to be the response form the clients had already mailed back.

Are IRS account transcripts searchable when you download them?

The IRS documentation does not say. Its transcript pages describe what each transcript contains and how to get one, and they do not state a file format or whether the text can be searched. Test each transcript you receive: search for a word you can see, and try to select a single line.

What the IRS does say is useful for knowing what you hold. Its page on transcript types for individuals and ways to order them describes five products. A tax return transcript "shows most line items from your original Form 1040-series tax return as filed, along with any forms and schedules." A tax account transcript "shows basic data such as filing status, taxable income, and payment types. It also shows changes made after you filed your original return." A record of account transcript combines those two, a wage and income transcript "shows data from information returns we receive such as Forms W-2, 1098, 1099, and 5498", and a verification of non-filing letter is the fifth.

The same page says an individual can register for an online account "to view, print, or download all transcript types", can use a mail service, or can submit Form 4506-T. For representatives, the page on the Transcript Delivery System says: "Use TDS to view your client's return and account information quickly, in a secure, online session."

So a transcript can reach your file by several routes, and the route decides what you have:

How it reached the fileWhat to test
Downloaded and saved by you or the clientSearch for a transaction description you can see
Viewed on screen and printed to PDFSame test; the result depends on how the print was made
Mailed by the IRS and scannedAn image; run OCR on a copy
Printed by the client, written on, then scanned or photographedAn image with handwriting over it; run OCR and read the notes by eye
Faxed from a prior representativeAn image, and a faint one; run OCR and check every figure

If the transcript needs OCR

An account transcript is a list of dated transactions and amounts. Three checks apply after conversion:

  • Codes. Where a transaction line carries a numeric code, a misread code changes what the line means. Read every code against the image.
  • Dates. Check the format the transcript prints and keep it consistent in any spreadsheet you build.
  • Signs. Credits may print with a minus sign or in a separate column. Confirm that a faint minus was not dropped.

A transcript is also not a copy of the return. If you need the return itself, the IRS's page about Form 4506 describes that form as the way to "Request a copy of your tax return", and points to the transcript service for cases "when you don't need an actual copy of your original tax return."

Converting prior-year tax returns and their schedules

Convert a prior-year return by scanning the complete copy in form order, running OCR to a searchable PDF, and typing the handful of lines you need into a comparison sheet from the image. Export schedules to a spreadsheet only when you need to total or compare their rows. Form pages are hard on table detection.

Before scanning

  1. Find out which copy you have. A preparer's packet can include a client copy, a filing copy, worksheets and state returns. Look for words such as "client copy" or "do not file" printed across the page, and note them.
  2. Put the pages in order. Main form, then numbered schedules, then other forms, then attached statements. Count the pages.
  3. Remove staples and flatten folds. A return kept in a drawer for years may have both.
  4. Scan both sides. Some forms print on the back.
  5. Name the file by taxpayer, year and form. For example Albrecht 2023 Form 1040 as filed.pdf.

What OCR does with a form page

A return page is a grid of line numbers, descriptions and amount boxes. Recognition reads the printed labels well when the copy is clean. The trouble is in pairing each amount with its line. A converter may output the left column of descriptions as one run and the right column of amounts as another, or attach an amount to the line beside it. That is why the figures you rely on get typed from the image, with the line number, and not copied out of converted text. Checkboxes, such as filing status, come through as a printed box and a label with no record of which was ticked. The post on OCR for scanned forms covers fields and checkboxes.

Other things to look for on a scanned return:

  • Amounts split across boxes. Some forms print dollars and cents in separate boxes, which can convert as two numbers.
  • Losses. A negative figure may be shown in parentheses or with a minus sign. Check that the sign survived.
  • "See statement". A line that refers to an attached statement holds no number of its own. The statement is at the back of the return and has to be in your scan.
  • Handwritten returns and handwritten changes. Recognition is weaker on handwriting than on print. Read these by eye.
  • Identifying numbers. Return pages carry Social Security or employer identification numbers. The post on OCR for documents with Social Security numbers covers what to do with converted copies.

A year-over-year sheet

For the lines in dispute, build a small table with one column per year and one row per line. For the Albrecht examination, which concerns the business schedule:

Line as labeled on the form202220232024Source pages
Gross receipts148,210151,940139,675p. 7 of each return
Car and truck expenses9,12021,48022,035p. 7
Supplies11,30012,05010,870p. 7
Repairs and maintenance2,4102,9809,640p. 7

Laid out this way, two things stand out: car and truck expenses more than doubled from 2022 to 2023, and repairs more than tripled in 2024. Those are the categories where the substantiation needs to be most complete. The table says nothing about whether the deductions are correct. It tells you where to look.

Schema Law reads PDF, PNG or JPEG uploads of up to 20 MB into text and tables and shows the parsed pages on screen, which is where to compare a form page with its conversion before exporting. Searchable PDF is included on every plan. The pricing page lists the page limit per document for each.

Receipts, mileage logs and other substantiation records

Substantiation records are the taxpayer's proof, and they are the worst paper in the file: small, faded, handwritten or crumpled. Scan them in groups by year and expense category, convert them so they can be searched, and build the schedule of amounts by typing from the images, not by trusting recognized totals.

The IRS states the standard on its burden of proof page: "You generally must have documentary evidence, such as receipts, canceled checks, or bills, to support your expenses", and "Additional evidence is required for travel, entertainment, gifts, and auto expenses." Its topic page on business use of a car adds: "The law requires that you substantiate your expenses by adequate records or by sufficient evidence to support your own statement." What counts as adequate for a given deduction is a legal question. On the document side, the audits page says the IRS accepts "some electronic records", so ask the examiner what form they want before you prepare a submission.

Receipts

  • Thermal paper fades. Scan faded receipts in grayscale or color, not black and white, so that pale print is not thrown away. The post on OCR for faded text explains why.
  • One receipt per image where you can. Six receipts taped to a sheet can convert as one jumble of lines. If the client already taped them, leave them and type the amounts.
  • Capture four things. Date, payee, amount and what was bought. Add the page reference.
  • Match to the bank or card statement. A receipt shows what was bought and a statement shows that it was paid. Put the statement page beside the receipt page in your schedule.

Mileage logs

Mr. Albrecht's mileage log is a spiral notebook kept in the truck: a date, a customer name and odometer readings in pencil, one line per job. That is handwriting in columns, and the post on handwritten ledgers to Excel covers the method. Three points are specific to a log:

  1. Scan the whole notebook, including the cover and blank pages, so nobody can say pages were left out.
  2. Type every line. For each, compute miles as the ending reading minus the starting reading and compare with any miles figure written on the line.
  3. Check that each day's starting odometer is no lower than the prior entry's ending reading. A reading that goes backwards is a misread digit or a problem with the log, and you need to know which before the examiner asks.

Calendars, invoices and everything else

Appointment calendars, customer invoices and supplier statements support the log and the receipts. Convert them to searchable PDF so that a customer name or a date written in the log can be found across all of them.

How do you index a tax controversy file by year and issue?

Index the file with one row per document and two sorting keys: the tax year and the issue the document speaks to. Add the document type, its date, the file name and page count. Then every question in the case, such as "what supports 2023 truck expenses?", is a filter and not a search through folders.

A document can concern several years and several issues. Give it one row per combination, or use a column per issue with a mark in each that applies. Either works. What fails is an index sorted by date received, which scatters each year's proof across the whole list.

YearIssueTypeDocument dateDescriptionFilePages
2023AllReturn9 Apr 2024Joint return as filed, preparer's client copyAlbrecht 2023 Form 1040 as filed.pdf31
2023Car and truckNotice12 May 2026Document request, items 1 to 4IRS 2026-05-12 document request.pdf5
2023Car and truckSubstantiationJan to Dec 2023Mileage notebook, scanned whole2023 mileage log.pdf84
2023Car and truckSubstantiationVariousFuel receipts with card statement pages2023 fuel.pdf112
2024RepairsSubstantiation3 Aug 2024Invoice, transmission rebuild2024 repairs.pdf, p. 142
2023, 2024AllTranscript20 May 2026Account transcripts, downloadedTranscripts 2023-2024.pdf6

Building it

  1. Start from the IRS's written document request. Each numbered item becomes an issue label.
  2. Add a row for every notice in your notice log.
  3. Add the returns and transcripts for the years in question and for the year before, which gives the comparison.
  4. Add substantiation files as you scan them, already grouped by year and category.
  5. For each requested item, filter the index and read what you have. An empty filter is a gap to raise with the client now.
  6. Record what was sent to the IRS, on what date and by what method, in two more columns.

Because every file in the index is searchable, the index does not have to describe each page. A search across the folder for a customer's name, a payee or an amount will find the page, and the index tells you which year and issue it belongs to.

One more column earns its place: "checked against image by", with initials and a date. A figure that goes into a letter to the IRS should come from a page someone has read, and the column shows who.

All posts in Practice areas