Compare your budget with actual spending
Budget against actual for each account, the largest differences first, with the transactions behind them.
- On a schedule: On the 5th of each month at 9:00
What it does
The task
Open the Profit and Loss report in Xero for last month. Compare each account with the budget in the Google Sheet budget sheet, and calculate the difference in money and in percent. For each difference above threshold, list the 3 largest transactions behind it. Write the table to a new tab with the name of the month. Send me the 5 largest differences with one line each.
- It works in Xero and Google Sheets, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- As a routine it runs on the 5th of each month at 9:00 (cron
0 9 5 * *).
What you give it
| Blank | What to give | Example |
|---|---|---|
| budget sheet | The Google Sheet with your monthly budget | https://docs.google.com/spreadsheets/d/1Budget2026 |
| threshold | The smallest difference to explain | 1,000 EUR |
What you get back
An example run with the example values above. Your run uses your own data.
October 2026: spend 84,320 EUR against a budget of 78,500 EUR (+7.4%)
| Account | Budget | Actual | Difference |
|---|---|---|---|
| Software | 6,000 | 9,140 | +3,140 (+52%): annual Figma renewal 2,880, Datadog 1,410 |
| Travel | 4,500 | 7,230 | +2,730 (+61%): team offsite 4,100, Lisbon client visit 1,487 |
| Contractors | 18,000 | 20,400 | +2,400 (+13%): extra QA hours from Pixelgrove |
| Marketing | 12,000 | 9,350 | -2,650 (-22%): trade fair moved to December |
| Rent | 9,800 | 9,800 | 0 |
Saved to the tab "2026-10".
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 2 blanks
Type budget sheet and threshold. Tab moves to the next blank.
- 03
Run it, then repeat it
Run sends it once. To run it on the 5th of each month at 9:00, make a routine on cuiar.com/routines or with the CLI below.
As a routine, from the terminal
cuiar routines create "Compare your budget with actual spending" --schedule "0 9 5 * *" --time-zone Europe/Berlin \
"Open the Profit and Loss report in Xero for last month. Compare each account with the budget in the Google Sheet https://docs.google.com/spreadsheets/d/1Budget2026, and calculate the difference in money and in percent. For each difference above 1,000 EUR, list the 3 largest transactions behind it. Write the table to a new tab with the name of the month. Send me the 5 largest differences with one line each."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 create_routine 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 create_routine to run my "Compare your budget with actual spending" template with budget sheet = https://docs.google.com/spreadsheets/d/1Budget2026; threshold = 1,000 EUR.Setup for other agents: AI agents.
The tool call
{
"name": "create_routine",
"arguments": {
"name": "Compare your budget with actual spending",
"task": "Open the Profit and Loss report in Xero for last month. Compare each account with the budget in the Google Sheet https://docs.google.com/spreadsheets/d/1Budget2026, and calculate the difference in money and in percent. For each difference above 1,000 EUR, list the 3 largest transactions behind it. Write the table to a new tab with the name of the month. Send me the 5 largest differences with one line each.",
"schedule": "0 9 5 * *",
"time_zone": "Europe/Berlin"
}
}Related templates
All finance templatesFinanceAsks first
Create client invoices from your tracked hours
One draft invoice per client from your hours sheet, with rates and dates, sent after you approve it.
On a schedule: On the 1st of each month at 10:00- Google Sheets
- Xero
Finance
Prepare the figures for your VAT return
Sales and input VAT by rate for the period, checked against your sales platforms, with the box values.
You start it: When you start it- Xero
- Shopify
- Stripe
- +1 more: Google Sheets
Finance
Build a 13-week cash flow forecast
Weekly cash in and out from your bank, open invoices and bills, with the weeks below your minimum marked.
You start it: When you start it- Any bank site
- Xero
- Google Sheets
Finance
Check supplier invoices against purchase orders
Each invoice matched to its PO and delivery note, with price, quantity and duplicate problems marked.
You start it: When you start it- Google Drive
- Google Sheets
- Xero
FinanceAsks first
Pay approved supplier bills from your bank
A payment for each bill due this week, checked against your records, sent only after you approve it.
On a schedule: Every Thursday at 10:00- Xero
- Any bank site
Finance
Check payroll changes before it runs
Each change against last month, with new staff, leavers, pay changes and bonuses, and the ones not approved.
On a schedule: On the 20th of each month at 9:00- Any admin panel
- Google Sheets