Build a depreciation schedule
asset_scheduleBuild the depreciation schedule for a stored asset, or price one not in the register, per year or per month, to residual or zero, with the table's rate, life and convention. Periods sum exactly to the base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Asset id such as ASSET-2026-0001, or an exact or partial name. Omit and pass the fields below to price an asset that is not in the register | |
| method | No | "straight-line" or "declining-balance" | |
| scheme | No | Scheme, when pricing an asset that is not in the register | |
| category | No | Table category code or name, when pricing an asset that is not in the register | |
| currency | No | ISO code, when pricing an asset that is not in the register | |
| rate_pct | No | Override the annual percentage from the table | |
| cost_minor | No | Cost in MINOR units, when pricing an asset that is not in the register | |
| life_years | No | Override the useful life from the table, in years | |
| granularity | No | "year" for one row per period, "month" for the monthly charge. Default "year" | |
| purchase_date | No | ISO date YYYY-MM-DD, when pricing an asset that is not in the register | |
| residual_minor | No | Residual in MINOR units, default 0 | |
| in_service_date | No | ISO date YYYY-MM-DD the asset entered use. Defaults to purchase_date | |
| declining_coefficient | No | Declining-balance coefficient; ignored with straight-line |