> ## 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.

# How-to guides: Manage discounts

> This document shows how to add a line-item discount, how to change the discount order, how to delete a line-item discount, and how to add, change, and remove a contract-level discount and its discount versions.

## Add a line-item discount

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract), you need **Can Create Contract** instead of **Can Update Contract**.

### Steps

1. Open the screen of the [line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item), and click **Discounts**. See [Edit a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#edit-a-line-item).

2. Click **Add discount**. The new [line-item discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-discount) uses the percentage [discount type](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-type), and the next [discount order](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-order).

3. In **Date range**, set the dates of the line-item discount. They must stay within the [line-item duration](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-duration).

   The dates of two line-item discounts can overlap. The dates of a line-item discount cannot overlap a [pricing version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#pricing-version) whose [pricing preset](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#pricing-preset) uses the [dimensional pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimensional-pricing-model).

4. Optional: In **Label**, enter a name for the line-item discount.

5. Under **Discount type**, select **Percentage**, **Fixed amount**, or **Quantity**.

6. For **Percentage**, in **Discount value**, enter the percentage, more than 0 and at most 100.

7. For **Fixed amount**, in **Discount amount**, enter the amount in the currency of the contract. Next to **resets every**, set the [discount cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-cadence). Monthly is the default.

8. For **Quantity**, in **Units per discount**, enter the number of free units. Next to **pool refreshes every**, set the discount cadence. The [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence) of the line item is the default.

   For either discount cadence, enter a number of months or years. The field also offers days and weeks, but Zenskar rejects a discount cadence shorter than a month.

9. Optional: For **Fixed amount** and **Quantity**, expand **Advanced**, and choose how Zenskar treats a discount cadence that the dates of the line-item discount cover only in part: **Prorate** or **Full**. **Prorate** is the default.

   > [!WARNING]
   >
   > For **Quantity**, the rounding options **Ceil** and **Half up** have no effect. Zenskar always rounds a prorated number of free units down. To give a whole number of free units in a partial discount cadence, select **Full**.

10. Click **SAVE CHANGES**.

See [Discounts tab: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/line-items.md#discounts-tab-fields-and-their-rules).

## Change the discount order

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.

### Steps

1. Open the screen of the line item, and click **Discounts**. See [Edit a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#edit-a-line-item).

2. Select the line-item discount in **Discounts timeline**.

3. Next to **Order**, click the arrow that increases or decreases the order.

   Zenskar applies the line-item discounts of a line item in increasing discount order, and each discount order is unique within a line item. A [quantity discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-discount) always applies before a [percentage discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#percentage-discount) or a [fixed-amount discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#fixed-amount-discount), whatever their discount orders. See [Discount types compared](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/line-items/discounts.md#discount-types-compared).

4. Click **SAVE CHANGES**.

See [Discounts tab: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/line-items.md#discounts-tab-fields-and-their-rules).

## Delete a line-item discount

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.

### Steps

1. Open the screen of the line item, and click **Discounts**. See [Edit a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#edit-a-line-item).
2. Select the line-item discount in **Discounts timeline**.
3. Click the delete icon.
4. Click **SAVE CHANGES**.

See [Discounts tab: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/line-items.md#discounts-tab-fields-and-their-rules).

## Add a contract-level discount

A [contract-level discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-discount) reduces the charges of all or selected [products](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product) of a contract, in addition to their line-item discounts. A contract has at most one.

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.

### Steps

1. On the contract screen, under **Features**, click **ADD FEATURE**. The **Contract features** screen opens on **Minimum Commitment**.

2. Click **Contract Discount**, and click **Add contract discount**. The screen shows a contract-level discount with the dates of the contract, **Percentage**, and **Everything on this contract**.

3. Click the start date and the end date of the contract-level discount, and select the dates.

   * If the start date of a [discount version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-version) falls inside a [billing period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-period) of a [covered product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#covered-product), it must be the first day of that billing period.
   * If the end date of a discount version falls inside a billing period of a covered product, it must be the last day of that billing period.

   When the billing periods of a product that you added later do not line up with those of the other covered products, set an [anchor date](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#anchor-date) on its line item. Zenskar checks the dates when you save an [active contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract), or when you publish a [draft contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#draft-contract). The date picker does not check them. See [Set anchor dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-anchor-dates) and [Rules for the start and end dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#rules-for-the-start-and-end-dates).

4. In **Discount type**, select **Percentage** or **Fixed amount**. A change from one to the other clears the value in **Percentage off** or **Amount off**.

   A [fixed-amount discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#fixed-amount-discount) covers only recurring charges, with the same [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence), billing periods that start on the same days, and the same [payment timing](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#payment-timing). Their billing must not change inside a discount cadence. A [percentage discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#percentage-discount) can cover products that are billed in any way. See [Products that a percentage and a fixed amount can cover](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#products-that-a-percentage-and-a-fixed-amount-can-cover).

5. In **Coverage**, select **Everything on this contract**, or point to **Selected products** and select the products.

   With **Everything on this contract**, a product that you add to the contract later is covered too. With **Selected products**, a line item that you add later for a selected product is covered too. A product that you add later must meet the same conditions as the other covered products, or Zenskar refuses to publish the contract, or to save an active contract. The [carrier product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#carrier-product) of a [contract-level minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-minimum-commitment) is never covered, and **Selected products** does not list it. If a product of the contract uses the [dimensional pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimensional-pricing-model) on any date, select **Selected products**, and leave that product out.

6. For **Percentage**, in **Percentage off**, enter a percentage, more than 0 and at most 100. For **Fixed amount**, in **Amount off**, enter an amount more than 0, in the currency of the contract.

   For a fixed-amount discount, the screen shows "off every" and the [discount cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-cadence) after the amount. The discount cadence is the billing cadence of the covered products. You cannot choose it.

   > [!WARNING]
   >
   > A contract-level minimum commitment sets the least that your [customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#customer) pays in each [commitment period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-period), whatever the discounts. So a percentage of 100 does not make the covered products free on dates that a contract-level minimum commitment also covers. See [Contract-level discounts and minimum commitments](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#contract-level-discounts-and-minimum-commitments).

7. For **Fixed amount**, expand **Partial period handling**, and select **Prorate** or **Charge full**. A discount cadence that is shorter than usual, such as the first one of a contract that starts on January 15, with products billed from the 1st, gets a share of the amount with **Prorate**, or the whole amount with **Charge full**.

8. Optional: Expand **Custom invoice label**, and in **Invoice label**, enter the label of the row that the contract-level discount adds on the [invoice](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice). Without a label, the row shows "Contract discount".

9. Click **SAVE FEATURES**.

10. Save the contract. See [Save and publish a contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/contracts.md#save-and-publish-a-contract).

See [Contract Discount: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/contracts.md#contract-discount-fields-and-their-rules).

## Add a version of a contract-level discount

A [discount version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-version) changes the settings of a contract-level discount from a date.

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.
* The contract has a contract-level discount.

### Steps

1. On the contract screen, under **Features**, on the card of the contract-level discount, click the edit icon. The **Contract features** screen opens on **Contract Discount**.

2. Click **ADD VERSION**. The **Add a version** dialog opens. **New version starts on** shows the day after the last discount version ends. If the last discount version ends on the end date of the contract, it shows today, or the nearest date of the contract.

3. Optional: In **New version starts on**, select another date.

   Discount versions cannot overlap. If a discount version already covers the date, it keeps its dates, and the two discount versions overlap. Change the dates of one of them. Until you do, **SAVE FEATURES** shows an error, and the screen stays open. A gap between two discount versions is allowed. No contract-level discount applies during a gap.

4. Click **ADD VERSION**. The new discount version copies the settings of the discount version before it, or of the first discount version if none comes before it. It ends on the day before the next discount version starts, or on the end date of the contract.

5. Optional: Click the end date of the new discount version, and select another date.

   * If the start date of a [discount version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-version) falls inside a [billing period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-period) of a [covered product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#covered-product), it must be the first day of that billing period.
   * If the end date of a discount version falls inside a billing period of a covered product, it must be the last day of that billing period.

   When the billing periods of a product that you added later do not line up with those of the other covered products, set an [anchor date](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#anchor-date) on its line item. Zenskar checks the dates when you save an [active contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract), or when you publish a [draft contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#draft-contract). The date picker does not check them. See [Set anchor dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-anchor-dates) and [Rules for the start and end dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#rules-for-the-start-and-end-dates).

6. Optional: In **Discount type**, select **Percentage** or **Fixed amount**. A change from one to the other clears the value in **Percentage off** or **Amount off**.

   A [fixed-amount discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#fixed-amount-discount) covers only recurring charges, with the same [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence), billing periods that start on the same days, and the same [payment timing](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#payment-timing). Their billing must not change inside a discount cadence. A [percentage discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#percentage-discount) can cover products that are billed in any way. See [Products that a percentage and a fixed amount can cover](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#products-that-a-percentage-and-a-fixed-amount-can-cover).

7. Optional: In **Coverage**, select **Everything on this contract**, or point to **Selected products** and select the products.

   With **Everything on this contract**, a product that you add to the contract later is covered too. With **Selected products**, a line item that you add later for a selected product is covered too. A product that you add later must meet the same conditions as the other covered products, or Zenskar refuses to publish the contract, or to save an active contract. The [carrier product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#carrier-product) of a [contract-level minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-minimum-commitment) is never covered, and **Selected products** does not list it. If a product of the contract uses the [dimensional pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimensional-pricing-model) on any date, select **Selected products**, and leave that product out.

8. In **Percentage off** or **Amount off**, enter the value of the new discount version.

   For a fixed-amount discount, the screen shows "off every" and the [discount cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-cadence) after the amount. The discount cadence is the billing cadence of the covered products. You cannot choose it.

   > [!WARNING]
   >
   > A contract-level minimum commitment sets the least that your [customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#customer) pays in each [commitment period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-period), whatever the discounts. So a percentage of 100 does not make the covered products free on dates that a contract-level minimum commitment also covers. See [Contract-level discounts and minimum commitments](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#contract-level-discounts-and-minimum-commitments).

9. Optional: For **Fixed amount**, expand **Partial period handling**, and select **Prorate** or **Charge full**. A discount cadence that is shorter than usual, such as the first one of a contract that starts on January 15, with products billed from the 1st, gets a share of the amount with **Prorate**, or the whole amount with **Charge full**.

10. Optional: Expand **Custom invoice label**, and change the label in **Invoice label**.

11. Click **SAVE FEATURES**.

12. Save the contract. See [Save and publish a contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/contracts.md#save-and-publish-a-contract).

See [Contract Discount: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/contracts.md#contract-discount-fields-and-their-rules).

## Change a contract-level discount

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.
* The contract has a contract-level discount.

### Steps

1. On the contract screen, under **Features**, on the card of the contract-level discount, click the edit icon. The **Contract features** screen opens on **Contract Discount**.

2. If the contract-level discount has several discount versions, click the discount version to change.

3. Optional: Click the start date or the end date of the discount version, and select another date.

   * If the start date of a [discount version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-version) falls inside a [billing period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-period) of a [covered product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#covered-product), it must be the first day of that billing period.
   * If the end date of a discount version falls inside a billing period of a covered product, it must be the last day of that billing period.

   When the billing periods of a product that you added later do not line up with those of the other covered products, set an [anchor date](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#anchor-date) on its line item. Zenskar checks the dates when you save an [active contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract), or when you publish a [draft contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#draft-contract). The date picker does not check them. See [Set anchor dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-anchor-dates) and [Rules for the start and end dates](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#rules-for-the-start-and-end-dates).

4. Optional: In **Discount type**, select **Percentage** or **Fixed amount**. A change from one to the other clears the value in **Percentage off** or **Amount off**.

   A [fixed-amount discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#fixed-amount-discount) covers only recurring charges, with the same [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence), billing periods that start on the same days, and the same [payment timing](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#payment-timing). Their billing must not change inside a discount cadence. A [percentage discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#percentage-discount) can cover products that are billed in any way. See [Products that a percentage and a fixed amount can cover](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#products-that-a-percentage-and-a-fixed-amount-can-cover).

5. Optional: In **Coverage**, select **Everything on this contract**, or point to **Selected products** and select the products.

   With **Everything on this contract**, a product that you add to the contract later is covered too. With **Selected products**, a line item that you add later for a selected product is covered too. A product that you add later must meet the same conditions as the other covered products, or Zenskar refuses to publish the contract, or to save an active contract. The [carrier product](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#carrier-product) of a [contract-level minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-level-minimum-commitment) is never covered, and **Selected products** does not list it. If a product of the contract uses the [dimensional pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimensional-pricing-model) on any date, select **Selected products**, and leave that product out.

6. Optional: Change the value in **Percentage off** or **Amount off**.

   For a fixed-amount discount, the screen shows "off every" and the [discount cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-cadence) after the amount. The discount cadence is the billing cadence of the covered products. You cannot choose it.

   > [!WARNING]
   >
   > A contract-level minimum commitment sets the least that your [customer](https://zenskar.com/docs/20260301/zenskar-modules/customers/glossary.md#customer) pays in each [commitment period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-period), whatever the discounts. So a percentage of 100 does not make the covered products free on dates that a contract-level minimum commitment also covers. See [Contract-level discounts and minimum commitments](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contract-level-discounts.md#contract-level-discounts-and-minimum-commitments).

7. Optional: For **Fixed amount**, expand **Partial period handling**, and select **Prorate** or **Charge full**. A discount cadence that is shorter than usual, such as the first one of a contract that starts on January 15, with products billed from the 1st, gets a share of the amount with **Prorate**, or the whole amount with **Charge full**.

8. Optional: Expand **Custom invoice label**, and change the label in **Invoice label**.

9. Click **SAVE FEATURES**.

10. Save the contract. See [Save and publish a contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/contracts.md#save-and-publish-a-contract).

    On an [active contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract), Zenskar recalculates the draft and upcoming invoices of the contract. Zenskar does not change an [approved invoice](https://zenskar.com/docs/20260301/zenskar-modules/invoices/glossary.md#invoice-status). The [invoicing configuration](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#invoicing-configuration) of the contract decides where an increase goes. Zenskar subtracts a decrease from the next invoices of the contract. See [Invoicing configurations: increases after approval](https://zenskar.com/docs/20260301/zenskar-modules/contracts/concepts/contracts.md#invoicing-configurations-increases-after-approval).

See [Contract Discount: fields and their rules](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/contracts.md#contract-discount-fields-and-their-rules).

## Remove a contract-level discount or a version

### Prerequisites

* You need a role with the **Can Read Contract** and **Can Update Contract** permissions. For a new contract, you need **Can Create Contract** instead of **Can Update Contract**.
* The contract has a contract-level discount.

### Steps

1. On the contract screen, under **Features**, find the card of the contract-level discount. If it has several discount versions, click **Version** *n* **of** *m* on the card, and select the discount version to remove.

2. Click the remove icon. With several discount versions, it removes the discount version that the card shows. With one, it removes the contract-level discount.

   > [!WARNING]
   >
   > The remove icon asks for no confirmation. Nothing is lost until you save the contract.

   For the dates of a removed discount version, no contract-level discount applies.

3. Save the contract. See [Save and publish a contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/contracts.md#save-and-publish-a-contract).


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