invoice2data
github.com
What it is
invoice2data is a command-line tool and Python library that extracts structured information from PDF invoices for accounting workflows. It reads invoice text using selectable backends, including pdfium, pdftotext, pdfminer, pdfplumber, and OCR tools. YAML or JSON templates identify fields and can specify custom fields and multiple regular expressions for each one. The command-line tool can export extracted results as CSV, JSON, or XML and rename PDFs based on their contents. Optional plugins support invoice line items and tables, with Camelot available for advanced table parsing. Optional AI features can help draft templates or extract fields when template matching fails. AI does not run unless a provider is configured; the default mock provider has no network access. Listed providers include OpenAI, DeepSeek, Mistral, Gemini, and Ollama, which can run locally. Local OCR options include docTR and PaddleOCR. The project is free under the MIT License, with pip and conda installation routes. It runs on Linux, macOS, Windows, and self-hosted systems.
Spec sheet
- Purpose
- invoice2data is a command-line tool and Python library that extracts structured information from PDF invoices for accounting workflows.Read 4 Oct 2026 · github.com
- Security
- The repository's GitHub security page says no SECURITY.md policy is set up and no security advisories are published.Read 4 Oct 2026 · github.com
- 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.Read 4 Oct 2026 · github.com
- License
- The repository publishes invoice2data under the MIT License, which permits use, modification, distribution, sublicensing, and sale subject to its conditions.Read 4 Oct 2026 · github.com
- AI options
- Optional AI features can draft templates from sample documents or extract fields as a fallback when templates do not match.Read 4 Oct 2026 · invoice2data.readthedocs.io
- 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.Read 4 Oct 2026 · invoice2data.readthedocs.io
- Extraction
- It extracts PDF text through selectable backends including pdfium, pdftotext, pdfminer, pdfplumber, and OCR tools.Read 4 Oct 2026 · github.com
- Installation
- The docs provide pip and conda installation, and state the default pdfium path needs no system libraries on Windows, macOS, or Linux.Read 4 Oct 2026 · invoice2data.readthedocs.io
- Integration
- The project README lists an Odoo OCA module as a user of invoice2data.Read 4 Oct 2026 · github.com
- Known scope limit
- The README says canonical schemas for non-invoice documents such as waybills, delivery notes, and purchase orders are deferred.Read 4 Oct 2026 · github.com
- OCR privacy
- The installation guide describes docTR and PaddleOCR as local OCR backends that keep data on the user's machine.Read 4 Oct 2026 · invoice2data.readthedocs.io
- Outputs
- The command-line tool can write extracted results as CSV, JSON, or XML and can rename PDF files to match their contents.Read 4 Oct 2026 · github.com
- 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.Read 4 Oct 2026 · invoice2data.readthedocs.io
- Table extraction
- Optional plugins support matching invoice line items and tables, including an opt-in Camelot plugin for advanced table parsing.Read 4 Oct 2026 · github.com
- Templates
- It matches extracted text against YAML or JSON templates that can define custom fields and multiple regexes per field.Read 4 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Exports results as CSV, JSON, or XML.
- Templates can define custom fields and multiple regexes.
- Optional plugins support line-item and table extraction.
- AI stays inactive until a provider is configured.
- Free under the MIT License.
Limits
- Canonical schemas for non-invoice documents are deferred.
- No paid support plan is described.
- No SECURITY.md policy is set up.
Who it suits
invoice2data suits accounting workflows that need PDF invoice fields extracted into structured files. It is a fit for users comfortable with command-line tools, Python libraries, and configurable templates.
Verdict
invoice2data offers template-based extraction, multiple output formats, and optional OCR, table, and AI capabilities. Its stated scope centers on invoices, so users handling other document types should account for the deferred schemas.
Where Specifiction places it
- Invoice Processing Software#16 of 307.8
- Invoice OCR Software#14 of 258.1