Get balance sheet
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/balance-sheet
curl \
-X GET http://10.10.10.132/api-v1/balance-sheet \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"accountBalances": [
{
"account": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"accountNumber": 42,
"balance": 42.0,
"change": 42.0,
"changeAmount": 42.0,
"changeAmountProportion": 42.0,
"hasWarnings": true,
"lastYearBalance": 42.0,
"lastYearMargin": 42.0,
"margin": 42.0
}
],
"calculationTemplateLineIds": [
42
],
"change": 42.0,
"changeAmount": 42.0,
"changeAmountProportion": 42.0,
"children": [
{}
],
"hasWarnings": true,
"id": 42,
"lastYearMargin": 42.0,
"lastYearTotal": 42.0,
"margin": 42.0,
"parentId": 42,
"position": 42,
"sign": "ASSETS",
"templateLineName": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"total": 42.0,
"type": "NONE"
}
]