201Successful Response
Schema: SuccessEnvelope_CashForecastOneTimeItem_
successbooleanmessagestringcodestringdataCashForecastOneTimeItem
/api/v1/businesses/{business_id}/cfo-portal/cash-forecast/one-time-itemsCreate a one-time payment item for the cash forecast.
Request Body:
label: Short description (e.g. "Q2 estimated tax").amount_cents: Positive = cash in, negative = cash out.applies_on: ISO date the cash event lands on.notes: Optional free-form notes.Effect: The item appears in the forecast week whose Sunday
window contains applies_on. The forecast's one_time_cents
column on that week is incremented by amount_cents.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: CashForecastOneTimeItemCreate
labelstringrequiredamount_centsintegerrequiredPositive = cash in, negative = cash out. Integer cents.
applies_onstring · daterequiredDate the cash event lands. The week index is derived from this date relative to the forecast's first Sunday.
notesstringSchema: SuccessEnvelope_CashForecastOneTimeItem_
successbooleanmessagestringcodestringdataCashForecastOneTimeItemSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject