Search what a fixed asset can be registered from

Operation ID: searchUnscheduledFixedAssets

Group: Accounting › Asset Management › Unscheduled Fixed Assets

Open in the interactive reference

POST /unscheduled-fixed-assets/search

Read-only: A read that takes its filters in the body. Changes nothing, and ignores Idempotency-Key.

The Unscheduled list is what the Unscheduled tab of the fixed assets page shows in Lensing: what a fixed asset can be registered from with POST fixed-assets. It has two kinds of row. A row of kind 'journalEntryLine' is a posted, approved, not reversed line of a Bank Entry, Credit Card Entry, Expense, Manual journal entry or Vendor Bill, on an asset account of a depreciation policy of its book, that no fixed asset holds in that book and that was not rejected or part of a disposed asset. A row of kind 'draft' is a draft fixed asset, saved, split or combined on the tab and not yet published. A row leaves the list once a fixed asset is registered from it.

allowedTypeCount and defaultTypeId say whether POST fixed-assets needs a typeId: when defaultTypeId is present you can leave typeId out. The types themselves, with their policy terms, are in allowedTypes on GET unscheduled-fixed-assets/:id and POST unscheduled-fixed-assets/search. A draft also carries the values saved on it (typeId, inServiceDate, the depreciation terms, serialNumber, assetTag, departmentId, businessUnitId), which registering it keeps unless you send others.

Searches the Unscheduled list, returning the fields of GET unscheduled-fixed-assets/:id, allowedTypes included.

Scope the search with filters.entityId and filters.bookId, or name rows with filters.ids. With ids alone the search spans every legal entity and book the rows live in; without ids both entityId and bookId are required, and the request fails with FIELD_REQUIRED otherwise.

name matches any part of the row's own description, case-insensitively: a line's description, or a draft's name. For a line, it does not match the name the row shows when that name is taken from the asset in another book. sourceJournalEntryLineIds finds a line by its id and a draft by its source lines.

Rows are ordered by transactionDate, newest first. A draft that combines several lines is returned once, never twice on one page or across pages.

Every error code declared for this endpoint is returned with HTTP status 400; branch on the code. A request turned away before the action runs carries no code: 401 when the credentials are missing or invalid, 403 when the access token does not hold this endpoint's permission task, and 400 when the request does not match the input schema. The Api-Version header is required: a missing or empty header, or one that names no published version, fails with 400, and a route that does not exist in the version it names fails with 404.

Parameters

Name In Type Required Description
Api-Version header string · v1 yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Request body

Required, application/json: searchUnscheduledFixedAssetsInput.

Field Type Required Description
filters object no The filters to apply. A row must match every filter you send. Send entityId and bookId, or ids. If you send an empty list for a filter, that filter is ignored. Example: {"entityId":"c41d8e07-5f62-4a93-b7d1-8e0364f5a2c9","bookId":"e0c37a94-2d15-4b86-9f42-5a7c81de03b6","name":"laptop"}.
filters.ids array<string> no Limits results to the rows with these ids: journal entry line ids and draft fixed asset ids. The match is exact.
filters.entityId string no Limits results to this legal entity. Required unless you send ids. See id on GET base/entities.
filters.bookId string no Limits results to this accounting book. Required unless you send ids. See id on GET accounting/books/:id.
filters.kinds array<string> no Limits results to rows of these kinds. Accepted values: 'journalEntryLine', 'draft'.
filters.accountIds array<string> no Limits results to rows on these asset accounts: a line's account, or a draft's source line's. See id on GET accounting/accounts/:id.
filters.sourceJournalEntryLineIds array<string> no Limits results to the lines with these ids and the drafts with one of them as a source line.
filters.name string no Limits results to rows whose own description contains this text: a line's description, or a draft's name. It does not match a line's name taken from the asset in another book (see name in the results). The match is case-insensitive, and % and _ match as ordinary characters. Spaces at the start and end are ignored.
filters.transactionDate object no The range of transactionDate to match. Send start, end, or both.
filters.transactionDate.start date no Limits results to rows on or after this date. Format: YYYY-MM-DD.
filters.transactionDate.end date no Limits results to rows on or before this date. Format: YYYY-MM-DD.
page object no The page of results to return. Omit for the first page. Example: {"size":25}.
page.cursor string no The cursor from the previous response's pagination.nextCursor. Omit on the first request.
page.size number no The number of rows per page, between 1 and 200. Defaults to 50. A value above 200 is treated as 200, and a value below 1 as 1, not rejected.
{}

Response

200 Success

Under data (searchUnscheduledFixedAssetsOutput):

Field Type Required Description
items array<object> yes The rows on this page, newest transactionDate first. An empty array when nothing matches. Example: [{"id":"52e7c0a9-1d84-4b36-9f20-8c3a6b15e7d4","kind":"draft","entityId":"c41d8e07-5f62-4a93-b7d1-8e0364f5a2c9","bookId":"e0c37a94-2d15-4b86-9f42-5a7c81de03b6","sourceJournalEntryLineId":"a0d4e9b2-7c15-4f83-b6e1-29c58d07f3a4","journalEntryId":"b81e40d2-6c9a-4f13-9e57-2d0a7c63f914","accountId":"6d2c9e41-0b87-4a35-bf1d-93e5a7c08f26","name":"Laptops (2 of 4)","transactionDate":"2026-03-11","amount":"3000","currency":"EUR","reference":"VB-000318 / 2","allowedTypeCount":2,"defaultTypeId":"4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034","typeId":"4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034","inServiceDate":"2026-04-01","depreciationMethod":"StraightLine","depreciationInterval":"Monthly","depreciationConvention":"FullMonth","salvageValueAmount":"0","allowedTypes":[{"typeId":"4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034","typeName":"IT equipment","depreciationPolicyId":"8c1f7a42-6d09-4b5e-a3f8-0e27d91c64b5","depreciationPolicyName":"Office and IT","depreciationMethod":"StraightLine","depreciationInterval":"Monthly","depreciationConvention":"FullMonth","usefulLife":3,"usefulLifeUnit":"year","minimumAmount":"800","minimumAmountCurrency":"EUR","belowThresholdDepreciationMethod":"expense"},{"typeId":"9a3d5c17-0e6b-4f28-b4a1-c7d2e8f05b39","typeName":"Furniture","depreciationPolicyId":"8c1f7a42-6d09-4b5e-a3f8-0e27d91c64b5","depreciationPolicyName":"Office and IT","depreciationMethod":"StraightLine","depreciationInterval":"Monthly","depreciationConvention":"FullMonth","usefulLife":8,"usefulLifeUnit":"year","minimumAmount":"800","minimumAmountCurrency":"EUR","belowThresholdDepreciationMethod":"capitalizeAndDepreciateUsefulLife"}],"lastModifiedDate":"2026-03-12T08:41:07.000Z"}].
items[].id string yes The journal entry line's id (kind 'journalEntryLine') or the draft fixed asset's id (kind 'draft'). Pass it to POST fixed-assets as sourceJournalEntryLineId or draftFixedAssetId, by kind, and to GET unscheduled-fixed-assets/:id.
items[].kind string yes What the row is. Possible values: 'journalEntryLine', a posted line no fixed asset holds; 'draft', a draft fixed asset saved, split or combined on the Unscheduled tab. It is an open set: skip a row with a value you do not know.
items[].entityId string yes The legal entity of the row. See id on GET base/entities.
items[].bookId string yes The accounting book of the row: the line's journal entry's book, or the draft's book. A fixed asset registered from the row is recorded in this book. See id on GET accounting/books/:id.
items[].sourceJournalEntryLineId string no The journal entry line: for kind 'journalEntryLine' the row itself, for kind 'draft' the draft's source line in its book (the first one, for a draft that combines several lines). Absent for a draft with no source line.
items[].journalEntryId string no The journal entry of sourceJournalEntryLineId. See id on GET accounting/journal-entries/:id.
items[].accountId string no The asset account of sourceJournalEntryLineId. The allowed types follow from it. See id on GET accounting/accounts/:id.
items[].name string no The name a fixed asset registered from the row gets by default: the draft's name, or the asset's name in another book, or else the line's description. Absent when there is none.
items[].transactionDate date yes The line's transaction date, or the draft's acquisition date. A fixed asset registered from the row is acquired on this date. Format YYYY-MM-DD.
items[].amount decimal yes The value a fixed asset registered from the row is capitalized at, in currency: the line's amount, or the draft's acquisition value (its share of the line, for a split).
items[].currency string yes The currency of amount. Format: ISO 4217, for example 'EUR'.
items[].reference string no The document line sourceJournalEntryLineId was posted from, or else its reference. Absent when it has neither.
items[].allowedTypeCount number yes How many fixed asset types the row can be registered as: the types the depreciation policies of the book cover for accountId (for a draft with no source line, every type they cover). A draft's saved type counts while its rule is unavailable. 0 when none qualifies.
items[].defaultTypeId string no The type POST fixed-assets uses when you leave typeId out: the draft's saved type while it is one of the allowed types, or else the only type that qualifies. Absent when you must choose. See id on GET fixed-asset-types/:id.
items[].typeId string no The type saved on the draft. Absent for a journal entry line, and for a draft saved without one.
items[].inServiceDate date no The in-service date saved on the draft. Absent for a journal entry line. Format YYYY-MM-DD.
items[].depreciationMethod string no The depreciation method saved on the draft. Absent for a journal entry line.
items[].depreciationInterval string no The depreciation interval saved on the draft. Absent for a journal entry line.
items[].depreciationConvention string no The depreciation convention saved on the draft. Absent for a journal entry line.
items[].degressionRate decimal no The degression rate saved on the draft, as a decimal fraction: 0.2 is 20%. Absent for a journal entry line.
items[].salvageValueAmount decimal no The salvage value saved on the draft, in currency. Absent for a journal entry line.
items[].serialNumber string no The serial number saved on the draft. Absent for a journal entry line.
items[].assetTag string no The asset tag saved on the draft. Absent for a journal entry line.
items[].departmentId string no The department saved on the draft. Absent for a journal entry line. See id on GET people/departments/:id.
items[].businessUnitId string no The business unit saved on the draft. Absent for a journal entry line.
items[].allowedTypes array<object> yes The types the row can be registered as, with the terms of the depreciation policy and rule each one takes: the types the depreciation policies of the book cover for accountId (for a draft with no source line, every type they cover). A draft's saved type is included while its rule is unavailable. Empty when none qualifies.
items[].allowedTypes[].typeId string yes The fixed asset type. Send it as typeId to POST fixed-assets.
items[].allowedTypes[].typeName string yes The name of the fixed asset type.
items[].allowedTypes[].depreciationPolicyId string yes The depreciation policy that covers the type for the account. See id on GET depreciation-policies/:id.
items[].allowedTypes[].depreciationPolicyName string yes The name of the depreciation policy.
items[].allowedTypes[].depreciationMethod string yes The policy's depreciation method, the default when you leave depreciationMethod out.
items[].allowedTypes[].depreciationInterval string yes The policy's depreciation interval, the default when you leave depreciationInterval out.
items[].allowedTypes[].depreciationConvention string no The policy's depreciation convention. Absent when the policy has none.
items[].allowedTypes[].usefulLife number no The useful life the rule sets for the type, in usefulLifeUnit. Absent for a custom term.
items[].allowedTypes[].usefulLifeUnit string no The unit of usefulLife. Possible values: 'year', 'month', 'custom'.
items[].allowedTypes[].minimumAmount decimal no The capitalization threshold: below this acquisition value the rule's belowThresholdDepreciationMethod applies, in minimumAmountCurrency.
items[].allowedTypes[].minimumAmountCurrency string no The currency of minimumAmount. Format: ISO 4217.
items[].allowedTypes[].belowThresholdDepreciationMethod string no What happens to an asset below minimumAmount. Possible values: 'capitalizeAndDepreciateUsefulLife', 'capitalizeAndDepreciateImmediately', 'expense'.
items[].lastModifiedDate date-time yes When the row last changed, as ISO 8601 UTC (YYYY-MM-DDTHH:mm:ss.sssZ): the journal entry line's, or for a draft the later of its fixed asset's and its asset's, so an edit made to a draft on the Unscheduled tab moves it.
pagination object yes Whether more rows match, and the cursor for the next page. Example: {"hasMore":false}.
pagination.hasMore boolean yes Whether more rows match after this page.
pagination.nextCursor string no The cursor for the next page. Pass it as page.cursor. Absent on the last page.
{
  "data": {
    "items": [
      {
        "id": "52e7c0a9-1d84-4b36-9f20-8c3a6b15e7d4",
        "kind": "draft",
        "entityId": "c41d8e07-5f62-4a93-b7d1-8e0364f5a2c9",
        "bookId": "e0c37a94-2d15-4b86-9f42-5a7c81de03b6",
        "sourceJournalEntryLineId": "a0d4e9b2-7c15-4f83-b6e1-29c58d07f3a4",
        "journalEntryId": "b81e40d2-6c9a-4f13-9e57-2d0a7c63f914",
        "accountId": "6d2c9e41-0b87-4a35-bf1d-93e5a7c08f26",
        "name": "Laptops (2 of 4)",
        "transactionDate": "2026-03-11",
        "amount": "3000",
        "currency": "EUR",
        "reference": "VB-000318 / 2",
        "allowedTypeCount": 2,
        "defaultTypeId": "4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034",
        "typeId": "4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034",
        "inServiceDate": "2026-04-01",
        "depreciationMethod": "StraightLine",
        "depreciationInterval": "Monthly",
        "depreciationConvention": "FullMonth",
        "salvageValueAmount": "0",
        "allowedTypes": [
          {
            "typeId": "4e8a1f60-2b93-4c07-8d5e-71f6a2c9b034",
            "typeName": "IT equipment",
            "depreciationPolicyId": "8c1f7a42-6d09-4b5e-a3f8-0e27d91c64b5",
            "depreciationPolicyName": "Office and IT",
            "depreciationMethod": "StraightLine",
            "depreciationInterval": "Monthly",
            "depreciationConvention": "FullMonth",
            "usefulLife": 3,
            "usefulLifeUnit": "year",
            "minimumAmount": "800",
            "minimumAmountCurrency": "EUR",
            "belowThresholdDepreciationMethod": "expense"
          },
          {
            "typeId": "9a3d5c17-0e6b-4f28-b4a1-c7d2e8f05b39",
            "typeName": "Furniture",
            "depreciationPolicyId": "8c1f7a42-6d09-4b5e-a3f8-0e27d91c64b5",
            "depreciationPolicyName": "Office and IT",
            "depreciationMethod": "StraightLine",
            "depreciationInterval": "Monthly",
            "depreciationConvention": "FullMonth",
            "usefulLife": 8,
            "usefulLifeUnit": "year",
            "minimumAmount": "800",
            "minimumAmountCurrency": "EUR",
            "belowThresholdDepreciationMethod": "capitalizeAndDepreciateUsefulLife"
          }
        ],
        "lastModifiedDate": "2026-03-12T08:41:07.000Z"
      }
    ],
    "pagination": {
      "hasMore": false
    }
  },
  "diagnostics": [
    {
      "code": "<code>",
      "message": "<message>",
      "severity": "error",
      "path": [
        "<path>"
      ],
      "details": "<details>"
    }
  ]
}

Errors

Code Status
FIELD_REQUIRED 400
INVALID_FIELD_VALUE 400
INVALID_CURSOR 400

Statuses