Configuration of accounting fixed assets.
The Fixed Assets resource allows you to retrieve and manage fixed assets and their related accounting accounts and category.
FixedAsset
Quick Links
Accounts Accounting Entries Products Customers Sales quotes Sales invoices Suppliers Purchase invoices| HTTP | Operation | Type | Object | DTO Why-DTOs? |
|---|---|---|---|---|
| Mutation Why 200? | createFixedAsset |
FixedAssetCreateGLDtoInput |
||
| Mutation Why 200? | updateFixedAsset How to update? |
FixedAssetUpdateGLDtoInput |
||
| Mutation Why 200? | deleteFixedAsset |
FixedAssetDeleteGLDtoInput |
||
| Query | fixedAssets filtered by id Why? |
|||
| Query | fixedAssets |
Description
How to retrieve fixed assets?
GraphQL Query
query {
fixedAssets {
edges {
node {
id
code
name
description
purchasedDate
purchasePrice
acquisitionType
currentValue
accumulatedDepreciation
fixedAssetCategoryId
fixedAssetCategory {code name}
ledgerAccountId
ledgerAccount {code name}
}
}
}
}
Example Response
{
"data": {
"fixedAssets": {
"edges": [
{
"node": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"code": "FA-001",
"name": "Industrial machine",
"description": "CNC milling machine",
"purchasedDate": "2025-03-15T00:00:00Z",
"purchasePrice": 25000.00,
"acquisitionType": "NEW_ASSET",
"currentValue": 22000.00,
"accumulatedDepreciation": 3000.00,
"fixedAssetCategoryId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fixedAssetCategory": {
"code": "MAT",
"name": "Machinery and equipment"
},
"ledgerAccountId": "51d78706-4721-4f2f-a257-3b8c2dc7ee0b",
"ledgerAccount": {
"code": "215400",
"name": "Matériel industriel"
}
}
},
// ..............
]
}
}
}
Header
| Key | Value |
|---|---|
Authorization |
Bearer Current access Token How to find? |
X-TenantId |
Current tenant id Why deprecated ? |
X-OrganizationId |
Current organization Id How to find? |
x-api-key |
Primary or secondary subscription key of your app How to find? |
fixedAssets
| Fields | Type | Description |
|---|---|---|
| id |
UUID | Id |
| creationDate |
DateTime | Creation Date |
| modificationDate |
DateTime | Modification Date |
| code |
String | Fixed asset code |
| name | String | Fixed asset name |
| description | String | Fixed asset description |
| purchasedDate |
DateTime | Purchase date |
| purchasePrice |
Decimal | Purchase price |
| acquisitionType |
|
Acquisition type |
| currentValue |
Decimal | Current value |
| accumulatedDepreciation |
Decimal | Accumulated depreciation |
| fixedAssetCategory |
FixedAssetCategory | Fields of FixedAssetCategory |
| fixedAssetCategoryId |
UUID | Id of fixedAssetCategory |
| ledgerAccount |
AccountingAccount | Fields of AccountingAccount |
| ledgerAccountId | UUID | Id of ledgerAccount |
| depreciationAccount |
AccountingAccount | Fields of AccountingAccount |
| depreciationAccountId | UUID | Id of depreciationAccount |
| depreciationExpenseAccount |
AccountingAccount | Fields of AccountingAccount |
| depreciationExpenseAccountId | UUID | Id of depreciationExpenseAccount |
| currentValueAccount |
AccountingAccount | Fields of AccountingAccount |
| currentValueAccountId | UUID | Id of currentValueAccount |
Info
- acquisitionType: Indicates how the fixed asset was acquired.
NEW_ASSET- Newly acquired asset.EXISTING_ASSET- Existing asset already owned.