> ## Documentation Index
> Fetch the complete documentation index at: https://zenskar.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Concepts: How contract-level minimum commitments work

> This document explains how a contract-level minimum commitment sets the least spend of the products of a contract that it covers, which products it covers, how its commitment evaluation modes decide when Zenskar bills a shortfall, and how the shortfall appears on the invoice.

## Contract-level minimum commitments

> [accordion] Map of concepts
>
> | Concept | Details |
> | - | - |
> | [Covered product](#covered-products-what-counts-toward-the-minimum) | The charges of each covered product count toward the contract-level minimum commitment, after its line-item discounts and the [contract-level discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-discount). |
> | [Carrier product](#carrier-products-a-line-for-the-shortfall) | If the shortfall appears as one line, a carrier product shows it. |

> [accordion] Related modules
>
> Contract-level minimum commitments use the following modules:
>
> | Module | Details |
> | - | - |
> | [Products](https://zenskar.com/docs/20260301/zenskar-modules/products/concepts/products.md#products-what-you-sell) | A contract-level minimum commitment covers products of the contract, and a carrier product can show its shortfall. |
>
> The following modules use contract-level minimum commitments:
>
> | Module | Details |
> | - | - |
> | Invoices | The shortfall of a contract-level minimum commitment appears on the invoice line items of its covered products, or of its carrier product. |

## Contract-level minimum commitments: the least spend across products

A **contract-level minimum commitment** is a [minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#minimum-commitment) on the total spend of the [products](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product) of a [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract) that it covers: every product of the contract, or the products that you select.

A contract-level minimum commitment covers products in one of two ways:

| Coverage | Products that the contract-level minimum commitment covers |
| - | - |
| Every product | Every product of the contract. A product that you add to the contract later is covered too. |
| Selected products | Only the products that you select. A product that you add to the contract later is not covered. |

A contract has at most one contract-level minimum commitment. It has a minimum amount in the currency of the contract, a [commitment period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-period), a start date, and an end date. The minimum applies to the charges of the [covered products](#covered-products-what-counts-toward-the-minimum) after the [line-item discounts](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-discount) of their [line items](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item), and before tax.

A contract-level minimum commitment matters when its covered products include [metered usage](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#metered-usage), which is not known in advance. A covered product with a fixed charge, such as a platform fee, counts toward the minimum too.

## Covered products: what counts toward the minimum

A **covered product** is a product whose charges count toward a contract-level minimum commitment, or are reduced by a [contract-level discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-discount).

Each covered product of a contract-level minimum commitment meets these conditions:

* It is billed postpaid, because Zenskar measures a [shortfall](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#shortfall) on charges that it has already billed.
* Its [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence) divides the commitment period evenly.

The start date and the end date of a contract-level minimum commitment fall on the boundaries of the [billing periods](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-period) of every covered product.

### Coverage of every product

For example, a customer commits to spend \$100,000 a year across API calls, a platform fee, and support hours. API calls and support hours are metered usage, and the platform fee is fixed. The contract-level minimum commitment covers every product. The actual spend for the year is:

| Product | Actual spend |
| - | - |
| API calls | \$60,000 |
| Platform fee | \$30,000 |
| Support hours | \$15,000 |
| Total of the covered products | \$105,000 |

The total spend of the covered products, \$105,000, meets the minimum of \$100,000, so Zenskar bills no shortfall. The products count together, so a high spend on API calls makes up for a low spend on support hours. If you add messages to the contract later, messages are a covered product too, and its spend counts toward the minimum.

### Coverage of selected products

For example, in the same contract, a contract-level minimum commitment of \$80,000 covers only API calls and support hours:

| Product | Actual spend | Covered product |
| - | - | - |
| API calls | \$60,000 | Yes |
| Platform fee | \$30,000 | No |
| Support hours | \$15,000 | Yes |
| Total of the covered products | \$75,000 | |

The total spend of the covered products, \$75,000, falls \$5,000 short of the minimum of \$80,000, so Zenskar bills a shortfall of \$5,000. The \$30,000 of platform fee does not count toward the minimum. If you add messages to the contract later, messages are not a covered product.

## Commitment evaluation modes for contract-level minimum commitments

A contract-level minimum commitment uses one of two [commitment evaluation modes](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-evaluation-mode):

| Commitment evaluation mode | How Zenskar compares the actual spend with the minimum |
| - | - |
| True-up | Zenskar compares the total spend of the covered products in the commitment period with the minimum. Zenskar bills the shortfall once, at the end of the commitment period. |
| Greedy | Zenskar compares the total spend of the covered products in each billing period with the share of the minimum for that billing period. Zenskar bills the shortfall on the invoice of that billing period. A share is never more than the part of the minimum that is not yet billed. |

With the greedy commitment evaluation mode, a billing period that exceeds its share credits back the shortfalls already billed in the commitment period.

The greedy commitment evaluation mode needs the same billing cadence for every covered product.

```mermaid theme={null}
gantt
  title An annual minimum commitment with quarterly billing
  dateFormat YYYY-MM-DD
  axisFormat %b
  tickInterval 1month
  section True-up
  Year, shortfall billed at the end        :2027-01-01, 2027-12-31
  section Greedy
  First-quarter invoice, shortfall billed  :2027-01-01, 2027-03-31
  Second-quarter invoice, shortfall billed :2027-04-01, 2027-06-30
  Third-quarter invoice, shortfall billed  :2027-07-01, 2027-09-30
  Fourth-quarter invoice, shortfall billed :2027-10-01, 2027-12-31
```

This conceptual diagram shows how the two commitment evaluation modes of a contract-level minimum commitment check an annual minimum with quarterly billing.

## Partial commitment periods

When the dates of a contract-level minimum commitment cover only part of a commitment period, Zenskar either prorates the minimum to the part that the dates cover, or applies the full minimum.

## Shortfall on the invoice

The shortfall of a contract-level minimum commitment appears on the invoice in one of two ways:

* Split among the covered products. Each share appears on the invoice line item of its covered product.
* As one line, on a [carrier product](#carrier-products-a-line-for-the-shortfall).

With the greedy commitment evaluation mode, the shortfall appears only on a carrier product. A credit back then reduces the line of the carrier product, so the charges of a covered product never fall below zero.

A shortfall split among the covered products is split in one of two ways:

| Split | Result |
| - | - |
| In proportion to what each covered product billed | A covered product that billed more carries more of the shortfall. |
| Equally | Every covered product carries the same share. |

For example, a customer commits to \$120,000 a year. The covered charges for the year are API calls \$50,000, platform fee \$30,000, and support hours \$20,000. The shortfall is \$20,000. With the proportional split, API calls carry \$10,000, platform fee \$6,000, and support hours \$4,000.

## Carrier products: a line for the shortfall

A **carrier product** is a product on the contract that shows the shortfall of a contract-level minimum commitment as its own invoice line. The shortfall replaces the charges of the carrier product.

A carrier product is never a covered product. It meets these conditions:

* It is a [point-in-time product](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#point-in-time-product-type), billed postpaid, with the [per-unit pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#per-unit-pricing-model).
* The dates of its line item cover the dates of the contract-level minimum commitment.
* With the true-up commitment evaluation mode, its billing cadence divides the commitment period evenly.
* With the greedy commitment evaluation mode, its billing cadence equals the billing cadence of every covered product.

See [Add a contract-level minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/minimum-commitments.md#add-a-contract-level-minimum-commitment).

## Line-item and contract-level minimum commitments compared

There are two kinds of [minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#minimum-commitment):

| Minimum commitment | What it sets |
| - | - |
| [Line-item minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/line-items/minimum-commitments.md) | The least spend or [quantity](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity) of one [line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item). Zenskar checks each line item against its own minimum. |
| [Contract-level minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-minimum-commitments.md) | The least total spend of the [products](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product) of the [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract) that it covers. Zenskar checks the [covered products](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#covered-product) together. |

### Example with line-item minimum commitments

A contract charges for four products. API calls, support hours, and messages are metered usage, and the platform fee is fixed. The customer commits to spend \$80,000 a year on API calls and support hours. With line-item minimum commitments, the \$80,000 is split between the line items of those two products:

| Product | Line-item minimum commitment | Actual spend | Result |
| - | - | - | - |
| API calls | \$50,000 | \$60,000 | \$10,000 above the minimum |
| Platform fee | None | \$30,000 | Not checked |
| Support hours | \$30,000 | \$15,000 | \$15,000 below the minimum |
| Messages | None | \$10,000 | Not checked |

The \$10,000 surplus of API calls does not count toward support hours, so Zenskar bills a [shortfall](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#shortfall) of \$15,000 for support hours.

### Example with a contract-level minimum commitment

The same contract has one contract-level minimum commitment of \$80,000 that covers only API calls and support hours:

| Product | Covered product | Actual spend |
| - | - | - |
| API calls | Yes | \$60,000 |
| Platform fee | No | \$30,000 |
| Support hours | Yes | \$15,000 |
| Messages | No | \$10,000 |
| Total of the covered products | | \$75,000 |

The total of \$75,000 falls \$5,000 short of the minimum of \$80,000. The surplus of API calls makes up for part of the low spend on support hours, so Zenskar bills a shortfall of only \$5,000.

### Differences in the example

| | Line-item minimum commitments | Contract-level minimum commitment |
| - | - | - |
| Minimum | \$50,000 on API calls, and \$30,000 on support hours | \$80,000 on API calls and support hours together |
| How Zenskar checks the minimum | Each product against its own minimum | The total of both products against one minimum |
| The \$10,000 surplus of API calls | Does not count toward support hours | Counts toward the minimum |
| Shortfall | \$15,000, on support hours | \$5,000, split between API calls and support hours, or on a [carrier product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#carrier-product) |
| Platform fee and messages | Do not count | Do not count |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.