Depreciation schedule

depreciation-schedule · version 1.0.0 · Financial calculations · free, no key needed

Straight-line, sum-of-years-digits, declining-balance and Excel DB depreciation schedule that ends at salvage.

Use when you need to: depreciation schedule straight line · double declining balance depreciation · sum of the years digits depreciation table.

Decide before calling

Read the versioned contract and the supported scope below. Reuse depreciation-schedule@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use depreciation-schedule@1.0.0 for depreciation schedule straight line. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "cost": "30000",
  "salvage": "7500",
  "life": 10,
  "method": "straight-line"
}

Response:

{
  "result": {
    "rows": [
      {
        "period": 1,
        "depreciation": "2250.00",
        "accumulated": "2250.00",
        "book_value": "27750.00"
      },
      {
        "period": 2,
        "depreciation": "2250.00",
        "accumulated": "4500.00",
        "book_value": "25500.00"
      },
      {
        "period": 3,
        "depreciation": "2250.00",
        "accumulated": "6750.00",
        "book_value": "23250.00"
      },
      {
        "period": 4,
        "depreciation": "2250.00",
        "accumulated": "9000.00",
        "book_value": "21000.00"
      },
      {
        "period": 5,
        "depreciation": "2250.00",
        "accumulated": "11250.00",
        "book_value": "18750.00"
      },
      {
        "period": 6,
        "depreciation": "2250.00",
        "accumulated": "13500.00",
        "book_value": "16500.00"
      },
      {
        "period": 7,
        "depreciation": "2250.00",
        "accumulated": "15750.00",
        "book_value": "14250.00"
      },
      {
        "period": 8,
        "depreciation": "2250.00",
        "accumulated": "18000.00",
        "book_value": "12000.00"
      },
      {
        "period": 9,
        "depreciation": "2250.00",
        "accumulated": "20250.00",
        "book_value": "9750.00"
      },
      {
        "period": 10,
        "depreciation": "2250.00",
        "accumulated": "22500.00",
        "book_value": "7500.00"
      }
    ],
    "total_depreciation": "22500.00",
    "ending_book_value": "7500.00",
    "rate": null
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "depreciation-schedule",
  "version": "1.0.0",
  "input": {
    "cost": "30000",
    "salvage": "7500",
    "life": 10,
    "method": "straight-line"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/depreciation-schedule/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"cost":"30000","salvage":"7500","life":10,"method":"straight-line"}'

The machine-readable contract is at /v1/tools/depreciation-schedule/versions/1.0.0.

CLI

node cli.mjs run depreciation-schedule 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.