Get all expenditures including totals for a client
Response includes all expenditures for a client along with their calculated income and disposal income
Headers
-
Content-Type string
-
Accept string
Path parameters
-
The uuid of the client.
Query parameters
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
GET
/api/v1/client/{client_uuid}/expenditure
curl \
-X GET https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"data": [
{
"name": "Electricity",
"uuid": "35183ca0-bdb1-4933-ab95-79c9a9d73cc1",
"amount": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"section": "Housekeeping Expenses",
"position": "1",
"created_at": "2025-01-20T23:10:34+00:00",
"updated_at": "2025-01-20T23:10:34+00:00",
"life_stage_uuid": "daf17132-9d85-4804-8e9b-720126aa36a0",
"life_stage_field_uuid": "7f94c5eb-e99b-4b9a-b76b-13f6dda3ea50",
"life_stage_section_uuid": "448a3982-e9fa-49b9-9bbd-fc2caed497ff"
}
]
}