TripleBooks
Ledger

Fixed Assets

API reference for fixed asset lifecycle, depreciation, disposal, impairment, and revaluation.

Fixed asset creation, updates, disposal, impairment, revaluation, and CIP capitalization. All endpoints require entityId.

Authentication

  • Session cookie — set when signed in via the web app
  • API keyAuthorization: Bearer ak_... with the appropriate module scope for /api/ledger/fixed-assets/...

All endpoints require authentication and entity access.


Endpoints

List and create

MethodEndpointDescription
GET/api/ledger/fixed-assets?entityId=List assets
POST/api/ledger/fixed-assetsCreate asset or actions: dispose, impair, revalue, capitalizeCIP
PUT/api/ledger/fixed-assetsUpdate asset
DELETE/api/ledger/fixed-assetsDelete asset

GET /api/ledger/fixed-assets

Query parameters:

ParameterTypeRequiredDescription
entityIdstringYesEntity ID. Must match the API key’s entity.
statusstringNoFilter: active, disposed, fully-depreciated
asOfDatestringNoDate for depreciation/valuation (YYYY-MM-DD)

Response: Array of assets with ID, description, acquisition date, cost, useful life, depreciation method, accumulated depreciation, and net book value.


POST /api/ledger/fixed-assets

Request body varies by intent:

Create asset:

{
  "entityId": "string",
  "description": "string",
  "acquisitionDate": "YYYY-MM-DD",
  "cost": 0,
  "currency": "USD",
  "usefulLifeYears": 0,
  "depreciationMethod": "straight-line" | "declining-balance" | "units-of-production",
  "assetAccountId": "string",
  "accumulatedDepreciationAccountId": "string",
  "depreciationExpenseAccountId": "string",
  "salvageValue": 0
}

Actions (dispose, impair, revalue, capitalizeCIP):

{
  "entityId": "string",
  "action": "dispose" | "impair" | "revalue" | "capitalizeCIP",
  "assetId": "string",
  "disposalDate": "YYYY-MM-DD",
  "proceeds": 0,
  "impairmentAmount": 0,
  "newCarryingValue": 0,
  "revaluationAmount": 0,
  "cipProjectId": "string"
}
ActionDescription
disposeRecord disposal; write off remaining NBV, record proceeds/gain or loss
impairRecord impairment loss; reduce carrying value
revalueRevalue asset (e.g., fair value model under IAS 16)
capitalizeCIPCapitalize construction-in-progress to fixed asset

PUT /api/ledger/fixed-assets

Request body:

{
  "entityId": "string",
  "assetId": "string",
  "description": "string",
  "usefulLifeYears": 0,
  "depreciationMethod": "string",
  "salvageValue": 0
}

DELETE /api/ledger/fixed-assets

Request body or query:

ParameterTypeRequiredDescription
entityIdstringYesEntity ID. Must match the API key’s entity.
assetIdstringYesAsset ID to delete

Deletes the asset record. Use dispose for proper accounting treatment of active assets.

On this page