Create an expense report from your trip receipts
Each receipt read and entered with its category and currency, in a report that you check before it goes.
- You start it: When you start it
- Asks you first
What it does
The task
Find the receipts for my trip trip from start date to end date in my Gmail and in the Google Drive folder folder. Read the date, the vendor, the amount, the currency and the category of each receipt. Create a new report in Expensify with the name of the trip, and add one expense for each receipt with the image attached. Mark the receipts that are above the policy limits or outside the trip dates. Ask me before you submit the report.
- It works in Expensify, Gmail and Google Drive, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- It runs once, when you start it.
- It stops for your approval before it sends, posts, pays, books or changes a record.
What you give it
| Blank | What to give | Example |
|---|---|---|
| trip | A short name for the trip | Client visit Lisbon |
| start date | The first day of the trip | 13 Oct 2026 |
| end date | The last day of the trip | 16 Oct 2026 |
| folder | The Google Drive folder with photos of paper receipts | Receipts/Lisbon |
What you get back
An example run with the example values above. Your run uses your own data.
Report: Client visit Lisbon, 13 to 16 Oct, 11 expenses, 1,486.70 EUR
| Date | Vendor | Category | Amount |
|---|---|---|---|
| 13 Oct | Atlantica Air | Airfare | 412.80 EUR |
| 13 Oct | Hotel Miradouro | Lodging, 3 nights | 627.00 EUR |
| 14 Oct | Taberna do Largo | Meals: client | 146.50 EUR (above the limit of 60 EUR per person for 2 people) |
| 15 Oct | CityRide | Taxi | 18.40 EUR |
... 6 more
| 17 Oct | Airport parking | Parking | 54.00 EUR (one day after the trip) |
|---|
Waiting for your approval to submit.
Run it in Cuiar
- 01
Open it
Click Use in Cuiar on this page. The side panel opens with the task in the composer.
- 02
Fill in 4 blanks
Type trip, start date, end date and folder. Tab moves to the next blank.
- 03
Run it
Run sends it to the agent. Follow each step in the panel, and stop it at any time.
From the terminal
cuiar exec "Find the receipts for my trip Client visit Lisbon from 13 Oct 2026 to 16 Oct 2026 in my Gmail and in the Google Drive folder Receipts/Lisbon. Read the date, the vendor, the amount, the currency and the category of each receipt. Create a new report in Expensify with the name of the trip, and add one expense for each receipt with the image attached. Mark the receipts that are above the policy limits or outside the trip dates. Ask me before you submit the report."Run it from your AI agent
Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call run_task yourself.
1. Add Cuiar to Claude Code
claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp2. Ask your agent
Use the Cuiar tool run_task to run my "Create an expense report from your trip receipts" template with trip = Client visit Lisbon; start date = 13 Oct 2026; end date = 16 Oct 2026; folder = Receipts/Lisbon.Setup for other agents: AI agents.
The tool call
{
"name": "run_task",
"arguments": {
"task": "Find the receipts for my trip Client visit Lisbon from 13 Oct 2026 to 16 Oct 2026 in my Gmail and in the Google Drive folder Receipts/Lisbon. Read the date, the vendor, the amount, the currency and the category of each receipt. Create a new report in Expensify with the name of the trip, and add one expense for each receipt with the image attached. Mark the receipts that are above the policy limits or outside the trip dates. Ask me before you submit the report."
}
}Related templates
All finance templatesFinance
Find card payments that have no receipt
Each card payment matched to a receipt from your inbox or folder, with the missing ones listed first.
You start it: When you start it- Any bank site
- Gmail
- Google Drive
- +1 more: Google Sheets
FinanceAsks first
Collect W-9 forms from your contractors
The contractors with no W-9 on file, a request to each one, and the forms saved when they arrive.
You start it: When you start it- QuickBooks
- Gmail
- Google Drive
PersonalAsks first
Start a warranty claim for a broken product
The receipt, the warranty terms and the maker's claim form filled in. You check it before it goes.
You start it: When you start it- Gmail
- Google Drive
- Any web form
Ops
Collect last month's invoices
The vault signs in to each account. All PDFs go to one folder.
On a schedule: On the 1st of each month at 9:00- Gmail
- Google Drive
FinanceAsks first
Answer a Stripe dispute with evidence
The order, the delivery proof and your messages for the disputed payment, with a draft answer.
You start it: When you start it- Stripe
- Shopify
- Gmail
- +1 more: Any carrier site
Finance
Collect your tax documents for your accountant
Every tax form from your bank, broker and payroll sites in one folder, with a list of what is still missing.
You start it: When you start it- Any bank site
- Any government site
- Google Drive