201Successful Response
Schema: SuccessEnvelope_CashForecastVersionDetail_
successbooleanmessagestringcodestringdataCashForecastVersionDetail
/api/v1/businesses/{business_id}/cfo-portal/cash-forecast/versionsSnapshot the current cash forecast configuration + output.
The version captures the chosen budget, excluded ledgers, and embedded one-time items, along with the full computed forecast JSON. The snapshot is what stays stable as live data drifts; the config is what's replayed against live data on load.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: CashForecastVersionCreate
namestringrequireddescriptionstringconfigCashForecastVersionConfigCashForecastVersionConfigbudget_idstringexcluded_budget_ledger_idsarray · stringweeksintegerone_time_items_snapshotarray · CashForecastOneTimeItemBaseCashForecastOneTimeItemBaseSnapshot of the one-time items as they existed when the version was saved. Replays against live data don't re-load from the live cash_forecast_one_time_items table.
Schema: SuccessEnvelope_CashForecastVersionDetail_
successbooleanmessagestringcodestringdataCashForecastVersionDetailSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject