Get total values for balance
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/total
curl \
-X GET http://10.10.10.132/api-v1/balance/total \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"account": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"accountNumber": 42,
"accountType": "BALANCE_SHEET",
"credit": 42.0,
"debit": 42.0,
"endingBalance": 42.0,
"id": 42,
"lastYearCredit": 42.0,
"lastYearDebit": 42.0,
"lastYearEndingBalance": 42.0,
"organizationId": 42,
"tenantId": 42,
"warnings": "string"
}