Automated data extraction: PDFs into usable rows

Friday afternoon disappears into copying a fuel statement. Automated data extraction reads details from PDFs, scans and photos into spreadsheet columns or system fields. Agree the output, check the readings against your existing records and keep a link to the original document.

Friday afternoon with the fuel statement

The fuel statement is open beside the fleet spreadsheet. You're copying registrations, dates and litres while scanned driver timesheets wait in the inbox. Automated data extraction takes the details from those documents and puts them into usable rows, ready for the checks you agree.

Picture a haulage firm whose fuel card statement arrives as a 120-line PDF every week. With extraction set up, each line becomes a row in the fleet cost spreadsheet, with the vehicle registration checked against the fleet list. A registration that doesn't match waits for the finance assistant, who opens the source page to see whether the scan is unclear or the vehicle needs looking into.

Today
  • 120 fuel lines typed by hand
  • Scanned timesheets checked by eye
  • Typing errors found at month end
With AI set up for the job
  • Rows prepared as documents arrive
  • Each row links to its page
  • Unmatched registrations held for review

Understand how document processing works

Decide what a correct row looks like

A correct row has the fields your spreadsheet needs, in the format your team already uses. You'll want to agree the transaction date, vehicle, litres and site before you test anything. Keep the statement date apart from the purchase date, so a tidy spreadsheet doesn't hide a wrong assumption.

It's worth writing down what happens when a field is missing. An unreadable quantity stays blank and gets flagged, because a zero in its place looks like a real reading. You'll also decide whether a repeated statement replaces the earlier one or waits for review. With those rules agreed, whoever checks the output knows when to accept a row.

Move extracted details into your other systems

Set up extraction in five steps

We'd start with last month's documents, before anything new feeds the working spreadsheet. You typed those statements yourself, so you already know the right answers. Include the awkward pages you actually receive, because a clear sample tells you little about a blurred timesheet.

  1. Gather past documents

    Collect statements and scans with checked answers.

  2. Agree the output

    Name the columns and the destination.

  3. Run the trial

    Read the past documents into separate draft rows.

  4. Check the differences

    Compare readings with originals and correct the instructions.

  5. Start new arrivals

    Keep review and logging active when live work begins.

A digital PDF holds text that software reads directly. A scan is a picture of a page. Optical character recognition, or OCR, turns that picture into readable characters, rather like transcribing a photograph. Handwriting and faint printing add uncertainty. Tables split across pages need particular attention: repeated headings and broken rows can send figures into the wrong columns.

Check what the AI pulled out

Your firm already holds lists it trusts, and they do the checking. Each registration is matched to the fleet list, then the date and litres are checked against the right transaction. A valid registration doesn't prove the litres were read correctly, so where the statement gives a total, you compare it with the extracted rows.

Never let the nearest match silently become the answer. The finance assistant sees the original page, the proposed reading and the reason for the flag together, and the correction is recorded with who made it. During the trial, you'll want to look at rows that passed too, so mistakes the matching rule missed come to light.

Apply document checks to expense receipts

Keep the paper trail

Each row keeps a link to its original page. When a colleague asks why a vehicle's fuel total changed, the spreadsheet leads straight back to the statement and the recorded correction. Make sure the people reviewing rows can open those source files.

Before you stop retyping
  • Rows link to original pages
  • Originals follow your retention rules
  • Corrections leave a visible record
  • Someone owns the mismatch list

A UK finance desk works the same way for expenses: they arrive ready to check and the finance lead only gets the tricky ones.

See how a UK finance desk checks expenses

We set AI up to read the documents you receive, put the rows where your team already works and check them against the lists you already hold. Every extraction is logged, so your team can see what the AI read and where, and we keep it all up to date. Bring a typical fuel statement and a troublesome scan to a sense-check call with Struan; we'll help define the rows and checks your finance assistant needs.

Questions and answers

Can AI extract tables from a scanned PDF accurately?

AI can read tables from scanned PDFs, but accuracy depends on the page and the layout. Faint text, handwriting and tables continued over a page need careful checks. Test your own scans against known answers, and hold unreadable cells for review.

How do we check data that AI has extracted?

Compare the extracted values with the original document and with an agreed reference, such as your fleet or supplier list. Check totals where available and investigate missing rows. Keep a named person responsible for doubtful readings, with the source page and proposed correction visible together.

Can Copilot or Claude put PDF data into Excel?

Claude's documentation describes reading PDF text, images, charts and tables. Writing those results into Excel is a separate setup question involving the account, permissions and destination. Check your actual Copilot or Claude setup with a sample document before relying on an automatic update to a working spreadsheet.

What happens to the original documents after extraction?

Keep the originals under your business's record retention arrangements and link each extracted row back to its source. Extraction creates a usable copy of the details; your team still needs the evidence behind those details. Preserve correction history so someone can explain why a spreadsheet value changed.

Sources

Friday afternoon with the fuel statement

Ready to put the advice to work? Tell us where your week gets stuck. We’ll show you how we’d set AI up to help and keep it in step with your business.

See how we set up AI for the job