Skip to main content

07 · Budget

“Forecast uses the agreed price when available, otherwise the estimate. Payments never double-count.”

Structure

Categories → items → payments. Deleting a category deletes its items and their payments (“All items and payments in this category will be deleted.”). Deleting an item deletes its payments.

Category

Field Notes
Category name * e.g. “Photography”
Allowance (£) how much you’ve set aside
Notes
Order POST /api/budget/categories/reorder

Item

Field Notes
Category
Item name * e.g. “Wedding dress”
Estimate (£) “Used until an agreed price exists”
Agreed price (£) “Takes precedence for the forecast”
Linked supplier optional
Notes
forecast_pence, actual_pence worked out by the Worker

The maths (recalcBudget)

item.forecast = agreed_price if set, else estimate if set, else 0
item.actual   = sum(payments with status 'paid') − sum(refunds with status 'refunded' or 'paid')
contingency   = ceiling × contingency %
available     = ceiling − contingency          ("Available for costs" on Setup)
remaining     = ceiling − total forecast − contingency

Saving an item shows “Item saved — forecast recalculated from agreed price (or estimate)”. POST /api/budget/items/recalculate re-runs it for everything. Contingency is never counted as spend.

On the page

  • Headline: Ceiling, Forecast, Paid, Remaining, “Forecast of ceiling”, Allowances used, Largest category, Remaining after all.
  • Spend by category: “Share of the total forecast (agreed price where set, otherwise estimate)”.
  • Per category: items with estimate / agreed / paid, an unpriced badge for items with no price, “No items yet in this category.”
  • Buttons: + Add category, + Category, + Item, Edit, Del, Export CSV, Full backup.

Default categories (seeded, allowance £0)

Venue & catering · Photography & video · Attire & rings · Flowers & décor · Entertainment & music · Stationery · Transport & accommodation · Other events & honeymoon · Contingency & sundries

Routes: /api/budget/categories and /api/budget/items (GET, POST, PUT/DELETE :id). The assistant and MCP use get_budget, create_/update_budget_category, create_/update_/delete_budget_item.