Skip to main content
POST
Create an asset value update

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

Body

application/json

The value update to create.

Parameters for recording a change to an asset's value (depreciation, improvement, impairment, or revaluation). Identify the asset with either asset_id or asset_external_id. Posts a journal entry between the asset and the counter account.

amount
integer<int64>
required

Amount of the value change, in cents.

update_type
enum<string>
required

The kind of value change applied to an asset. DEPRECIATION_AMORTIZATION, IMPAIRMENT, and REVALUATION_DOWN decrease the asset's carrying value; IMPROVEMENT and REVALUATION_UP increase it. DEPRECIATION_AMORTIZATION requires the asset to have an accumulated_depreciation_account configured.

Available options:
DEPRECIATION_AMORTIZATION,
IMPROVEMENT,
IMPAIRMENT,
REVALUATION_UP,
REVALUATION_DOWN
counter_account
Account ID · object
required

The counter account for the journal entry (e.g. depreciation expense, or the cash/expense account that funded an improvement).

date
string<date-time>
required

Date of the value update.

asset_id
string<uuid> | null

ID of the asset to update. Provide this or asset_external_id.

asset_external_id
string | null

External ID of the asset to update. Provide this or asset_id.

external_id
string | null

Unique ID of the value update in your system for linking purposes.

memo
string | null

Internal note about the value update.

metadata
object | null

Arbitrary JSON object you can attach for your own use. Layer stores and returns it unchanged.

reference_number
string | null

Reference number for the value update.

Response

201 - application/json

Asset value update created successfully.

data
object
required

A recorded change to an asset's value, such as depreciation, improvement, impairment, or revaluation.