- Home
- Skills
- Finance & Accounting
- Invoice PDF Extractor
Works with the AI Agents you already use
Invoice PDF Extractor
by Monil Patel
Extract data from text-based invoice PDFs into JSON and Excel using a local Ollama model, with date and total checks.
$2
Invoice PDF Extractor
Example session with this skill installed
Process the invoices in ./sample_data and save the results to ./output. Use the llama3.2:3b model.
- Read your context and instructions
- Compiled the invoice pdf extractor
I ran the bundled script directly from the command line on 3 fake sample invoices. All 3 were marked OK.
| File | Vendor | Invoice no. | Date | Tax | Total | Status |
|---|---|---|---|---|---|---|
| invoice_001.pdf | Sunrise Stationers | SS-1001 | 2026-10-05 | 333 | 2183 | OK |
| invoice_002.pdf | Blue Hill Computers | BHC-2045 | 2026-10-18 | 810 | 5310 | OK |
| invoice_003.pdf | Green Leaf Caterers | GLC-0312 | 2026-11-02 | 1008 | 6608 | OK |
Files created
- output/invoices.json
- output/invoices.xlsx (sheets: Invoices, Line Items)
Next steps: compare important values with the original PDFs. OK means the checks passed, not that every value is guaranteed correct.
Connects securely to your tools. The creator never sees your data.
About this skill
Turns a folder of text-based invoice PDFs into JSON and Excel.
What it does
- Extracts vendor, invoice number, date, line items, tax and total
- Checks dates and whether line items plus tax match the total
- Asks the model to correct failed checks, up to 3 attempts in total
- Marks results as OK, Needs review or Failed
How it works
Your agent runs a bundled Python script. It reads PDFs with pdfplumber and sends the text to Ollama on the same computer.
Privacy
The script sends invoice text only to local Ollama. If your AI agent reads the invoices or output files, that content may go to its model provider.
Known limitations
- No OCR for scanned PDFs or photos
- Subfolders are not processed
- The model can make mistakes, even on results marked OK
- Discounts or extra charges may cause Needs review
- Very long documents may not fit
- Numeric dates are read as day/month/year
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
python 3.10+Ollamallama3.2:3b model
Permissions
File Scopes
Reads invoice PDFs and writes reports. Connects to Ollama on localhost; internet is needed for setup. Optionally reads OLLAMA_MODEL.
What's inside
Frequently Asked Questions
New in Finance & Accounting
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.