Skip to navigation

Commits

A commit is a customer’s promise to spend an agreed amount of money on an order. Enterprise usage deals almost always have one: “spend at least $120,000 this year, or pay the difference”, or “pay $50,000 upfront and draw usage down against it”. Paid tracks spend against the commit as usage is billed, so the true-up or the draw-down on the invoice is calculated for you, not in a spreadsheet at year end.

Use a commit to:

  • Guarantee a minimum spend with an invoiced minimum that adds a true-up line when usage falls short.
  • Take payment upfront with a prepaid commit that’s invoiced when the order starts and drawn down by usage.
  • Limit a commitment to some products or prices with a scope.

For prepaid balances in credits rather than money, use credits instead.

Commits are in the commits=v1 private beta: send Paid-Beta: commits=v1 with each request.

How a commit works

typeYour customerPaid
invoicedMinimumPays for usage as normal, and commits to spending at least amount.Adds a true-up line for the shortfall at the end of each period.
prepaidPays amount upfront.Draws usage down from it before invoicing anything, then bills further usage at the normal rate.

Either kind is measured over a period: billingPeriod resets the commitment every billing cycle, and term measures it once across the whole commit, from startsAt to endsAt. Both default to the order’s term.

Amounts are integers in the currency’s minor units: 12000000 is $120,000.00. A commit’s currency must match its order’s.

Create a commit

Clausebase’s 2027 deal with Halberd LLP includes a $120,000 annual minimum on contract review. The order is active and starts on 1 January.

Create a commit on the order, with its type, amount and period:

{
"order": "ord_5Kp2Wz",
"type": "invoicedMinimum",
"name": "Halberd 2027 minimum",
"displayName": "Annual minimum commitment",
"amount": 12000000,
"currency": "usd",
"period": "term",
"scope": { "products": ["prod_6Wd3Lk"] }
}

A standalone commit needs an active order. A commit agreed as part of the deal is better sent with the order itself: see Add a commit to a new order.

FieldWhat it’s for
nameYour label for the commit. Your customer never sees it.
displayNameWhat your customer sees on invoices, credit notes, checkout and the portal, up to 250 characters. When it’s null, they show name.
startsAt, endsAtDefault to the order’s term. They must fall inside it and line up with its billing periods.
scopeproducts or prices, never both. Only spend on those counts toward the commit. Leave it out to count all eligible spend on the order.
taxCodeThe tax code for the commit’s own charges: a prepaid invoice taxed at purchase, and an invoiced minimum’s true-up. When it’s null, Paid uses the code every scoped product shares, or else your account’s default.

Add a commit to a new order

Send commits with the order, up to 10 of them, in the same shape without order. They’re created with the draft and start when it’s activated, so a prepaid commit is invoiced at activation, with nothing billed before it exists. A commit sent with an order takes no taxCode: it starts with the default, and you can set one with an update afterwards.

"commits": [
{
"type": "prepaid",
"prepaid": { "invoiceBehavior": "start", "overage": "billAtRate" },
"name": "Northwind 2027 prepayment",
"amount": 5000000,
"currency": "usd",
"period": "term"
}
]

An amendment can add commits to an active order in the same way.

Invoiced minimums

An invoiced minimum counts spend in scope toward its amount, at what your customer actually pays after negotiated pricing and rate card modifiers, and before tax:

CountsDoesn’t count
Usage priced in moneyRecurring fees
Credit overage that’s invoicedSetup fees
One-time credit purchases in scopePercent-of fees, tax and commit charges

Usage paid with credits doesn’t count again: the credit purchase already did. If spend for the period falls short, the invoice that closes the period adds a true-up line for the difference, amount minus what was consumed. If spend meets or passes the minimum, no line is added.

Two invoiced minimums on the same order can’t overlap in both time and scope.

Prepaid commits

A prepaid commit is invoiced when the order starts. After that, usage priced in money, including credit overage, is drawn from it before anything is invoiced. It never pays for credit purchases or for another commit.

SettingValues
prepaid.invoiceBehaviorstart (the default) invoices the commit when it starts. none records a commit your customer paid outside Paid.
prepaid.taxBehaviorpurchase (the default) taxes the full amount on the invoice that buys the commit, using its taxCode. consumption invoices the prepayment as a non-taxable deposit and taxes the usage it covers when that usage is invoiced. Use consumption when the scoped products have different tax codes.
prepaid.overageWhat happens once it’s used up. billAtRate (the default) invoices further usage at the normal rate. block refuses usage beyond the commit.

How it bills

An invoiced minimum. Halberd’s contract review spend for 2027 comes to $112,300.00. The invoice that closes the term adds a true-up:

StepValue
Commit amount12000000 = $120,000.00
Spend in scope for the term (balance.consumed)11230000 = $112,300.00
True-up12000000 − 11230000 = 770000
Invoice lineAnnual minimum commitment: $7,700.00

A prepaid commit. Northwind prepays Trey Research $50,000.00 for 2027, invoiced on 1 January. By the end of October, Northwind’s usage has drawn down $47,100.00 of it. November’s usage comes to $4,350.00:

StepValue
Remaining at the start of November$50,000.00 − $47,100.00 = $2,900.00
November usage$4,350.00
Drawn from the commit$2,900.00, leaving $0.00
Billed at the normal rate (overage: "billAtRate")$4,350.00 − $2,900.00 = $1,450.00

The invoice shows November’s usage in full, with the part drawn from the commit offset against it, so Northwind sees exactly what the prepayment covered. Draw-downs also show in usage summaries as commitDrawdown parts.

Track a commit

Retrieve a commit to see its balance: how much has been consumed, how much is remaining, and asOf, when that was calculated. Both are integers in minor units, after negotiated pricing and rate card modifiers and before tax. List commits by order or customer.

Commits and amendments

When an amendment shortens the order before a commit ends, the commit ends on the new date. Its amount keeps what was committed, and proratedAmount holds that amount prorated by day, as an exact decimal string in minor units. The true-up and balance.remaining work from the exact amount, and the true-up line is rounded half-up once. If Halberd’s order is shortened to end on 1 October 2027, its minimum covers 273 of the year’s 365 days: 12000000 × 273 ÷ 365 = "8975342.465753424657534", about $89,753.42.

An amendment that extends the order leaves its commits unchanged. A 2027 minimum still trues up at the end of 2027; add a commit for the extra time in the same amendment if the deal has one.

Change or end a commit

A commit’s amount, type, scope and period can’t change. Update only its name, displayName, taxCode and metadata; a new label or tax code applies to invoices issued afterwards. To change the terms, archive the commit and create another.

Archive a commit to end it. An archived minimum adds no further true-ups. Archiving a prepaid commit forfeits what’s left on it, so it needs forfeitRemaining: true.