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

# Reference: Line items

> This document presents the screens, fields, permissions, API operations, and troubleshooting of line items.

## Line-item screen: tabs and controls

**EDIT** on the card of a [line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item) opens the screen of the line item on **Pricing**. A row of the timeline on the card opens the screen on the matching tab.

| Element | Description |
| - | - |
| Title | The name of the [product](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product), with its [product type](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product-type) and [product subtype](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#product-subtype) |
| **Line Item Duration** | The [line-item duration](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-duration) |
| Date prompt | Shown after the line-item duration changes. **Apply to all**, or **Auto-fix** followed by the number of items, moves the dates of the other settings to the new line-item duration. **Not now** keeps them. |
| Date issues | The settings whose dates do not fit. Click an issue to open its tab. |
| Tabs | **Pricing**, **Billing**, **Quantity**, **Commitments**, **Discounts**, **Anchor Dates** |

| Button | Action |
| - | - |
| **CANCEL** | Closes the screen without changes. |
| **SAVE CHANGES** | Applies the changes to the [contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract). The changes apply when you save the contract. If a tab has errors, the screen names the tabs to fix. |

### Timelines and versions

A tab with versions shows a timeline when the setting has several versions.

| Control | Action |
| - | - |
| **Add version** | Adds a version at the end of the line item. When the last version runs to the end of the line item, the dashboard splits it on the first day of a month near its middle. When the last version ends before the line item, the new version fills the gap. |
| **Date Range** | Sets the dates of the selected version. A change of the start date moves the end of the previous version to the day before. |
| Delete icon | Deletes the selected version. A neighboring version extends over its dates. |

### Constraints: what the line-item screen accepts

| Property | Constraint |
| - | - |
| **Line Item Duration** | The line-item duration stays within the [contract duration](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#contract-duration). |
| **SAVE CHANGES** | The button is unavailable while date issues remain. |

## Pricing tab: pricing versions and overrides

| Field | Description |
| - | - |
| **Add version** | Opens the **Import Pricing Version** screen. |
| **Date Range** | The dates of the selected [pricing version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#pricing-version) |
| Fields of the [pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#pricing-model) | The values of the [pricing preset](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#pricing-preset). A changed field shows **Override**, and is a [price override](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#price-override). **Reset to catalog** returns the field to the value of the pricing preset. |

| Property | Constraint |
| - | - |
| Pricing versions | The pricing versions of a line item cover the whole line-item duration, without gaps or overlaps. |
| | A line item keeps at least one pricing version. |
| Price override | A price override changes the line item only. The pricing preset, and the other contracts that use it, do not change. |

### Import Pricing Version screen

| Element | Description |
| - | - |
| Pricing presets | The pricing presets of the product in the currency of the contract. The first one is selected. |
| **CANCEL** | Closes the screen. |
| **IMPORT VERSION** | Adds the selected pricing preset as a new pricing version. |

## Billing tab: fields and their rules

| Field | Default | Description |
| - | - | - |
| **Date Range** | The line-item duration | The dates of the selected [billing version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-version) |
| **Cadence** | The [billing cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-cadence) of the pricing preset, or **Monthly** | **Monthly**, **Quarterly**, **Semi-Annual**, **Annual**, or **Custom**. **Custom** takes a number and a unit. |
| **PAYMENT TIMING** | The [payment timing](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#payment-timing) of the pricing preset, or **Prepaid** | **Prepaid** or **Postpaid** |

A new billing version starts with the billing cadence and the payment timing of the previous billing version.

### Constraints: what the billing tab accepts

| Property | Constraint |
| - | - |
| Billing versions | Within each pricing version, the billing versions cover all the dates, or none. |
| **Cadence** | A custom billing cadence is a number of months or years. **Custom** also offers weeks, but Zenskar rejects a billing cadence shorter than a month. |
| | For a [period-of-time product](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#period-of-time-product-type), the billing cadence and the [pricing period](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#pricing-period) align: one is a whole multiple of the other. |
| | For a [point-in-time product](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#point-in-time-product-type) with the [volume pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#volume-pricing-model) or the [tiered pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#tiered-pricing-model), the billing cadence and the [tier-reset period](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#tier-reset-period) align: one is a whole multiple of the other. |
| | The billing cadence is a whole multiple of the [quantity cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-cadence) of each [quantity version](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-version) that it overlaps. |
| **PAYMENT TIMING** | A billing version cannot be prepaid where a quantity version counts [metered usage](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#metered-usage) with the [on-demand quantity strategy](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#on-demand-quantity-strategy). |
| | On an [active contract](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#active-contract), the payment timing cannot change on or before the end of the last invoiced [billing period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#billing-period) of the line item. A billing period counts as invoiced when its invoice is approved, partially paid, paid, void, or canceled. |

## Quantity tab: fields and their rules

| Field | Default | Description |
| - | - | - |
| **Date Range** | The line-item duration | The dates of the selected quantity version |
| **Mode** | The [quantity](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity) of the pricing preset, or **Recurring** with **Fixed value** | A grid. The rows set the [quantity strategy](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#quantity-strategy): **On demand** or **Recurring**. The columns set the source of the quantity: **Fixed value** or **Metered value**. |
| **CADENCE** | Monthly | Recurring only. The quantity cadence. |
| **PARTIAL PERIODS** | **Prorate** | Recurring only. The [partial-period handling](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#partial-period-handling): **Prorate** or **Charge full**. |
| **Billable Metric** | None | Metered value only. The [billable metric](https://zenskar.com/docs/20260301/zenskar-modules/usage/glossary.md#billable-metric) that measures the quantity. |
| Entries | One entry with the value 1 | Fixed value only. Each [quantity entry](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-entry) has a date or a date range, and a number of units. The list and its add button are named after the unit of the product and the kind of entry: amendments, allowances, or batches, such as **SEAT AMENDMENTS (1)** and **ADD AMENDMENT**. |
| **Breakdown** | None | Fixed value with the [dimensional pricing model](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimensional-pricing-model) only. The [quantity breakdown](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-breakdown) of each entry. |

Under the [recurring quantity strategy](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#recurring-quantity-strategy), an entry has a date range, and a new entry ends the previous entry on the day before. Under the on-demand quantity strategy, an entry has a single date.

### Constraints: what the quantity tab accepts

| Property | Constraint |
| - | - |
| Quantity versions | Within each pricing version, the quantity versions cover all the dates, or none. |
| **Mode** | **Metered value** under **On demand** cannot overlap a prepaid billing version. |
| **CADENCE** | The billing cadence is a whole multiple of the quantity cadence. |
| **Breakdown** | Each entry needs a quantity breakdown, except an entry with no units. |
| | The number of units of the entry is the sum of its quantity breakdown. |
| | The [dimension values](https://zenskar.com/docs/20260301/zenskar-modules/products/glossary.md#dimension-value) of the quantity breakdown match the dimensions of each pricing version that charges the entry. |

## Commitments tab: fields and their rules

| Field | Default | Description |
| - | - | - |
| **Add commitment** | None | Adds a [line-item minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-minimum-commitment). |
| **Date Range** | The line-item duration | The dates of the line-item minimum commitment |
| **Label** | None | Optional |
| **Strategy** | **Minimum Quantity** | **Minimum Spend** or **Minimum Quantity** |
| **Minimum Amount**, **Minimum Quantity** | 0 | The minimum, as an amount in the currency of the contract, or as a number of units |
| **Commitment Period** | One month | The [commitment period](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-period) |
| **Partial Period Handling** | **Prorate** | **Prorate** or **Full** |
| **Evaluation Mode** | **Cumulative** | Under **ADVANCED**. The [commitment evaluation mode](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#commitment-evaluation-mode): **Cumulative** or **Greedy**. |

### Constraints: what the commitments tab accepts

| Property | Constraint |
| - | - |
| **Date Range** | The dates stay within the line-item duration. |
| | The dates cannot overlap a pricing version whose pricing preset uses the dimensional pricing model. |
| **Strategy** | A [minimum-spend commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#minimum-spend-commitment) cannot overlap a prepaid billing version. |
| **Minimum Amount**, **Minimum Quantity** | The minimum is greater than 0. |
| **Commitment Period** | The commitment period is at least one month. |
| | The commitment period and the billing cadence align: one is a whole multiple of the other. |
| | The commitment period is a whole multiple of the quantity cadence of each quantity version under the recurring quantity strategy that it overlaps. |
| | On a period-of-time product with the recurring quantity strategy, the commitment period of a [minimum-quantity commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#minimum-quantity-commitment) equals the quantity cadence. |

## Discounts tab: fields and their rules

| Field | Default | Description |
| - | - | - |
| **Add discount** | None | Adds a [line-item discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#line-item-discount). |
| **Date range** | The line-item duration | The dates of the line-item discount |
| **Label** | None | Optional |
| **Order** | The next [discount order](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-order) | The arrows increase or decrease it. |
| **Discount type** | **Percentage** | The [discount type](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-type): **Percentage**, **Fixed amount**, or **Quantity** |
| **Discount value** | None | Percentage only. The percentage. |
| **Discount amount**, **resets every** | Monthly | Fixed amount only. The amount, in the currency of the contract, and the [discount cadence](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#discount-cadence). |
| **Units per discount**, **pool refreshes every** | The first billing cadence of the line item, or monthly | Quantity only. The number of free units, and the discount cadence. |
| **Advanced** | **Prorate**, **Floor** | Fixed amount and quantity only. How Zenskar treats a discount cadence that the dates of the line-item discount cover only in part: **Prorate** or **Full**. For quantity only, the rounding: **Floor**, **Ceil**, or **Half up**. |

### Constraints: what the discounts tab accepts

| Property | Constraint |
| - | - |
| **Date range** | The dates stay within the line-item duration. |
| | The dates of two line-item discounts can overlap. |
| | The dates cannot overlap a pricing version whose pricing preset uses the dimensional pricing model. |
| **Order** | Each discount order is unique within a line item. |
| | Zenskar applies the line-item discounts in increasing discount order. A [quantity discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#quantity-discount) 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. |
| **Discount value** | The percentage is more than 0 and at most 100. |
| **resets every**, **pool refreshes every** | The discount cadence is a number of months or years. The field also offers days and weeks, but Zenskar rejects a discount cadence shorter than a month. |
| **Advanced** | **Ceil** and **Half up** have no effect. Zenskar always rounds a prorated number of free units down. |

## Anchor Dates tab: fields and their rules

| Field | Description |
| - | - |
| **Add anchor date** | Adds an [anchor date](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#anchor-date). |
| **Date Range** | The dates that the anchor date applies to |
| **Anchor Date** | The anchor date |
| **Last day of month** | Starts each billing period on the last day of its month |

Without an anchor date, the billing periods of a line item count from the start date of the line item.

### Constraints: what the anchor dates tab accepts

| Property | Constraint |
| - | - |
| **Date Range** | The date ranges of two anchor dates cannot overlap. |
| | The date range stays within the line-item duration. |
| | The date ranges do not have to cover the whole line-item duration. |
| **Anchor Date** | The anchor date falls within its date range. |
| **Last day of month** | The checkbox appears only for an anchor date on the 28th or later. |
| | The checkbox has an effect only when the anchor date is the last day of its month. |

## Permissions

| Action | Required permissions |
| - | - |
| Add products to a contract, edit a line item, and remove a line item | **Can Read Contract** and **Can Update Contract**, or **Can Create Contract** for a new contract. Adding products also needs permissions to read products and pricing presets. |
| Add or change the pricing versions, billing, quantity, [minimum commitments](https://zenskar.com/docs/20260301/zenskar-modules/contracts/glossary.md#minimum-commitment), line-item discounts, and anchor dates of a line item | **Can Read Contract** and **Can Update Contract**, or **Can Create Contract** for a new contract |
| Create a product or a pricing preset from the list of products | **Can Create Product** and **Can Create Product Pricing** |

## API reference

Line items are part of a contract. See [API reference](https://zenskar.com/docs/20260301/zenskar-modules/contracts/reference/contracts.md#api-reference).

## Troubleshooting

| Problem | Cause | Solution |
| - | - | - |
| **SAVE CHANGES** is unavailable. | Date issues remain. | Fix the dates of each listed issue, as in [Edit a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#edit-a-line-item). |
| A pricing preset is missing from the list of products. | The list shows only the pricing presets in the currency of the contract. | Add a pricing preset in the currency of the contract, as in [Add a pricing preset](https://zenskar.com/docs/20260301/zenskar-modules/products/how-to-guides/pricing-presets.md#add-a-pricing-preset). |
| The screen reports an error on **Billing** for prepaid payment timing. | A quantity version counts metered usage with the on-demand quantity strategy. | Select **Postpaid** in **PAYMENT TIMING**. |
| The screen reports an error on **Billing** for the cadence. | The billing cadence does not align with the pricing period, the tier-reset period, or the quantity cadence. | Select a billing cadence that aligns with them, as in [Set the billing of a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-the-billing-of-a-line-item). |
| The screen rejects a custom billing cadence or a discount cadence in weeks or days. | Zenskar accepts only months or years. | Enter a number of months or years. |
| Zenskar rejects a change of payment timing on an active contract. | The change starts on or before the end of the last invoiced billing period. | Start the new billing version after the last invoiced billing period, as in [Set the billing of a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-the-billing-of-a-line-item). |
| The screen reports an error on **Quantity** for the cadence. | The billing cadence is not a whole multiple of the quantity cadence. | Select a quantity cadence that divides the billing cadence evenly. |
| The screen reports an error on **Commitments**. | The commitment period does not align with the billing cadence or the quantity cadence. | Set a commitment period that meets the constraints, as in [Add a line-item minimum commitment](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/minimum-commitments.md#add-a-line-item-minimum-commitment). |
| The screen rejects a minimum-spend commitment. | The commitment overlaps a prepaid billing version. | Select **Minimum Quantity**, or bill the line item postpaid, as in [Set the billing of a line item](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/line-items.md#set-the-billing-of-a-line-item). |
| The screen rejects the dates of a line-item discount or a line-item minimum commitment. | The dates overlap a pricing version with the dimensional pricing model. | Set dates outside the pricing versions with the dimensional pricing model. |
| A quantity discount gives fewer free units than expected in a partial discount cadence. | Zenskar always rounds a prorated number of free units down, whatever the rounding option. | Select **Full**, as in [Add a line-item discount](https://zenskar.com/docs/20260301/zenskar-modules/contracts/how-to-guides/discounts.md#add-a-line-item-discount). |
| **Last day of month** has no effect. | The anchor date is not the last day of its month. | Set the anchor date to the last day of its month. |


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