Built a Python agent that reads PDF invoices and exports client data to Excel — automatically.
It uses the Claude API with Tool Use: Claude decides which tools to call, reads the PDFs, extracts the data, and builds the spreadsheet without any manual steps.
🔗 Full source code: https://github.com/hasff/claude-invoice-agent
🔗 Medium: https://medium.com/@hugoferro_70600/how-i-built-an-ai-agent-that-reads-pdf-invoices-and-exports-to-excel-automatically-ee0aefccc106
──────────────────────────
What's inside:
- Claude API integration (messages, tools, stop reasons)
- Agentic loop — Claude acts until the task is done
- PDF text extraction with PyMuPDF
- Excel output with openpyxl
──────────────────────────
📩 Need something built? hugoferro.business(at)gmail.com
🌐 https://hasff.github.io/site/
Download
0 formats
No download links available.
I built an AI Invoice Extractor with Python ( Claude API + Tool Use) | NatokHD