Top categories and vendors by cash outflow

GET /api/v1/businesses/{business_id}/cash-flow-statement/outflow-breakdown

Returns the top N ledger categories and counterparties that powered cash outflows during the requested period, ranked by absolute cash leaving. Powers the 'Where the cash went' tile on /books/cash-flow.

Operation ID: get_cash_flow_outflow_breakdown_api_v1_businesses__business_id__cash_flow_statement_outflow_breakdown_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

business_id string required

Query

start_date string · date required

Start date (YYYY-MM-DD)

end_date string · date required

End date (YYYY-MM-DD)

limit integer default: 5

Max rows per list (categories and vendors are returned separately)

Responses

200 Successful Response

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object