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": "a9bee6e6-9329-46b7-97c5-d8a5437a74d5",
"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-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00",
"life_stage_uuid": "e4a76485-6039-433f-afa4-2d534494dabe",
"life_stage_field_uuid": "ad5a6616-0050-46c5-9741-1b7588d93fbe",
"life_stage_section_uuid": "12b6e74b-b1b3-4070-a733-61c1214f1e09"
}
]
}