We’ve all wasted hours squinting at crumpled receipts and battling spreadsheets. With the AI Receipts Processor, manual expense tracking becomes obsolete. This app transforms piles of receipts into organized reports with AI-powered precision.
- Scan and store expense data from receipts sent via images
- Data can be grouped according to user by using channels or threads
- Create comprehensive reports segmented by categories and time periods
- Support custom LLM selection
- Detect and block malicious prompt injection
- Have a Rocket.Chat server ready. If you don't have a server, see this guide.
- Install the Rocket.Chat Apps Engine CLI:
- Clone the GitHub Repository:
- Install app dependencies:
- Deploy the app to the Rocket.Chat server:
- If you are running the server locally, the default
server_url
ishttp://localhost:3000
. username
is the username of your admin user.password
is the password of your admin user.- Open the App Settings by navigating to
Administration > Marketplace > Private Apps
. You should see the app listed there. Click on the app name to open it, then go to Settings and add your LLM provider configuration.
npm install -g @rocket.chat/apps-cli
Verify if the CLI has been installed:
rc-apps -v
git clone https://github.com/RocketChat/Apps.Receipts.Processor.git
cd Apps.Receipts.Processor/app yarn install
cd app rc-apps deploy --url <server_url> --username <username> --password <password>
or
make deploy url=<URL> username=<USERNAME> password=<PASSWORD>
/receipt list
: Display all your receipt records./receipt room
: Display your receipt records specific to the current room or channel./receipt date YYYY-MM-DD
: Display your receipt records for a specific date./receipt date from YYYY-MM-DD to YYYY-MM-DD
: Display your receipt records within a specified date range./receipt spending_report
: Generate a spending report for all receipts in the current room./receipt spending_report category <category>
: Generate a spending report for a specific category./receipt help
: Show all available receipt commands.
You can now simply type what you want in plain English — no need to remember exact commands by tagging the bot, Here are some examples:
- View receipts
- "@receipt-bot, Show me my receipts"
- "@receipt-bot, List all receipts in this room"
- "@receipt-bot, Display receipts from yesterday"
- "@receipt-bot, Show receipts from 2024-07-01 to 2024-07-31"
- Thread-specific
- "@receipt-bot, Show receipts in this thread"
- "@receipt-bot, List my receipts in this thread"
- Reports
- "@receipt-bot, Generate a spending report for last month"
- "@receipt-bot, Create a report for groceries from 2024-07-01 to 2024-07-31"
- "@receipt-bot, Show my total spending for July"
- Channel management
- "@receipt-bot, Add this channel"
- "@receipt-bot, Register this room for receipt tracking"
- Help
- "@receipt-bot, Help"
- "@receipt-bot, What can you do?"
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/AmazingFeature
) - Commit your Changes (
git commit -m 'feat: adds some amazing feature'
) - Push to the Branch (
git push origin feat/AmazingFeature
) - Open a Pull Request