Create or Update an Expenditure Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "PlannrCRM MCP server": {
    "url": "https://apidocs.plannrcrm.com/mcp"
  }
}

Close
POST /api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/{lifeStageField_uuid}

This endpoint creates an individual expenditure for a client.

Path parameters

  • client_uuid string Required

    The uuid of the client.

  • lifeStage_uuid string Required

    The uuid of the parent Life Stage.

  • lifeStageField_uuid string Required

    The uuid of the parent Life Stage Field.

application/json

Body

  • amount integer Required

    The amount of the expenditure in pennies.

  • life_stage_section_uuid string(uuid)

    The life stage section UUID.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string
    • created_at string
    • updated_at string
    • name string
    • section string
    • amount object
      Hide amount attributes Show amount attributes object
      • amount object
        Hide amount attributes Show amount attributes object
        • example string
        • description string
      • formatted object
        Hide formatted attributes Show formatted attributes object
        • example string
        • description string
      • currency object
        Hide currency attributes Show currency attributes object
        • example string
        • description string
    • position string
    • life_stage_uuid string
    • life_stage_section_uuid string
    • life_stage_field_uuid string
    • accounts string
POST /api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/{lifeStageField_uuid}
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/dcf0-484e-a0c5-08590fe89a84-f6aa1670' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"amount":50000,"life_stage_section_uuid":"274d994b-0bd8-4e45-af2e-edc344411211"}'
Request examples
{
  "amount": 50000,
  "life_stage_section_uuid": "274d994b-0bd8-4e45-af2e-edc344411211"
}
Response examples (200)
[
  {
    "uuid": "81801442-02fc-4b0a-85a9-9ac445ca0f6a",
    "created_at": "2026-07-17T15:25:28+01:00",
    "updated_at": "2026-07-17T15:25:28+01:00",
    "name": "Electricity",
    "section": "Housekeeping Expenses",
    "amount": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      }
    },
    "position": "1",
    "life_stage_uuid": "7c565731-37e8-4b69-96c6-9dc40b1dad3d",
    "life_stage_section_uuid": "8cb39c1d-1e5b-4f46-ac7c-91f7cea625a2",
    "life_stage_field_uuid": "2f1f0939-ea0c-498f-b731-50775b4c77e2",
    "accounts": "[]"
  }
]