Skip to main content
POST
Create fixed asset class
Send the name, the asset account, the accumulated depreciation account, the expense account, and the book defaults. A book default sets the depreciation method and the useful life for one depreciation book.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Body

application/json
name
string
required
Maximum string length: 255
status
enum<string>
default:active
Available options:
active,
archived
company_id
integer | null
asset_account_id
integer | null
expense_account_id
integer | null
accumulation_account_id
integer | null
book_defaults
FixedAssetClassBookDefaultSchemaIn · object[]

Response

Created

id
integer
required
name
string
required
status
string
required
book_defaults
FixedAssetClassBookDefaultSchemaOut · object[]
required
company_id
integer | null
asset_account_id
integer | null
expense_account_id
integer | null
accumulation_account_id
integer | null