Create budget
create_budgetSet an annual funding budget, as the dashboard Budget tab does. Requires budgets:write scope. The tab holds one figure per year, per funding source ('O&M' or 'Capital'), per workspace (module: facilities, infrastructure, or omitted for organization-wide). Send one row per year and funding source - do not split a year across sites or buildings; the tab does not read site_id or building_id and a second row for the same slot is refused with 409. Required: year, funding_source, budgeted_amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Budget year (required) | |
| module | No | Workspace the budget belongs to. Omit for an organization-wide budget; set it when the organization budgets facilities and infrastructure separately. | |
| site_id | No | Site ID. Not read by the Budget tab. | |
| building_id | No | Building ID. Not read by the Budget tab. | |
| funding_source | Yes | 'O&M' (operations and maintenance) or 'Capital' (required) | |
| budgeted_amount | No | Budgeted amount | |
| allocated_amount | No | Allocated amount |