> This page is for version Preview (default).
> For other versions, use one of these documentation indexes:
> - Preview (default): https://docs.preview.paid.ai/preview/llms.txt
> - Current: https://docs.preview.paid.ai/current/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.preview.paid.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.preview.paid.ai/_mcp/server.

# Commits

> Bill the spend commitments in your enterprise deals: a minimum with an automatic true-up, or a prepaid amount that usage draws down.

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](#invoiced-minimums) that adds a true-up line when usage falls short.
* **Take payment upfront** with a [prepaid commit](#prepaid-commits) 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](/credits/how-credits-work) instead.

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

## How a commit works

| `type`            | Your customer                                                        | Paid                                                                                             |
| ----------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `invoicedMinimum` | Pays 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.                                 |
| `prepaid`         | Pays `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.

#### API

[Create a commit](../api-reference/billing/commits/create) on the order, with its type, amount and period:

**`POST /v1/commits`**

```json title="POST /v1/commits"
{
  "order": "ord_5Kp2Wz",
  "type": "invoicedMinimum",
  "name": "Halberd 2027 minimum",
  "displayName": "Annual minimum commitment",
  "amount": 12000000,
  "currency": "usd",
  "period": "term",
  "scope": { "products": ["prod_6Wd3Lk"] }
}
```

**`Response`**

```json title="Response"
{
  "id": "cmt_5Wd1Hq",
  "object": "commit",
  "livemode": false,
  "order": "ord_5Kp2Wz",
  "customer": "cus_2Jm7Hd",
  "type": "invoicedMinimum",
  "invoicedMinimum": {},
  "prepaid": null,
  "amount": 12000000,
  "proratedAmount": null,
  "currency": "usd",
  "period": "term",
  "startsAt": "2027-01-01T00:00:00Z",
  "endsAt": "2028-01-01T00:00:00Z",
  "scope": { "products": ["prod_6Wd3Lk"] },
  "balance": {
    "consumed": 0,
    "remaining": 12000000,
    "asOf": "2026-12-15T10:00:00Z"
  },
  "name": "Halberd 2027 minimum",
  "displayName": "Annual minimum commitment",
  "taxCode": null,
  "metadata": {},
  "createdAt": "2026-12-15T10:00:00Z",
  "archivedAt": null
}
```

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](#add-a-commit-to-a-new-order).

#### Dashboard

> **Draft**
>
> These steps describe the planned v1 dashboard and will change before release.

1. Go to **Operate > Orders** and open Halberd's order.
2. Under **Commits**, click **Add commit** and choose **Invoiced minimum**.
3. Enter the amount (\$120,000.00) and choose **Whole term** as the period.
4. Optionally, limit the commit to the contract review product, and enter the **Display name**.
5. Click **Add commit**.

| Field                | What it's for                                                                                                                                                                                                        |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`               | Your label for the commit. Your customer never sees it.                                                                                                                                                              |
| `displayName`        | What your customer sees on invoices, credit notes, checkout and the portal, up to 250 characters. When it's `null`, they show `name`.                                                                                |
| `startsAt`, `endsAt` | Default to the order's term. They must fall inside it and line up with its billing periods.                                                                                                                          |
| `scope`              | `products` or `prices`, never both. Only spend on those counts toward the commit. Leave it out to count all eligible spend on the order.                                                                             |
| `taxCode`            | The 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](/orders-and-billing/orders#negotiated-terms), 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.

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

An [amendment](/orders-and-billing/amending-orders) 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:

| Counts                             | Doesn't count                           |
| ---------------------------------- | --------------------------------------- |
| Usage priced in money              | Recurring fees                          |
| Credit overage that's invoiced     | Setup fees                              |
| One-time credit purchases in scope | Percent-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.

| Setting                   | Values                                                                                                                                                                                                                                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `prepaid.invoiceBehavior` | `start` (the default) invoices the commit when it starts. `none` records a commit your customer paid outside Paid.                                                                                                                                                                                      |
| `prepaid.taxBehavior`     | `purchase` (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.overage`         | What 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:

| Step                                             | Value                                     |
| ------------------------------------------------ | ----------------------------------------- |
| Commit `amount`                                  | 12000000 = \$120,000.00                   |
| Spend in scope for the term (`balance.consumed`) | 11230000 = \$112,300.00                   |
| True-up                                          | 12000000 − 11230000 = 770000              |
| Invoice line                                     | Annual 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:

| Step                                                | Value                                    |
| --------------------------------------------------- | ---------------------------------------- |
| 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](/usage/usage-summaries) as `commitDrawdown` parts.

## Track a commit

[Retrieve a commit](../api-reference/billing/commits/retrieve) 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](../api-reference/billing/commits/list) by `order` or `customer`.

## Commits and amendments

When an [amendment](/orders-and-billing/amending-orders) 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](../api-reference/billing/commits/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](../api-reference/billing/commits/archive) 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`.

## Related

* [Orders](/orders-and-billing/orders)
* [Amend an order](/orders-and-billing/amending-orders)
* [Introduction to pricing](/core-concepts/introduction-to-pricing)
* [Commits API reference](../api-reference/billing/commits/create)