- Home
- Invoice OCR Software
- invoice2data
invoice2data
What it is
invoice2data is a free, open-source command-line tool and Python library that extracts structured information from PDF invoices for accounting workflows. It reads invoice text through selectable backends such as pdfium, pdftotext, pdfminer, pdfplumber, and OCR tools, then compares that text with YAML or JSON templates. Templates can specify custom fields and multiple regular expressions for each field. The command-line tool can save results as CSV, JSON, or XML, and rename PDF files based on their contents. Optional plugins support invoice line-item and table matching, including an opt-in Camelot plugin for advanced table parsing. Optional AI features can draft templates from sample documents or extract fields when template matching fails. AI does not run unless a provider is configured; the default mock provider has no network access. The listed AI providers include OpenAI, DeepSeek, Mistral, Gemini, and Ollama, which can run locally. Local OCR options include docTR and PaddleOCR. Installation is available through pip and conda, and the default pdfium route needs no system libraries on Windows, macOS, or Linux. The MIT License permits use, modification, distribution, sublicensing, and sale subject to its conditions.
For and against
For
- Exports extracted data as CSV, JSON, or XML
- Optional plugins support invoice line items and tables
- AI is inactive unless a provider is configured
- Local OCR options keep processing on the machine
Against
- Canonical schemas for non-invoice documents are deferred
- No paid support plan is described
- No SECURITY.md policy or published advisories
The verdict
invoice2data offers template-based invoice extraction with optional table, OCR, and AI paths. Its documented scope centers on invoices, and its repository does not describe a paid support plan.
Who it suits
invoice2data suits accounting workflows that need structured data extracted from PDF invoices. It also fits developers who want a Python library or command-line workflow with configurable templates.
Plans and prices
invoice2data
No paid tiers or usage limits stated on the pages reviewed
Read 4 Oct 2026 · github.com
On the record
- AI options
- Optional AI features can draft templates from sample documents or extract fields as a fallback when templates do not match.invoice2data.readthedocs.io · read 4 Oct 2026
- AI providers
- The opt-in AI layer lists OpenAI, DeepSeek, Mistral, Gemini, and Ollama providers; Ollama can run locally without sending data off the machine.invoice2data.readthedocs.io · read 4 Oct 2026
- Extraction
- It extracts PDF text through selectable backends including pdfium, pdftotext, pdfminer, pdfplumber, and OCR tools.github.com · read 4 Oct 2026
- Installation
- The docs provide pip and conda installation, and state the default pdfium path needs no system libraries on Windows, macOS, or Linux.invoice2data.readthedocs.io · read 4 Oct 2026
- Integration
- The project README lists an Odoo OCA module as a user of invoice2data.github.com · read 4 Oct 2026
- Known scope limit
- The README says canonical schemas for non-invoice documents such as waybills, delivery notes, and purchase orders are deferred.github.com · read 4 Oct 2026
- License
- The repository publishes invoice2data under the MIT License, which permits use, modification, distribution, sublicensing, and sale subject to its conditions.github.com · read 4 Oct 2026
- OCR privacy
- The installation guide describes docTR and PaddleOCR as local OCR backends that keep data on the user's machine.invoice2data.readthedocs.io · read 4 Oct 2026
- Outputs
- The command-line tool can write extracted results as CSV, JSON, or XML and can rename PDF files to match their contents.github.com · read 4 Oct 2026
- Privacy behavior
- The default AI provider is a mock with no network access, and the docs say no AI runs unless a provider is configured.invoice2data.readthedocs.io · read 4 Oct 2026
- Purpose
- invoice2data is a command-line tool and Python library that extracts structured information from PDF invoices for accounting workflows.github.com · read 4 Oct 2026
- Security
- The repository's GitHub security page says no SECURITY.md policy is set up and no security advisories are published.github.com · read 4 Oct 2026
- Support
- The repository invites issues and pull requests, and links to a contributor guide; it does not describe a paid support plan on the pages reviewed.github.com · read 4 Oct 2026
- Table extraction
- Optional plugins support matching invoice line items and tables, including an opt-in Camelot plugin for advanced table parsing.github.com · read 4 Oct 2026
- Templates
- It matches extracted text against YAML or JSON templates that can define custom fields and multiple regexes per field.github.com · read 4 Oct 2026