200Successful Response
Schema: SuccessEnvelope_GetLedgerVendorPeriodMatrixResponse_
successbooleanmessagestringcodestringdataGetLedgerVendorPeriodMatrixResponse
/api/v1/businesses/{business_id}/ledger/{ledger_id}/vendor-period-matrixReturns vendor/counterparty breakdown with per-period amounts for pivot-table display.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredledger_idstringrequiredstart_datestringrequiredStart date (YYYY-MM-DD)
end_datestringrequiredEnd date (YYYY-MM-DD)
period_granularitystringdefault: monthlymonthly, quarterly, or yearly
cash_flowbooleandefault: FalseWhen true, restrict to cash-touching journal entries and use cash flow sign convention
basisstringAccounting basis: accrual or cash. Defaults to the business's configured basis (accrual unless changed). Cash basis recognises invoice revenue and bill expense when paid, not when issued.
Schema: SuccessEnvelope_GetLedgerVendorPeriodMatrixResponse_
successbooleanmessagestringcodestringdataGetLedgerVendorPeriodMatrixResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject