Dispose asset

POST/api/v1/fixed-assets/{asset_id}/dispose

Dispose of an asset (sell, trade, scrap, etc.).

Records the disposal and calculates any gain or loss on the sale.

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

Parameters

Path

asset_idstringrequired

Request body

disposal_datestring · daterequired

Date of disposal

disposal_methodDisposalMethodrequiredDisposalMethod

How the asset was disposed: sold, traded, scrapped, lost, donated

disposal_amountinteger

Sale/trade proceeds in cents

disposal_notesstring

Notes about the disposal

Responses

201Successful Response

successboolean
messagestring
codestring
dataDisposalResponse

422Validation Error

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