Reuse these instructions
Copy the instructions below into your AI client’s skill or project instructions. Connect your AI client first. These instructions do not grant additional access to your data.Plan values per entity
A budget takes every grain in one bulk file import: group-account totals, values per entity, values on an entity’s own ledger account, and splits by dimension item or counterparty. Put each value on its own row with the entity, local account, dimension item, or counterparty columns filled where the value applies and left blank where it does not;describe_bulk_file_import_format with targetModel: "Budget" lists the columns. The typed
set_budget_group_account_monthly_values tool writes group-account totals only and is for small interactive edits.
Parent rows reconcile from their children: write the leaf cells, and never write a group total over rows that already
carry an entity, dimension, or counterparty split, or the split is replaced by the total.
Budgets created before unified budgets keep one coordinate per group account and cannot be split by entity. Copy
such a budget as a new budget, or export it with
export_budget_as_import_file and import the file into a new
budget, before adding entity rows.Recover missing references in a bulk file
Calldescribe_bulk_file_import_format with targetModel: "Budget", then preserve every normalized source row in the
canonical file. In place of IDs, you can supply groupAccountCode, localAccountCode, entityName,
groupDimensionName, dimensionItemName, and counterpartyName. Matching is exact; ambiguous names or a code/name
that conflicts with a supplied ID are rejected. Local account codes need an entity, and dimension item names need
a dimension (or the budget’s configured dimension). Dimension vectors also accept groupDimensionName and
groupDimensionItemName in place of their IDs.
- Call
validate_bulk_file_import. No budget values or accounts are created during validation. - If it returns
unresolved_budget_references, show each requirement’s reference, scope, affected row count, and total value. Overallreconciliationtotals count each unresolved row once, even if it has several missing references. Detailed requirements and sample row indexes are capped;omittedRequirementCountreports additional requirement groups, while reconciliation covers the complete file. - Ask the user to select an existing reference or approve creating the missing account. Account creation is a separate write action. For local accounts backed by an accounting integration, create the account in that source and sync it instead.
- After the repair, validate the same complete file again and reconcile
sourceRowCountandsourceTotalValuewith the workbook. Obtain confirmation beforesubmit_bulk_file_import, then pollget_file_upload_statusuntil it completes or fails. Submission checks references again, and the worker uses the atomic budget upsert.
Try it
Preview this workbook against the Approved Budget for July through December 2026. Do not write anything.
Import the confirmed monthly group-account rows, then re-read the plan and reconcile every value.
Check whether this file can be imported without losing its entity and dimension detail. Report which rows need the entity-grain path before writing anything.