curl --request GET \
--url https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"fixed_asset_id": "<string>",
"total_depreciable": 123,
"accumulated_depreciation": 123,
"fiscal_method": "<string>",
"fiscal_accumulated_depreciation": 123,
"schedule": [
{
"fiscal_period_id": "<string>",
"label": "<string>",
"start_date": "<string>",
"end_date": "<string>",
"amount": "<string>",
"accumulated": 0,
"fiscal_amount": "<string>",
"fiscal_accumulated": 0,
"derogatory_gap": "<string>",
"posted": true,
"journal_entry_id": "<string>",
"posted_at": "<string>"
}
],
"arrears": 123,
"fiscal_arrears": 123,
"unscheduled_remainder": 123,
"fiscal_unscheduled_remainder": 123
}{
"message": "<string>",
"errors": {}
}View depreciation schedule (organization)
Organization space, on a chosen book. Shows an asset’s full depreciation plan: posted periods, projected periods and any arrears.
curl --request GET \
--url https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/accounting/organization/books/{fixedAsset}/fixed-assets/{fixed_asset}/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"fixed_asset_id": "<string>",
"total_depreciable": 123,
"accumulated_depreciation": 123,
"fiscal_method": "<string>",
"fiscal_accumulated_depreciation": 123,
"schedule": [
{
"fiscal_period_id": "<string>",
"label": "<string>",
"start_date": "<string>",
"end_date": "<string>",
"amount": "<string>",
"accumulated": 0,
"fiscal_amount": "<string>",
"fiscal_accumulated": 0,
"derogatory_gap": "<string>",
"posted": true,
"journal_entry_id": "<string>",
"posted_at": "<string>"
}
],
"arrears": 123,
"fiscal_arrears": 123,
"unscheduled_remainder": 123,
"fiscal_unscheduled_remainder": 123
}{
"message": "<string>",
"errors": {}
}fixed_assets.retrieve
Conditions
- The book must be one the caller’s access opens.
- The accounting module must be part of the organization’s plan.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Identifier of the accounting book, not of the asset: the generated path names the books segment {fixedAsset}; the asset is the {fixed_asset} segment.
Identifier of the fixed asset (27-character KSUID).
Response
Identifier of the asset the schedule belongs to.
Depreciable base in minor units: acquisition cost minus salvage value.
Economic depreciation posted so far, in minor units.
Fiscal depreciation method of the asset, linear or declining; null when the asset has no separate fiscal plan.
Fiscal depreciation recorded so far, in minor units.
One row per period within the asset's life, oldest first: fiscal_period_id, label, start_date and end_date, amount and accumulated (economic, in minor units), fiscal_amount, fiscal_accumulated and derogatory_gap (null without a fiscal plan), posted (true when a depreciation row exists), journal_entry_id and posted_at (ISO 8601, null when not posted). Unposted rows are projections. Closed periods in which the asset was never depreciated are left out.
Show child attributes
Show child attributes
Economic depreciation owed for closed periods and still waiting for an open period to take it, in minor units.
Fiscal depreciation owed for closed periods and waiting for an open period to take it, in minor units; null without a fiscal plan.
Part of the economic depreciation, in minor units, that falls beyond the last defined fiscal period.
Part of the fiscal depreciation, in minor units, that falls beyond the last defined fiscal period; null without a fiscal plan.