Ai Expense Claim
AI-powered expense claim processing for Frappe/ERPNext. Automatically extracts expense details from receipts and bills using OpenAI
- Author: manavmandli
- Repository: https://github.com/manavmandli/ai_expense_claim
- GitHub stars: 3
- Forks: 4
- License: MIT
- Category: Developer Tools
- Maintenance: Actively Maintained
- Frappe versions: v16
Install Ai Expense Claim
bench get-app https://github.com/manavmandli/ai_expense_claim
Add the Frappe Gems badge to your README
Maintain Ai Expense Claim? Paste this into your README:
[](https://frappegems.com/gems/apps/manavmandli/ai_expense_claim)
About Ai Expense Claim
AI Expense Claim
AI-powered expense claim processing for Frappe/ERPNext. Automatically extracts expense details from receipts and bills using OpenAI.
Demo Video
https://github.com/user-attachments/assets/e6fe0cf7-9f9a-45c9-836d-a50048c627b1
Features
- 🤖 AI-Powered Extraction - Automatically extract date, amount, category, and description from bills
- 📸 Multi-Format Support - PDF, JPG, PNG, WEBP
- 🔄 Batch Processing - Upload and process multiple receipts at once
- 🎯 Smart Grouping - Automatically groups expenses by type and merges attachments
- ✅ Quality Control - Confidence scoring rejects low-quality images
- 🔒 Secure - API keys encrypted in database
Quick Start
Installation
bench get-app https://github.com/yourusername/ai_expense_claim
bench --site your-site install-app ai_expense_claim
Configuration
- Go to AI Expense Settings
- Add your OpenAI API Key
- Select model (default: gpt-4o)
Usage
- Open an Expense Claim
- Click → Upload & Process AI Based Bills
- Upload receipts (drag & drop or click)
- Click Process with AI
- Review and apply extracted expenses
How It Works
- Upload - Drop receipt images or PDFs
- Process - AI extracts expense details in parallel
- Group - Same expense types are automatically grouped
- Merge - Multiple receipts merged into single PDF per group
- Review - Check and edit before applying to expense claim
- Apply - Selected expenses added to your claim
Supported Categories
Food • Travel • Accommodation • Fuel • Medical • Communication • Other
API Methods
prepare_grouped_expenses- Process and group bills (main method)process_bills- Extract data from individual filesmerge_files_for_group- Merge multiple receipts into PDFlink_files_to_claim- Attach files to expense claim
License
MIT
Related Developer Tools apps for Frappe & ERPNext
- Frappe — Low code web framework for real world applications, in Python and Javascript
- Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
- Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
- Bench — CLI to manage Multi-tenant deployments for Frappe apps
- Frappe Ui — A set of components and utilities for rapid UI development
- Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
- Gameplan — Open Source Discussions Platform for Remote Teams
- Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.