# GET /api/v1/fixed-assets/{asset_id}/depreciation-schedule

> Get depreciation schedule

- **Tag:** fixed-assets
- **Operation ID:** `get_depreciation_schedule_api_v1_fixed_assets__asset_id__depreciation_schedule_get`

## Description

Get the full depreciation schedule for an asset.

Shows the expected depreciation for each period over the asset's useful life.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Parameters

- `asset_id` (path, string, required)

## Responses

### 200 — Successful Response

Schema: `DepreciationScheduleResponse`

- `asset_id` (string · required) — Asset ID
- `asset_name` (string · required) — Asset name
- `original_cost` (integer · required) — Original purchase cost in cents
- `salvage_value` (integer · required) — Estimated salvage value in cents
- `useful_life_months` (integer · required) — Useful life in months
- `depreciation_method` (DepreciationMethod · required) → `DepreciationMethod` — Depreciation method used
- `schedule` (array · DepreciationScheduleEntry · required) → `DepreciationScheduleEntry` — Period-by-period depreciation schedule
  - `period` (integer · required) — Period number (1-based)
  - `period_date` (string · date · required) — First day of the period
  - `beginning_book_value` (integer · required) — Book value at start of period, in cents
  - `depreciation_amount` (integer · required) — Depreciation for this period, in cents
  - `accumulated_depreciation` (integer · required) — Cumulative depreciation, in cents
  - `ending_book_value` (integer · required) — Book value at end of period, in cents

### 422 — Validation Error

Schema: `HTTPValidationError`

- `detail` (array · ValidationError) → `ValidationError`
  - `loc` (array · string | integer · required)
  - `msg` (string · required)
  - `type` (string · required)
  - `input` (object)
  - `ctx` (object)

## Code samples

### cURL

```bash
curl -X GET 'https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/depreciation-schedule' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID'
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/depreciation-schedule', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
  },
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

response = httpx.get("https://api.ondayzero.com/api/v1/fixed-assets/{asset_id}/depreciation-schedule", headers=headers)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/fixed-assets/get-depreciation-schedule
- OpenAPI slice: https://www.ondayzero.com/docs/reference/fixed-assets/get-depreciation-schedule/openapi.json
- Other endpoints in **fixed-assets**: https://www.ondayzero.com/docs/reference/fixed-assets
