Get vendor breakdown across all periods for a ledger
GET
/api/v1/businesses/{business_id}/ledger/{ledger_id}/vendor-period-matrix
Returns vendor/counterparty breakdown with per-period amounts for pivot-table display.
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 -
ledger_idstring required
Query
-
start_datestring required -
Start date (YYYY-MM-DD)
-
end_datestring required -
End date (YYYY-MM-DD)
-
period_granularitystring default:monthly -
monthly, quarterly, or yearly
-
cash_flowboolean default:False -
When true, restrict to cash-touching journal entries and use cash flow sign convention
Responses
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
-