Skip to main content
Budgets

Update Budget

Updates the budget with the given id.

PATCH
/budgets/{id}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringrequired

Body

application/json
amountobject | null

The amount of the budget. Required on fixed-price and retainer budgets and on capped time-and-materials capped by amount; optional on time-and-materials and non-billable; none on capped time-and-materials capped by hours.

capBasisenum<string> | null

What the budget's cap counts. amount: the amount caps time value (capped time-and-materials). hours: capSeconds of billable time is the cap, whatever the rates (capped time-and-materials), or a retainer's included hours. Null on billing types without a cap; when omitted on create it follows the billing type.

Available options: amount, hours
capSecondsinteger | null

The cap in billable seconds when capBasis is hours (360000 is 100 hours); null otherwise.

Required range: 0 <= x <= 2147483647
descriptionstring | null

The description of the budget.

Maximum string length: 5000
fromstring

The start date of the budget.

namestring

The name of the budget.

overageInvoicedboolean | null

Retainer only: whether billable time beyond the included hours (capSeconds) is invoiced on top of the amount. Null means the default, which is invoiced. Ignored and null on every other billing type.

projectIdstring

The project this budget is for.

targetsobject[]

The budget's targets, an internal plan that never changes invoicing or revenue: at most one for the whole budget (no dimension set) and one per competence role, seniority, person or task. Requires budget targets to be on. On update, the list replaces the budget's targets; send [] to remove them all.

throughstring

The end date of the budget.

Response

application/json

Successful response

dataobjectrequired
metaobjectrequired