Ändra anläggningstillgång
update_fixed_assetÄndra en anläggningstillgång. Kräver behörigheten 'book'. Argument: orgnr, asset_id; valfritt name, acquired (YYYY-MM-DD), cost_ore, useful_life_months, residual_ore, gl_account (1000-1299), accum_depr_account (samma grupp, slutar på 9), depr_expense_account (7800-7899), asset_type, notes, depreciation_start (YYYY-MM-DD), opening_accumulated_ore, document_id.
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": {
"orgnr": "<orgnr>",
"asset_id": "<asset_id>"
},
"name": "update_fixed_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| notes | No | ||
| orgnr | Yes | Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies. | |
| acquired | No | ||
| asset_id | Yes | ||
| cost_ore | No | ||
| asset_type | No | ||
| gl_account | No | ||
| document_id | No | ||
| residual_ore | No | ||
| accum_depr_account | No | ||
| depreciation_start | No | ||
| useful_life_months | No | ||
| depr_expense_account | No | ||
| opening_accumulated_ore | No |