Update account
update_accountUpdate a chart-of-accounts ledger account by id — its name, description, group or settings. See list_accounts for ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Account id to update (see list_accounts). | |
| icon | No | Icon identifier for the account (UI display). | |
| meta | No | Opaque metadata string stored on the account. | |
| name | No | Account name (e.g. "Consulting income", "Rent"). | |
| role | No | Semantic reporting role: "tax" (income-tax expense), "taxprovision" (tax provision/liability), or "salestax" (VAT control account). Omit for an ordinary account. | |
| group | No | Group label the account is organised under in the chart of accounts. | |
| hidden | No | Whether the account is hidden from the chart-of-accounts UI. | |
| deleted | No | Soft-delete flag; true hides the account from active use. | |
| journal | No | Journal number classifying the account; maps to a standard journal name (e.g. sales, purchases, general). | |
| premium | No | Whether the account is a premium-plan-only account. | |
| primary | No | Whether this is the primary account of its kind. | |
| parentid | No | Id of the parent account this nests under in the chart-of-accounts tree. | |
| defaultid | No | Numeric id of the built-in/default account this custom account maps to. | |
| baseaccount | No | Whether this is a base/system account rather than a user-created one. | |
| description | No | Free-text description of what the account is used for. |