4 guides on extracting tables, invoices and bank statements with runnable Python: open source tools first, then one API call at $0.02 a page, 50 pages free, with 7 presets to choose from.
Guides to extracting data from PDFs, invoices and statements
This section has 4 guides: Python on a real sample file first, then the same file sent to the API, which takes up to 250 pages a job. Each guide shows where pdfplumber or camelot stops working.
Updated
Recently updated
- Extract invoice data with Python
- Extract tables from a PDF in Python
- Parse bank statements in Python
- Track receipts in Excel
$0.02 a page, 50 pages free.
Every guide
Each guide and what it shows.
| Guide | What it shows |
|---|---|
| Extract invoice data with Python | Text layer or Tesseract OCR, then a local LLM fills a JSON schema, then Python checks every total before it reaches your books. |
| Extract tables from a PDF in Python | pdfplumber and camelot on a 2-page price list with no ruling lines, merged cells and a scan, then the same file through the API. |
| Parse bank statements in Python | pdfplumber by word position on a 3-page statement: rows that cross a page, DR and CR amounts, and a running-balance check in code. |
| Track receipts in Excel | A free 3-sheet Excel receipt tracker with month and category totals, plus a Python script that adds rows from receipt photos. |
How the guides are written
Each guide starts with open source tools you can run on your machine, such as pdfplumber, camelot or an OCR engine with an LLM. You get the full script, the sample file and the output it produced, so you see exactly what the script gets right and what it gets wrong.
Then the same script meets harder files: phone photos, rotated scans, tables that run across pages and merged cells. You see where the text order breaks and columns shift. The guide ends with the same job as one call to POST /v1/parse, and the JSON that came back.
Check the numbers you extract
Text is only half the job with financial documents. OCR can misread a digit, and an LLM can invent a number or drop a row at a page break. If the script writes straight to a spreadsheet, someone finds the bad row by hand at month end.
The invoice, receipt and statement guides show how to check the arithmetic in code. parserkit does the same on every call: line totals, tax lines and the grand total on invoices and receipts, and the opening balance plus credits minus debits on statements, with a status that says verified, partial, unverified or discrepancy.
Where scripts stop, and the one call that doesn't
A script fits the file it was written for. The next bank prints Withdrawals where the last one printed DEBIT, the next supplier sends a scan with no text layer, a table runs onto a second page, and the script stops with an exception or quietly writes a wrong row. Every new layout is more code to write and test.
parserkit replaces that code with one call to POST /v1/parse: typed fields and tables from 7 presets, the sums checked on invoices, receipts, purchase orders and statements, and JSON, Excel and CSV files, plus QuickBooks and Xero CSVs for invoices, receipts and statements. The first 50 pages are free with no card, then it is $0.02 a page, and $0.01 past 5,000 pages in a month. A job takes up to 250 pages, or a ZIP of up to 200 files, and failed jobs cost nothing.
FAQ
Common questions
Can I run the code without a parserkit account?
Yes. The open source parts run on your machine with no account. The API section at the end needs a key, and the first 50 pages are free when you sign up with Google, with no card.
Which documents get math checks?
Invoices, receipts, purchase orders and bank statements. IBAN and ABA routing numbers and EU VAT numbers get checksums. Resumes, bills of lading and generic tables come back as typed data with no arithmetic checks.
What files can I send to the API?
PDFs, images, DOCX, XLSX, CSV, emails and ZIP files: up to 250 pages a job, 25 MB per upload, or 100 MB through a file URL. Uploaded files are kept for 7 days, or 90 on Pro.
What does it cost to replace a script with the API?
$0.02 a page, and $0.01 past 5,000 pages in a month, with top-ups from $10 and credit that never expires. Pro is $29 a month with 1,500 pages included, plus email inboxes and Google Sheets append.
Sources, checked
Start free
Send us your worst scan
Your first $1 is free: 50 pages with every check and export, no card.
