File a pending depreciation run draft (a person approves in Taokeh)
create_depreciation_draftFiles a pending draft of Run depreciation on Fixed Assets, through a date. Nothing is posted until an admin or bookkeeper approves in Taokeh; approval runs it exactly as the page does: one entry per month (Dr depreciation expense, Cr accumulated depreciation) for every active asset's months not yet posted up to through. The result lists the months, each asset's charge and the total, as the rolled-back run produced them; asset_register depreciationNotRun shows the same months beforehand. A run with nothing to post is refused at filing, as is a month in a locked period. One run draft waits at a time; if an asset is added, changed, disposed or depreciated before approval, approval refuses and nothing is posted.
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": {
"through": "<through>"
},
"name": "create_depreciation_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A short note for the reviewer: where the figures came from. | |
| through | Yes | Post every month up to this date, YYYY-MM-DD (normally a month-end). | |
| needsReview | No | true flags the draft for the reviewer. |