Use “Every budget at once” in Recued. All your budgets for a period, each counting everything under its tag — in four queries, however many budgets you have.
Every budget at once
Use “Every budget at once” in Recued. All your budgets for a period, each counting everything under its tag — in four queries, however many budgets you have.
Complete workflow
Use Ledger book in Recued for accounting, double entry, budget, and records. It includes 44 built-in actions and 17 ready-to-run workflows. Actions that change data use Recued's approval controls.
You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.
Use “Records runtime” in Recued. It helps you complete this workflow using the connections and settings you choose.
Use “The accounts” in Recued. Every account with its id — what you post to, and what anything else in this workflow needs before it can name one.
Use “One account” in Recued. Everything the book holds about one account, opened from the Accounts list.
Use “The tags” in Recued. Every tag with its id and how deep it sits — the trees you can spend against, and the ids the rest of the pack takes.
Use “What it all comes to” in Recued. Each currency's balance read exactly, then converted at rates you give and added up.
Show all 18 recipes
Use “How a budget is doing” in Recued. What a budget has left, counting everything under its tag at any depth.
Use “What went under a tag” in Recued. Everything spent under one tag, including every tag beneath it, at any depth.
Use “The lines under a tag” in Recued. Every transaction line under a tag and everything beneath it — the lines themselves, not a total. With a CSV to copy.
Use “Open an account” in Recued. Adds an account to your chart. Its currency is fixed here and every line posted to it inherits it.
Use “Post an entry” in Recued. One entry, any number of legs, written in a single all-or-nothing transaction. It will not post unless the legs sum to zero.
Use “Add a tag” in Recued. Adds a tag anywhere in your tree, at any depth. The tag and its place in the tree are written together or not at all.
Use “Tag a month of lines” in Recued. One tree at a time: every line in a period on one page, with a picker in the tag cell.
Use “Tag a transaction line” in Recued. Sets which tags a line belongs to, one per tree. Each tag and every tag above it counts the full amount.
Use “Set a budget” in Recued. A cap on a tag for one period. It counts everything under that tag, at any depth.
Use “Move a tag” in Recued. Puts a tag inside a different one. Everything recorded under it follows automatically — no transaction is rewritten.
Use “Delete a tag” in Recued. Removes a tag and everything beneath it. Refuses while anything is still tagged with it.
Use “One budget” in Recued. Open one budget from the list that names it, and read everything recorded about that budget on one page.
Four queries, however many budgets
Budgets, then the tag tree beneath all of them at once, then the spend per tag, then one grouped fold. It does not grow with the number of budgets, and there is no per-budget loop anywhere.
⛔ Each budget still counts its whole subtree. The fold groups the ancestry rows by the budget's own tag, so a budget on home picks up home/kitchen and everything under it, exactly as budget-status does for one.
⛔ The spend is summed in whole units, not decimals. Every figure is multiplied out before the fold and divided back at the end — otherwise adding a column of 0.10s across a subtree drifts, and a budget lands the wrong side of its cap by a fraction of a penny.
What is on the page is what is counted
⛔ One currency at a time. Budgets are filtered to it and so is the spend. Adding pounds to dollars on a page of caps would give a row that looks exactly like every other row.
⛔ A budget scoped to a single account is LEFT OUT, and the count of them is shown. The grouped read is not split by account, so including them would put a whole-tag figure against an account-scoped cap — a number that is wrong in the direction of looking fine. Run budget-status on those individually; it honours the account.
⚠ Lines is tag lines, not transactions. A transaction tagged under two tags beneath one budget contributes two lines and one amount — the money is split between them so the total is right, but the count is of lines. budget-status reports distinct transactions for a single budget.
Limits
⛔ At most 100 budgets and 100 tags beneath them in total. Past either it refuses rather than showing a page that silently omits rows — a dashboard that is quietly short is worse than one that says it cannot answer.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
period
setting
=
[object Object]
currency
setting
=
GBP
Uses (3 operations)
recued-core.ledger-book.budget.search
recued-core.ledger-book.tag_closure.search
recued-core.ledger-book.leg_tag.spend_by_tag
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.