Run depreciation

POST/api/v1/fixed-assets/run-depreciation

Run depreciation for a period.

Creates depreciation entries for all active assets (or specified assets) for the given period. Optionally creates journal entries.

Operation ID: run_depreciation_api_v1_fixed_assets_run_depreciation_post·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.

Request body

period_datestring · daterequired

First day of the month to depreciate

asset_idsarray · string

Specific assets (default: all active)

create_journal_entriesboolean

Create journal entries for depreciation

Responses

201Successful Response

successboolean
messagestring
codestring
dataRunDepreciationResponse

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject