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
| URL | https://odata-api.fledge.nl/v2-8/FixedAssetSubItems |
|---|---|
| Key | administration_idfixed_asset_header_idfixed_asset_sub_item_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEELBEHEER |
| Scopes | FLEDGE_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
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
fixed_asset_header_idkey | String | Aktivum nr.: Aktivum nummer The asset number (activumnummer). |
fixed_asset_sub_item_idkey | Int32 | Volgnummer |
amount_insured | Decimal | Verzekerde waarde The insured value. |
amount_purchase | Decimal | Aanschaf waarde The purchase value (aanschafwaarde). |
amount_replacement | Decimal | Vervangingswaarde The replacement value. |
amount_start | Decimal | Beginbedrag afgeschreven The amount already depreciated when the part was entered. |
cost_center_id | Int32 | Kostenplaats nr |
cost_type_id | Int32 | Kostensoort nr |
creditor_id | Int32 | Crediteurnummer The supplier the part was bought from. |
date_creation | Date | Aanmaakdatum van de record |
date_purchase | Date | Aanschafdatum: Datum aanschaf The purchase date. |
date_updates | Date | Datum laatste wijziging van de record |
description | String | Omschrijving |
financial_year | Int32 | Boekjaar |
fixed_asset_group_id | Int32 | Groep activum |
fixed_asset_sub_location_id | String | Locatie nr.: Locatie nummer |
fixed_asset_type_id | Int32 | Soort activum |
general_commercial_fiscal | Boolean | Algemeen/Comm.-Fiscaal: Algemeen of commercieel en fiscaal One general depreciation, or separate commercial and fiscal ones. |
is_processed | Boolean | Afgeschreven ja/nee Labelled fully depreciated (afgeschreven). |
item | String | Boekstuk code |
journal_entry_id | Int32 | Journaalpost nummer |
journal_entry_tracking_id | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
ledger_account_amortization_balance | String | GB-rek afschrijving balans: Grootboekrekeningnummer afschrijving balans The balance account of the accumulated depreciation. |
ledger_account_amortization_costs | String | GB-rek afschrijving kosten: Grootboekrekeningnummer afschrijving kosten The cost account of the depreciation. |
ledger_account_purchase | String | GB-rek aanschaf: Grootboekrekeningnummer aanschaf balans The balance account of the purchase value. |
ledger_item_purchase | String | Boekstuk inkoop: Boekstuk code van de inkoop |
serial_code | String | Seriekode |
status | Int32 | Status |
user_creation | Int32 | Gebr. aanmaak: Gebruikerscode aanmaak |
user_updated | Int32 | Gebr. 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.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
JournalEntry | JournalEntries | one |