accounting.depreciation_declining_balance
Calculates year-by-year declining-balance depreciation schedules from cost, salvage value, rate, and life years, applying rounding and capping book value at salvage.
Instructions
정률법 감가상각 스케줄을 계산한다. 연도별 감가비 = 기초 장부가 x 감가율(rate, 0 초과 1 미만 Decimal 문자열)이며 장부가는 잔존가치 아래로 내려가지 않고 도달하면 이후 연도 감가비는 0 이다. decimals(기본 0)자리로 rounding(기본 HALF_EVEN) 처리한다. 감가율은 입력값 그대로 쓰며 내용연수로 역산하지 않는다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| rate | Yes | ||
| salvage | Yes | ||
| decimals | No | ||
| rounding | No | HALF_EVEN | |
| life_years | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| schedule | Yes |