How to Extract Data from PDF Invoices into Excel (Without Retyping)
Pull invoice numbers, dates, totals and line items from PDF invoices: automatic finding, zone templates for difficult suppliers, batches and checks.
&c=%234338ca&k=from-pdf)
How to Extract Data from PDF Invoices into Excel
Every month, small businesses and bookkeepers receive dozens of supplier invoices as PDFs, each laid out differently. The same handful of values has to be typed into a spreadsheet or accounting system: invoice number, dates, net, tax, total. This guide explains how to automate that with the Invoice Data Extractor, and how to deal with suppliers whose layouts are awkward.
The core invoice fields
Invoice standards, such as the European EN 16931, define the data every invoice should carry. The extractor looks for the ones that matter for bookkeeping:
- invoice number;
- invoice date and due date;
- supplier name;
- net amount (subtotal), tax and total;
- currency;
- line items with description, quantity, unit price and amount.
How automatic finding works
Most invoices label their values: "Invoice No.", "Date", "Due date", "Subtotal", "VAT 20%", "Total due". The extractor reads the text of the first pages, finds these labels and takes the value next to them. It skips subtotal lines when looking for the total and converts dates to a single format. For scanned invoices, the text comes from OCR.
Zones for difficult layouts
Some invoices put values in boxes far from their labels, inside tables or in unusual wording. For those suppliers, open one of their invoices, choose the Field zone tool, draw a box over the value, and choose which field it is. A zone always wins over automatic finding. Use "Other" with a column name for extra data you want, such as a purchase order number.
Save the zones as a preset named after the supplier. Next month, choose that preset and the zones apply to all of the supplier's invoices.
Batches
Load all invoices at once. Each becomes a row with the file name, so you can trace every value back. Line items go to a second table linked by invoice number. Excel output puts invoices and lines on separate sheets.
Checking before posting
Automatic extraction saves time but does not replace checks:
- Does net plus tax equal the total?
- Are invoice numbers unique per supplier?
- Do due dates make sense?
- Are any totals missing?
Sorting the table by supplier and invoice number makes duplicates obvious.
E-invoices
If suppliers can send structured electronic invoices in XML, ask for them: they contain exact data and need no extraction. Many countries are moving to mandatory e-invoicing for business transactions.
Example
Thirty-seven invoices from nine suppliers are loaded. Thirty-four are read fully automatically. For one supplier, a Total zone and an Invoice number zone are drawn once and saved as a preset. All 37 invoices and 212 line items go to Excel in a few minutes.
Line items
Item tables vary more than headers. The extractor collects lines that end with a quantity, a unit price and an amount, which covers most simple product and service invoices. Invoices with item codes, discounts per line or multi-line descriptions may need tidying in the spreadsheet. If you only need totals for bookkeeping, untick line items for a cleaner result.
Importing into accounting software
Most accounting packages import bills from CSV with a fixed set of columns. Rename the columns in Excel to match your software's template, keep the date format it expects, and import a small test batch first.
Scanned and photographed invoices
Paper invoices are read with OCR. Scan them at 300 dpi, straight and flat, for the best accuracy, and check numbers carefully, because OCR can misread similar digits such as 3 and 8.
Privacy
Invoices contain commercial information and sometimes bank details. Extraction runs in your browser; nothing is uploaded. The tool reads documents and does not give accounting or tax advice.


&c=%23b45309&k=from-pdf)
