Get all expenditures including totals for a client

GET /api/v1/client/{client_uuid}/expenditure

Response includes all expenditures for a client along with their calculated income and disposal income

Path parameters

Query parameters

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
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": "37596565-a317-41d6-96a9-cb12cc46d626",
      "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": "2024-10-16T11:10:13+01:00",
      "updated_at": "2024-10-16T11:10:13+01:00",
      "life_stage_uuid": "aaa59dac-3123-45e6-85e6-b3869cfbce3e",
      "life_stage_field_uuid": "5bff24b4-8b94-48c1-ab2b-d4008ad87169",
      "life_stage_section_uuid": "c07a0024-9239-44ea-813d-cf7db9a96800"
    }
  ]
}