Skip to main content
PATCH
Update 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.

valueUpdateId
string<uuid>
required

The UUID of the value update.

Body

application/json

The value update fields to update.

Parameters for updating an asset value update. Only include the fields you want to change. Changing the amount, type, account, or date re-posts the underlying journal entry.

amount
integer<int64>

Updated amount, in cents.

update_type
enum<string>

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

Updated counter account.

date
string<date-time>

Updated date.

memo
string | null

Updated internal note.

metadata
object | null

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

reference_number
string | null

Updated reference number.

Response

200 - application/json

The updated asset value update.

data
object
required

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