API

List box needed

Live Expected in account today and After today’s bills per box (plan runway).

Returns live runway Needed for each non-deleted box (max 30). When status is ready, includes expectedInAccountToday (opening, includes today’s bills) and expectedAfterTodaysBills (closing). Other statuses (undatedExpenses, missingCreditCycleEndDay, noPlannedExpenses) omit amounts. Optional asOfDate (yyyy-MM-dd, default UTC today) is a current-plan reprojection, not Reports history — use get_report for stamped past Needed.

GET/v1/list_box_needed

Query

FieldTypeRequiredDefaultDescription
budgetIdstringYes—Budget to evaluate.
boxIdstringNo—Limit to one expense box.
asOfDatestringNotoday (UTC)Calendar day yyyy-MM-dd for the projection.

Response shape: { items }. Amounts are in box currency.

Response data

FieldTypeDescription
itemsarrayBox Needed rows.

Item fields

FieldTypeDescription
boxIdstringExpense box id.
boxNamestringExpense box name.
currencystringBox currency.
asOfDatestringProjection day yyyy-MM-dd.
statusstringready, undatedExpenses, missingCreditCycleEndDay, or noPlannedExpenses.
expectedInAccountTodaynumberOpening Needed when status is ready.
expectedAfterTodaysBillsnumberClosing Needed when status is ready.
hasOutflowsTodaybooleanTrue when planned outflows fall on asOfDate.