Save Annual-Report Account Rule
save_annual_report_account_ruleSave, update, or remove annual-report rules for cash-flow categories or liability classifications, then regenerate annual report data.
Instructions
Save, change or remove one company annual-report account rule after the owner has chosen: rule_type 'cash_flow_category' (operating | investing | financing; any balance-sheet account, e.g. a 24xx account from cash_flow_account_reviews) or 'liability_classification' (current | non_current; Kohustused accounts only). account_id is the account number. remove=true deletes the rule. Writes the accounting-rules store; re-run generate_annual_report_data afterwards.
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": {
"rule_type": "<rule_type>",
"account_id": "<account_id>"
},
"name": "save_annual_report_account_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | cash_flow_category: operating | investing | financing; liability_classification: current | non_current. Omit with remove=true | |
| remove | No | true deletes the account's rule instead of saving one | |
| rule_type | Yes | Which annual-report rule table to edit | |
| account_id | Yes | Account number in the active company's chart (e.g. 2430) |