Get ledger statement for a date range

GET /api/v1/businesses/{business_id}/ledger/{ledger_id}/statement

Returns beginning balance, transactions within the range, and ending balance for a specific ledger account.

Operation ID: get_ledger_statement_api_v1_businesses__business_id__ledger__ledger_id__statement_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
ledger_id string required

Query

start_date string required

Start date (YYYY-MM-DD)

end_date string required

End date (YYYY-MM-DD)

Responses

200 Successful Response

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