ProjectBudget

A ceiling on what a project may consume — money or hours — and how often it resets.

  • The budget ceiling as a decimal string — an amount in the project currency when calculation_mode is fee, a number of hours when it is time.

  • What counts against the budget: logged time (billable_time, non_billable_time, billable_and_non_billable_time), billable time plus expenses (billable_time_and_expenses), or expenses alone (expenses).

    values
    • billable_time
    • non_billable_time
    • billable_and_non_billable_time
    • billable_time_and_expenses
    • expenses
  • What the budget is measured in: fee for money, time for hours.

  • The cycle running today. A project that has not started yet reports a zeroed cycle over its first window, and one that has ended keeps reporting its last. null only when the project has no start date.

    Properties: 4
  • Which expenses count, when calculation_base includes them: billable, non_billable or all.

  • Unique identifier for the budget.

  • Whether Bonsai alerts the project team when spending passes over_budget_notification_threshold.

  • Percentage of the budget that triggers the alert, as a decimal string.

  • How often the budget starts over. never runs one cycle for the life of the project; the rest open a fresh cycle every weekly, monthly or quarterly period from the project start date.

    values
    neverweeklymonthlyquarterly