One part of a fixed asset (vaste activa). An asset is fixed_asset_header_id and can have several parts; the asset itself (name, book value) can't be read. Group by fixed_asset_header_id to list or count assets.

Label in Fledge: Vaste activa sub

URLhttps://odata-api.fledge.nl/v2-8/FixedAssetSubItems
Keyadministration_idfixed_asset_header_idfixed_asset_sub_item_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesFINANCIEEL
Write licensesFINANCIEELBEHEER
ScopesFLEDGE_PORTAL

Example requests

A page of rows, with only the fields you need. See Authentication for the token.

curl -G "https://odata-api.fledge.nl/v2-8/FixedAssetSubItems" \
  --data-urlencode '$filter=administration_id eq 1' \
  --data-urlencode '$select=fixed_asset_header_id,fixed_asset_sub_item_id,amount_insured,amount_purchase,amount_replacement' \
  --data-urlencode '$top=50' \
  -H "Authorization: Bearer $TOKEN"
const url = new URL('https://odata-api.fledge.nl/v2-8/FixedAssetSubItems');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'fixed_asset_header_id,fixed_asset_sub_item_id,amount_insured,amount_purchase,amount_replacement');
url.searchParams.set('$top', '50');

const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();
var url = "https://odata-api.fledge.nl/v2-8/FixedAssetSubItems" + "?" + string.Join("&",
    "$filter=" + Uri.EscapeDataString("administration_id eq 1"),
    "$select=" + Uri.EscapeDataString("fixed_asset_header_id,fixed_asset_sub_item_id,amount_insured,amount_purchase,amount_replacement"),
    "$top=" + Uri.EscapeDataString("50"));

http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);

One row by its key:

GET https://odata-api.fledge.nl/v2-8/FixedAssetSubItems(administration_id=1,fixed_asset_header_id='{fixed_asset_header_id}',fixed_asset_sub_item_id={fixed_asset_sub_item_id})

Fields

FieldTypeDescription
administration_idkeyInt32Administratienummer
fixed_asset_header_idkeyStringAktivum nr.: Aktivum nummer

The asset number (activumnummer).

fixed_asset_sub_item_idkeyInt32Volgnummer
amount_insuredDecimalVerzekerde waarde

The insured value.

amount_purchaseDecimalAanschaf waarde

The purchase value (aanschafwaarde).

amount_replacementDecimalVervangingswaarde

The replacement value.

amount_startDecimalBeginbedrag afgeschreven

The amount already depreciated when the part was entered.

cost_center_idInt32Kostenplaats nr
cost_type_idInt32Kostensoort nr
creditor_idInt32Crediteurnummer

The supplier the part was bought from.

date_creationDateAanmaakdatum van de record
date_purchaseDateAanschafdatum: Datum aanschaf

The purchase date.

date_updatesDateDatum laatste wijziging van de record
descriptionStringOmschrijving
financial_yearInt32Boekjaar
fixed_asset_group_idInt32Groep activum
fixed_asset_sub_location_idStringLocatie nr.: Locatie nummer
fixed_asset_type_idInt32Soort activum
general_commercial_fiscalBooleanAlgemeen/Comm.-Fiscaal: Algemeen of commercieel en fiscaal

One general depreciation, or separate commercial and fiscal ones.

is_processedBooleanAfgeschreven ja/nee

Labelled fully depreciated (afgeschreven).

itemStringBoekstuk code
journal_entry_idInt32Journaalpost nummer
journal_entry_tracking_idInt32Journaalpost volgnr: Journaalpost volgnummer
ledger_account_amortization_balanceStringGB-rek afschrijving balans: Grootboekrekeningnummer afschrijving balans

The balance account of the accumulated depreciation.

ledger_account_amortization_costsStringGB-rek afschrijving kosten: Grootboekrekeningnummer afschrijving kosten

The cost account of the depreciation.

ledger_account_purchaseStringGB-rek aanschaf: Grootboekrekeningnummer aanschaf balans

The balance account of the purchase value.

ledger_item_purchaseStringBoekstuk inkoop: Boekstuk code van de inkoop
serial_codeStringSeriekode
statusInt32Status
user_creationInt32Gebr. aanmaak: Gebruikerscode aanmaak
user_updatedInt32Gebr. ltst. wijziging: Gebruikerscode laatste wijziging

Relations

Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.

NavigationEntity set
AdministrationAdministrationsone
JournalEntryJournalEntriesone
Wingman