accounting_categories_create
Create an accounting category with a unique label and account type; use income or expense types for categories that appear on the P&L.
Instructions
Add a category. Labels are unique among the org's active categories. Only income and expense categories reach the P&L.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "<label>",
"accountType": "<accountType>"
},
"name": "accounting_categories_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Your own account number, for matching to Xero or QBO | |
| label | Yes | Category name, e.g. 'Software & services' | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| accountType | Yes | Account type |