Preview depreciation

GET /api/v1/fixed-assets/depreciation-preview

Preview the next depreciation run.

Shows which assets will be depreciated and the amounts, without actually creating the entries.

Operation ID: preview_depreciation_api_v1_fixed_assets_depreciation_preview_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

period_date string · date required

Period date (first of month)

Responses

200 Successful Response

period_date string · date required

Period to preview

assets_count integer required

Number of assets included

total_depreciation integer required

Total projected depreciation in cents

entries array · DepreciationPreviewEntry requiredDepreciationPreviewEntry

Per-asset depreciation preview

5 fields
asset_id string required

Asset ID

asset_name string required

Asset name

depreciation_amount integer required

Projected depreciation in cents

new_accumulated integer required

Projected accumulated depreciation in cents

new_book_value integer required

Projected book value after depreciation in cents

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object