Skip to content

Convert a PDF Invoice to Excel, and Check It Came Through

Convert a PDF invoice to Excel with Get Data, From PDF; what to do with a scanned one; and a sheet that checks every line and the total came through right.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed December 1, 2026 · 6 min read

Excel can pull the tables out of a PDF invoice by itself: Data, Get Data, From File, From PDF, then pick the table in the Navigator and load it. That works when the supplier's software made the PDF, so the text is in the file. A scanned invoice or a phone photo is a picture of text, and needs reading first, which is what OCR, optical character recognition, does. Either way, a conversion can misread a digit, swap two, or split a line, and an invoice in a spreadsheet looks right whether it is or not. Below are Excel's steps from Microsoft's pages, which I read on 2026-12-01, what to do with a multi-page or scanned invoice, and a sheet that checks every line and the total came through.

The short version

  • In Excel: Data > Get Data > From File > From PDF, choose the table in Navigator, then Load.
  • It needs .NET Framework 4.5 or later on the computer, Microsoft's page says.
  • A table that runs over two pages can be joined: the connector's MultiPageTables option.
  • Many invoices in one format: import the folder and append them into one table.
  • A scan or photo is a picture: it needs OCR before its numbers are numbers.
  • Check every line: quantity x unit price = line total. Then lines + tax + freight = invoice total.
  • TaroStack reads a photo or PDF of an invoice into rows you check before saving. More below.

Two kinds of PDF

Try selecting a word in the invoice. If you can, the supplier's software wrote the PDF and the text is in it: Excel's PDF import can find its tables. If you can't, the PDF is a picture of a page, a scan or a phone photo, and Microsoft's pages describe the connector as returning the tables it finds, not as reading pictures. A picture needs OCR first: software that reads the letters and digits off the image. A misread digit is the risk with OCR, so the check below matters most for scans.

In Excel

From Microsoft's support page on importing data:

  1. Data > Get Data > From File > From PDF.
  2. Select the PDF and click Open.
  3. The Navigator shows the tables it found. Select the one with the invoice lines.
  4. Load puts it on a sheet. Transform Data opens it in Power Query first, to remove the header rows or split a column.

If Excel says the connector needs more components installed, the page says it requires .NET Framework 4.5 or later.

Longer invoices, and a pile of them

Microsoft's page on the PDF connector lists options for its Pdf.Tables function: a start page and end page to look at, and MultiPageTables, which joins similar tables on consecutive pages into one, for an invoice whose lines run onto page two.

For a month of invoices from one supplier, the support page's From Folder import takes files with the same layout from a folder and appends them into one table.

Check what came through

Two sums catch a misread number:

Each line: quantity x unit price = line total. A misread quantity, a swapped digit or a price split across two cells shows up as a line that doesn't add up.

The invoice: sum of line totals + tax + freight = invoice total. A misread line total, or a line that didn't come through at all, shows up here.

A cent off can be the supplier's rounding; more than that is worth a look at the PDF. Then match the invoice to what you ordered and received: three-way match in Excel and GRN vs invoice cover that, and invoice discrepancy letter what to send when the supplier's figures are wrong.

An example: the eggs

Kaimuki Pie Co. is a made-up bakery that converts its suppliers' PDF invoices into a costing spreadsheet. One invoice came through with 3 cases of eggs where the PDF said 8. The egg cost per pie came out too low for a month. Its next invoice through the sheet:

Item Qty Unit price Line total, printed Qty x price Check
Flour, 50 lb bag 4 $21.50 $86.00 $86.00 OK
Butter, 36 lb case 2 $118.80 $237.60 $237.60 OK
Sugar, 50 lb bag 3 $32.40 $97.20 $97.20 OK
Eggs, 15 dozen case 3 $46.50 $372.00 $139.50 Doesn't add up
Vanilla extract, 32 oz 1 $64.00 $64.00 $64.00 OK
Cream cheese, 30 lb case 1 $98.25 $98.52 $98.25 Doesn't add up

On the Totals sheet, the lines as converted came to $955.32, plus $35 freight, against an invoice total of $990.05: 27 cents out, the cream cheese's swapped digits. The eggs were 8 cases; the line total had come through right and the quantity hadn't.

Get the sheet

Download the invoice lines check. One row for each line that came out of the PDF: the item, quantity, unit, unit price and the line total as printed. The sheet multiplies quantity by price and flags a line that doesn't match. A Totals sheet adds the lines, tax and freight and compares them with the invoice total. A made-up bakery invoice is filled in, with two misread lines. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The sheet checks that the numbers agree with each other. It can't see the PDF, so a line that's wrong in a way that still adds up, or a line that never came through when the total did, needs your eye.

How TaroStack does it

TaroStack reads the invoice for you, and you check it before anything is saved.

Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.

The job Excel and a conversion In TaroStack
A supplier's invoice as a PDF or photo Converted, then checked by hand A photo, screenshot or PDF read into an import's rows, to check and change before anything is saved
What arrived against what was ordered Ticked on paper Receiving with or without a PO
What the ingredients actually cost Typed in from the invoice FIFO cost layers (or moving average), including freight and other landed costs
A supplier's price creeping up Noticed months later A price-creep report per supplier

Suppliers, purchase orders and receiving are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

How do I convert a PDF invoice to Excel?

In Excel, Data > Get Data > From File > From PDF, select the file, choose the table in the Navigator, and Load it, by Microsoft's support page. The PDF has to contain text; a scan or photo needs OCR first.

Can Excel read a scanned PDF invoice?

Microsoft's pages describe the PDF connector as returning the tables it finds in a PDF. A scan is a picture of a page, so it needs OCR, software that reads text from an image, before its numbers can be used.

What is invoice OCR?

Optical character recognition applied to invoices: software that reads the text and numbers off a scanned or photographed invoice. Check its output: a misread digit looks as convincing as a right one.

How do I check a converted invoice?

For each line, quantity times unit price should equal the line total. Then the line totals plus tax and freight should equal the invoice total. A line or total that doesn't agree points to a misread.

Sources

  1. Microsoft Support, Import data from data sources (Power Query): File, PDF and File, Folder · read December 1, 2026
  2. Microsoft Learn, Power Query PDF connector: Pdf.Tables and its options · read December 1, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.