Depreciation
depreciationDepreciation schedules: straight-line, declining balance (any factor, optional switch to straight-line), double-declining, sum-of-the-years-digits and US MACRS GDS (3/5/7/10/15/20-year, half-year convention, computed from the IRS rules: 200% or 150% DB switching to straight-line). Year-by-year depreciation, accumulated depreciation and book value. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/depreciation
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": {
"cost": "<cost>",
"lifeYears": "<lifeYears>"
},
"name": "depreciation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Asset cost (basis) | |
| method | No | straight-line | |
| salvage | No | Salvage value (ignored by MACRS) | |
| dbFactor | No | declining-balance factor (2 = double) | |
| lifeYears | Yes | Useful life; for MACRS the recovery class 3, 5, 7, 10, 15 or 20 | |
| switchToStraightLine | No | Declining balance: switch to straight-line when it gives more |