Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.

X-Fluide-Api-Key
string
header
default:fl_dev_your_key
required

Developer API key (fl_dev_...). Required on every API call with a machine access token.

X-Fluide-Client-Id
string
header
default:fluide-developer
required

First-party client audience. Must match the fluide_client_id claim on the JWT. Use fluide-developer for Connect.

Headers

X-Workspace-Id
string<uuid>

Partner / ISV only: UUID of the workspace that owns the client company. Required together with X-Acting-Company-Id when scoping product APIs to a merchant. See /getting-started/multi-tenancy.

X-Acting-Company-Id
string<uuid>

Partner / ISV only: UUID of the client company to act on. Must belong to the workspace in X-Workspace-Id.

Body

application/json
name
string
required
acquisitionDate
string
required
cost
number
required
usefulLifeMonths
number
required
Required range: x >= 1
assetGlAccountId
string<uuid>
required

PP&E / asset account

depreciationExpenseGlAccountId
string<uuid>
required

Depreciation expense account

accumulatedDepreciationGlAccountId
string<uuid>
required

Accumulated depreciation contra-asset account

salvageValue
number

Response

201 - application/json
organizationId
string
required
companyId
string
required
name
string
required
acquisitionDate
string<date-time>
required
cost
number
required
salvageValue
number
required
usefulLifeMonths
number
required
accumulatedDepreciation
number
required
assetGlAccountId
string
required
depreciationExpenseGlAccountId
string
required
accumulatedDepreciationGlAccountId
string
required
status
enum<string>
required
Available options:
ACTIVE,
FULLY_DEPRECIATED,
DISPOSED
lastDepreciationPeriodKey
string | null
required

Last calendar month for which depreciation was posted to the GL (YYYY-MM).

lastDepreciationJournalEntryId
string | null
required
id
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
deletedAt
string<date-time>