An amount of one fixed asset part in one financial period, per kind (type) and per general, commercial or fiscal view. Which type is depreciation isn't documented.
Label in Fledge: Vaste activa periode bedragen
| URL | https://odata-api.fledge.nl/v2-8/FixedAssetPeriodAmounts |
|---|---|
| Key | administration_idfinancial_period_idfinancial_yearfixed_asset_header_idfixed_asset_sub_item_idgeneral_commercial_fiscaltype |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | FINANCIEEL |
| 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/FixedAssetPeriodAmounts" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=financial_period_id,financial_year,fixed_asset_header_id,fixed_asset_sub_item_id,general_commercial_fiscal,type,journal_entry_id,amount,status' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/FixedAssetPeriodAmounts');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'financial_period_id,financial_year,fixed_asset_header_id,fixed_asset_sub_item_id,general_commercial_fiscal,type,journal_entry_id,amount,status');
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/FixedAssetPeriodAmounts" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("financial_period_id,financial_year,fixed_asset_header_id,fixed_asset_sub_item_id,general_commercial_fiscal,type,journal_entry_id,amount,status"),
"$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/FixedAssetPeriodAmounts(administration_id=1,financial_period_id={financial_period_id},financial_year={financial_year},fixed_asset_header_id='{fixed_asset_header_id}',fixed_asset_sub_item_id={fixed_asset_sub_item_id},general_commercial_fiscal={general_commercial_fiscal},type={type})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
financial_period_idkey | Int32 | Periode nummer |
general_commercial_fiscalkey | Int32 | AFC: Algemeen/Fiscaal/Commercieel General, commercial or fiscal; which number is which isn't documented. |
fixed_asset_header_idkey | String | Aktivum nr.: Aktivum nummer |
fixed_asset_sub_item_idkey | Int32 | Volgnummer |
financial_yearkey | Int32 | Boekjaar |
typekey | Int32 | Type The kind of amount; the values aren't documented. |
amount | Decimal | Bedrag |
journal_entry_id | Int32 | Journaalpost nummer The journal entry the amount is booked in; empty when not booked (probably). |
journal_entry_tracking_id | Int32 | Journaalpost volgnr: Journaalpost volgnummer |
status | Boolean | Status |
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 |