Automation

How Do You Use AI for Data Entry When the Numbers Have to Be Right?

How a lawyer's Saturday of typing pay stubs into Excel became an afternoon, and the checks that made the numbers safe to rely on.

A wooden desk with a stack of blank papers, an open laptop seen from the side and a printed spreadsheet with one row highlighted in yellow under a cherry-red pen

If you've got a pile of pay stubs or invoices waiting to be typed into a spreadsheet, AI can help. In my experience it can do the typing in an afternoon instead of a whole day. Before anyone relies on the numbers, count what's really in the pile. Make every page check itself against its own printed totals. Never let the AI fill in a number the paper doesn't show. Mark open questions in the spreadsheet instead of guessing, and hand over a Verification tab so a person can trace any figure back to its source in about a minute.

Key takeaways

  • Different file names can hide duplicate documents, so compare what's inside them.
  • Checking each page against its own printed totals helps catch misread amounts.
  • A failed check can come from the reading program. Mine did.
  • Calculated totals should use Excel formulas, so later edits carry through.
  • The person who relies on the spreadsheet still needs to spot-check it against the originals.

Can AI do data entry from documents accurately?

Yes. In my experience, AI can copy numbers accurately when I give it clear instructions and check its work against the documents. A lawyer I work with called me on a Saturday with exactly that job. His client had a court hearing coming, and he needed pay stub figures entered into Excel exhibit tabs he'd already set up. He'd planned to spend the day typing them himself.

The documents covered January 2024 through March 2026. I used Claude, Anthropic's AI, through Claude Code, a tool that can read files and run small programs on my computer. The work took about four hours, plus about 30 minutes the next day when more documents arrived.

I was honestly surprised how quickly the AI did it. The numbers were going before a court, though, so finishing the typing wasn't enough.

Accounting software is heading the same way. QuickBooks' Intuit Intelligence help page says its assistant can create invoices, upload expenses and delete bills from a plain request. When software types numbers into your books, checking what it typed becomes part of the job.

What goes wrong when AI types in numbers?

The wrong number can be printed clearly on the page. Some newer pay stubs showed "Hours Worked: 0.00" in the summary box on an 80-hour paycheck. The payroll company had changed its report in mid-2025. The hours were in the detail lines, so copying the summary box would have produced a neat spreadsheet with incorrect hours.

Other details needed attention too:

  • Overtime for one paycheck sometimes appeared across two or three lines.
  • A small adjustment at the bottom of some stubs affected whether the figures added up.
  • One payday had three checks: a regular check, a one-week transition check and a small correction.

Three checks on one date needed a note explaining them, so nobody would delete two of them as duplicates. A date alone couldn't tell me whether two documents represented the same check.

How do you make every page check itself?

I start by counting what is actually in the pile. The first delivery had 49 files. Comparing their contents left 44 unique pay stubs. Two files were duplicates, one was a bank statement and two were screenshots of a benefits page.

Then I had a small program test each pay stub against its own printed totals:

  • The pay lines had to add up to gross pay, the amount before deductions.
  • The tax and deduction lines had to match their printed totals.
  • Gross pay minus all deductions had to equal net pay, the amount paid to the employee.

A stub that failed stayed out until I resolved the difference. The first run flagged 16. My reading program was the problem: the PDFs stored a category name against a date with no space between them. After I fixed that, 43 of the 44 balanced.

The remaining stub was a scanned image with no text a program could pull out. The AI read the image itself, and I matched it against a screenshot of the same check.

A second AI from a different company also read every stub without seeing the first one's numbers. We compared 602 figures, settled six disagreements against the originals and wrote up how I verify AI output in a separate post.

What should AI do when the paper doesn't show a number?

It should leave the question open and say what information is missing. In this job, the court form had one combined figure for phone and internet. The spreadsheet had separate lines for each. AI could have invented a reasonable-looking split, but neither document supported one.

I kept the figure on one line marked "combined" and added a note that separating it required information from the client. A plausible split would have left the lawyer with numbers nobody could trace to a document.

Cells awaiting an answer got yellow fill and a comment explaining exactly what was pending. That let the lawyer use the workbook the same day without mistaking an open question for a finished figure. I emailed three short questions, one topic each. He could answer them from his phone, and all three came back within a day.

How do you hand over the spreadsheet so someone can trust it?

I include the source for each number and explain the decisions behind the calculations. Figures copied from documents went into Excel as plain values. Calculated figures used live formulas, the instructions Excel uses to do the math. If the lawyer changed an input, the totals could recalculate.

Two extra tabs made the workbook easier to inspect:

  • A Verification tab had one row per pay stub, with its file name, every figure taken from it and whether its math balanced.
  • A Notes tab recorded definitions and decisions in plain English.

"Regular hours" meant one thing at the start of our call and something else by the end. I wrote down which definition the spreadsheet used. Otherwise, someone could check the arithmetic and still misunderstand the result.

The Verification tab let the lawyer check a figure against its pay stub in under a minute. My recommendation was to spot-check a handful of rows and initial them before filing. In my experience, a person who actually looked is the check that counts.

What do lawyers' ethics rules say about AI work like this?

The American Bar Association's Formal Opinion 512 says lawyers must understand the AI they use and review its output before submitting work to a court. Issued July 29, 2024, it also addresses protecting client information and supervising outside help. The opinion itself isn't binding on lawyers. I'm not a lawyer, and I'm describing the guidance rather than giving legal advice.

The opinion says lawyers should get clients' informed consent before putting confidential client information into AI tools. That means permission based on an understanding of the use and its risks. A standard consent line in the engagement letter, the agreement the firm signs with its client, isn't enough. It also says lawyers must make sure nonlawyers, including outside contractors, have training in ethical and practical AI use.

For this job, I worked on my computer with files the lawyer shared directly. I didn't upload them to a separate document-processing service. The second reading did involve sending text to another AI company, a deliberate tradeoff for that additional check.

Before touching a firm's documents, I ask how strictly they want the data protected. Every firm has a different comfort level. Agree on which tools may receive the information before opening the pile.

What steps should you follow for your next pile of documents?

  1. Agree on where the documents and their contents may go.
  2. List the files, compare their contents and separate duplicates from other documents.
  3. Identify the exact lines to copy, including any changes in the document layout.
  4. Test each document against its printed totals before adding its figures.
  5. Put unanswered questions in visible cells with specific comments.
  6. Record sources and definitions, then test the spreadsheet's calculations.
  7. Have the responsible person compare selected rows with the originals before using the file.

If the spreadsheet is headed to your accountant, there's also a free checklist for when you hand over your books.


Frequently asked questions

Can AI read scanned pay stubs?

Yes, though a scan needs the AI to read the picture rather than pull text out of the file. In this job one stub was a scan, so the AI read the image itself, and I matched it against a screenshot of the same check.

Does matching the totals prove every entry is correct?

Not on its own. Matching totals checks the arithmetic, but the hours example shows why the meaning of each line also needs attention. I use both document checks and a person's review of selected entries.

Can AI put the numbers into an existing Excel workbook?

Yes. The lawyer had already set up the exhibit tabs, and I entered the figures into that workbook. Existing headings still needed agreed definitions so the numbers went into the right places.

Can I add more documents after someone edits the spreadsheet?

Yes, but compare the edited workbook with the copy you sent before updating it. When more stubs arrived, I identified and preserved all 13 cells the lawyer had changed. The program writing the Excel file didn't adjust formulas automatically when inserting rows. I had to rewrite and check every formula below the new rows.

Should AI estimate a missing amount?

For this kind of evidence-based spreadsheet, I leave an unsupported amount unresolved. A note should identify what is missing and who needs to supply it. That gives the next person a question they can answer.


Get a custom AI tool for recurring data entry

I build custom AI tools for small businesses and professional firms from Fairfield, Iowa. If your team keeps typing the same kinds of documents, bring me a sample and the spreadsheet you need filled. We'll start with what each number must be checked against.

Want a system built for your business?

Everything here comes out of real work, mine and my clients'. If you want something custom, let's talk.

Get in touch