accounting_insertDepreciationRun

WRITE

Insert depreciation run.

Parameters

periodEndstringrequired
depreciationRunIdstringoptional
lines: Array<{ fixedAssetId: string; amount: number; taxAmountanyoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "accounting_insertDepreciationRun",
  "arguments": {
    "periodEnd": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "depreciationRunId": {
      "type": "string"
    },
    "periodEnd": {
      "type": "string"
    },
    "lines: Array<{\n      fixedAssetId: string;\n      amount: number;\n      taxAmount": {}
  },
  "required": [
    "periodEnd"
  ]
}