GET
/api-v1/treasury
curl \
--request GET 'https://wyzio.app/api-v1/treasury' \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
"lines": [
{
"chartOfAccount": {
"id": 42,
"organizationId": 42,
"accountNumber": 42,
"name": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"endDate": "2026-05-04T09:42:00Z",
"currency": "string",
"currencyId": 42,
"type": "string",
"departmentId": 42,
"warnings": "string",
"isCashAccountEnabled": true,
"isActive": true,
"hasDepreciation": true,
"isPurchaseInvoicesEnabled": true
},
"currency": "string",
"amount": 42.0,
"lastEntryDate": "2026-05-04T09:42:00Z",
"chartOfAccountsName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
}
}
],
"totalLine": {
"chartOfAccount": {
"id": 42,
"organizationId": 42,
"accountNumber": 42,
"name": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"endDate": "2026-05-04T09:42:00Z",
"currency": "string",
"currencyId": 42,
"type": "string",
"departmentId": 42,
"warnings": "string",
"isCashAccountEnabled": true,
"isActive": true,
"hasDepreciation": true,
"isPurchaseInvoicesEnabled": true
},
"currency": "string",
"amount": 42.0,
"lastEntryDate": "2026-05-04T09:42:00Z",
"chartOfAccountsName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
}
},
"startDate": "2026-05-04T09:42:00Z",
"endDate": "2026-05-04T09:42:00Z"
}