Invoice PDFs into Excel for bookkeeping, checked against the total
By the getPDF team · Published 11 October 2026
The short answer
Drop the invoice PDF on the converter below and download the .xlsx: the line items arrive as rows, with quantities, unit prices and amounts as numbers you can sum. Then check it once: =SUM over the amount column must equal the net total printed on the invoice. Do that for the first invoice from each supplier, because layouts differ. Nothing is uploaded; it runs on your device.
Convert an invoice now
Try it here, nothing is uploaded
Keep “Excel (.xlsx)” as the format. For a 1-page invoice “One per page” and “All on one” give the same result; for a 3-page invoice “All on one” puts every line item on 1 sheet, with an empty row where a page ended.
What comes out: a real test invoice
We built an invented invoice from Studio Lumen GmbH in Graz to Jane Cooper in Linz: a letterhead, a block with invoice number, date and customer number, a table of 4 line items (the fourth with a description that wraps onto a second line), and a totals block with net, VAT 20 % and total due, all in European number style. The result card said “Put 17 rows into a spreadsheet, with 15 numbers as numbers you can add up”. With the table’s column lines drawn, the line-item part of the sheet looked like this:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 8 | Pos | Description | Qty | Unit price | Amount EUR |
| 9 | 01 | Logo design, 3 drafts | 1 | 850 | 850 |
| 10 | 02 | Business cards, 500 pieces | 2 | 64.5 | 129 |
| 11 | 03 | Letterhead template | 1 | 211 | 211 |
| 12 | 04 | Colour proofs on 2 paper | 1 | 96.5 | 96.5 |
| 13 | stocks, matte and gloss | ||||
| 14 | Net | 1286.5 | |||
| 15 | VAT 20 % | 257.3 | |||
| 16 | Total due | 1543.8 |
The invoice printed 1.286,50 and “EUR 1.543,80”; the sheet holds the numbers 1286.5 and 1543.8, and shows them in whatever format you give the column. The position numbers 01 to 04 stay text with their zero. The letterhead and the invoice number, date and customer number sit in rows 1 to 7, so nothing on the page is lost.
The same invoice without column lines converted with every amount right and in its row, but with 2 differences you should know about: the position number and the description shared column A (“01 Logo design, 3 drafts”), and the “Unit price” heading sat 1 column left of its prices. The cause was the invoice-number block above the table, whose text crosses the gaps between the table’s columns. The table on its own, without that block, came out in 5 clean columns. PDF to Excel wrong columns explains why, and the 2 formulas that split a shared cell.
Check it in 1 minute
- Click an empty cell and type
=SUM(E9:E12), the line amounts. On the test invoice it gives 1286.5. - Compare it with the Net row (
=E14). Equal means every line arrived with the right amount. - Check the tax:
=E14*0.2gives 257.3, the VAT row. Then=E14+E15gives 1543.8, the total due. - If a line has a quantity, check 1 product too:
=C10*D10must equal E10 (2 times 64.5 is 129).
If the sum is off, the difference is the size of the missing or misread amount, which points to the row. A wrapped description, like row 13, never breaks the sum: its amount stays in the row above.
The per-supplier routine
Invoices from the same supplier share a layout, so the work is front-loaded:
- First invoice from a supplier: convert it and run the full check above. Note which columns hold the amount, the VAT and the total, and whether descriptions wrap.
- Every invoice after that: convert, then compare only the sum with the printed net total. If the supplier changes its template, the sum stops matching and tells you.
- Many invoices at once: drop them together on the converter. You get 1 .xlsx per invoice, named after the PDF.
Building the bookkeeping sheet
Keep 1 sheet for all invoices, with 1 row per invoice (or per line item if you track costs by item):
| Supplier | Invoice no. | Date | Net | VAT | Gross | Source file |
|---|---|---|---|---|---|---|
| Studio Lumen GmbH | 2026-0412 | 09.10.2026 | 1286.5 | 257.3 | 1543.8 | invoice-2026-0412.pdf |
Copy the numbers from each converted file with Paste Special, Values, so the sheet does not keep links to other files. Put the invoice number in a column formatted as Text before you paste, so a number like 000815 keeps its zeros. Add a check column with =D2+E2-F2; it must be 0 on every row.
Dates come over as text, exactly as printed. To sort by date, a formula turns 09.10.2026 into a real date: =DATE(RIGHT(C2,4),MID(C2,4,2),LEFT(C2,2)). More on that in PDF to Excel number formats.
When the sheet has to go into accounting software as CSV, the next steps are in PDF to CSV for accounting.
If the invoice is a ZUGFeRD e-invoice
A ZUGFeRD invoice is a normal PDF with the invoice data embedded as XML: every amount, the VAT and the invoice number as fields, written by the supplier’s software. That data is exact, and converting the printed page is a reconstruction of it. Drop the PDF on Inspect to find out: a ZUGFeRD shows “Has 1 attached file” with a name such as factur-x.xml.
Inspect PDFFonts, images, metadata, why it is big. Free, runs on your device.getPDF does not read that XML for you yet. Accounting software that supports ZUGFeRD imports it directly, which beats any conversion. If yours does not, converting the page as above still works, and the sum check still applies. What ZUGFeRD and XRechnung are, and the German deadlines, are in E-invoices and business PDFs.
The honest part
The converter works out columns from where the text sits. A plain invoice with a clear line-item table converts well; one with lines drawn between the columns converts best. Designed invoices with coloured boxes, 2 tables side by side or amounts placed beside the descriptions need a closer look, and the result card warns about merged cells every time. The converter does not know which number is the total: you tell Excel that with your formulas.
A photographed or scanned invoice has no text, only pixels, and the converter stops with a pointer to OCR. Run OCR PDF first, then convert; amounts come through, but read the sum check twice, because OCR can misread a digit (Scanned PDF to searchable has the details).
And if your supplier offers a CSV export or an e-invoice, that file beats a conversion, ours included. The neighbouring job, statements instead of invoices, is in Bank statement to Excel.
Questions
Will the invoice amounts be numbers in Excel?
Yes. 1.286,50, 1,286.50, EUR 1.543,80 and (12.50) all arrive as numbers. On our test invoice all 15 amounts, quantities and totals were numbers, and the line items summed to the printed net total to the cent.
Why are the invoice number and the date text?
On purpose. 2026-0412 is an ID, not a sum, and 09.10.2026 could be read as 10 September by an Excel set to US English. Keeping them as written means they never change. Position numbers such as 01 keep their zero for the same reason.
My supplier sends ZUGFeRD invoices. Should I still convert them?
You can, but the invoice data is already inside the PDF as XML, entered by the supplier's software, so it is the exact source. Inspect shows whether a PDF carries it (an attached file such as factur-x.xml). Reading that XML on your device is not available in getPDF yet; accounting software reads it directly.
Is the invoice uploaded?
No. The PDF is read and the spreadsheet is written in your browser tab. Use the converter once, turn Wi-Fi off and convert the next invoice: it still works.
Can I convert 30 invoices at once?
Yes. Drop them together and you get 1 spreadsheet per invoice. Copy the rows you need into your bookkeeping sheet, with a column naming the source file.
The tools for this job
Keep reading
- Bank statement to Excel, without uploading it anywhereTurn a bank statement PDF into an Excel sheet without uploading it anywhere: steps, amount checks, and what to do when the statement is a scanned image.
- PDF to CSV your accounting software actually importsTurn a PDF statement or invoice into a CSV your accounting software imports: convert on your device, tidy the rows, save as CSV UTF-8, check in a text editor.
- PDF to Excel puts text in the wrong columns: why, and the fixesPDF to Excel put everything in 1 column, or 2 columns in 1 cell? How converters find columns, the 4 layouts that defeat them, and a fix for each.
- E-invoices and business PDFs: what small businesses must knowE-invoices become mandatory in Germany from 2027.
- Make a scanned PDF searchable, without changing how it looksOCR a scanned PDF on your device: free, no account, nothing is uploaded.
- Amounts and dates come out wrong in Excel: decimal commas and localesAmounts like 1.234,56 turn into text and 03/04 into the wrong date when Excel reads them in another locale.
- PDF to Word, Excel and text: what converts, what breaks, and how to pickConvert PDF to Word, Excel, plain text, Markdown or CSV free in your browser.