Get cash flow statements for multiple periods
GET
/api/v1/businesses/{business_id}/cash-flow-statement/periodic
Batch endpoint returning a cash flow statement for each period in the requested date range. Avoids N round-trips for monthly/quarterly views. All amounts in cents.
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_idstring required
Query
-
start_datestring · date required -
Start date (YYYY-MM-DD)
-
end_datestring · date required -
End date (YYYY-MM-DD)
-
groupingstring default:monthly -
Period grouping: 'monthly' or 'quarterly'
-
hide_zero_rowsboolean default:False -
Exclude line items with zero cash impact
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
404 Not Found - Resource does not exist
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-