Skip to main content
POST
Create an asset

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 asset to create.

Parameters for creating a fixed asset. Creates a dedicated ledger account for the asset under the parent account (defaults to Fixed Assets).

name
string
required

Name of the asset.

asset_type
enum<string>
required

The type of fixed asset.

Available options:
RIGHT_OF_USE_ASSET,
VEHICLE,
EQUIPMENT,
GOODWILL
external_id
string | null

Unique ID of the asset in your system for linking purposes. Creating an asset with an external_id that already exists upserts the existing asset.

parent_ledger_account_identifier
Account ID · object

Parent ledger account under which the asset's dedicated account is created. Defaults to Fixed Assets.

accumulated_depreciation_account
Account ID · object

Accumulated depreciation account for the asset. Required before recording DEPRECIATION_AMORTIZATION value updates.

original_value
integer<int64> | null

Original purchase value, in cents.

salvage_value
integer<int64> | null

Estimated salvage (residual) value, in cents.

useful_life_months
integer<int32> | null

Useful life of the asset, in months.

memo
string | null

Internal note about the asset.

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 asset.

Response

201 - application/json

Asset created successfully.

data
object
required

A fixed asset held by a business. Each asset has a dedicated ledger account.