---
title: "Discount codes (AR209000)"
description: "You can use this window to add, edit, view, and delete the discount codes defined in your company."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/discount-codes-ar209000/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/llms.txt


# Discount codes (AR209000)

Last modified February 19, 2026

> You can use this window to add, edit, view, and delete the discount codes defined in your company.


This topic provides information about the elements in this window in Visma Net, such as fields, field values, buttons, and check boxes.

You can use this window to add, edit, view, and delete the discount codes defined in your
company.
To complete the configuration of discounts, you specify discount sequences for each
discount code in the [Discounts (AR209500)](https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/discounts-ar209500/index.md) window.

This window is available only if the **Customer and supplier discounts** functionality is enabled in the [Enable/disable functionalities (CS100000)](https://docs.vismasoftware.no/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md) window.

## The Discount codes table

This table contains all the discount codes defined in the system and can be used to create new discounts.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Column</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Discount code</td>
<td class="vismanet-table__cell">The unique code for the discount. You can use up to 10 characters, both letters and numbers.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Description</td>
<td class="vismanet-table__cell">A brief description of the discount. Use an alphanumeric string of up to 50 characters.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Discount type</td>
<td class="vismanet-table__cell"><p>The type of the discount, which can be one of the following options:</p>
<dl>
<dt>Line</dt>
<dd>The discount applies to a document line.</dd>
<dt>Document</dt>
<dd>The discount applies to the document amount.</dd>
<dt>Group</dt>
<dd>The discount applies to multiple lines in the same document.</dd>
</dl></td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Applicable to</td>
<td class="vismanet-table__cell"><p>The entity to which the discount may be applied. For a <strong>Line</strong> or
<strong>Group</strong> discount, you can select one of the following options:</p>
<dl>
<dt>Customer</dt>
<dd>The discount is applied if the document refers to a specific customer.</dd>
<dt>Item</dt>
<dd>The discount is applied if the document refers to a specific item.</dd>
<dt>Item price class</dt>
<dd>The discount is applied if the document refers to items of specific price class.</dd>
<dt>Customer and item</dt>
<dd>The discount is applied if the document refers to a specific customer and specific item.</dd>
<dt>Customer and item price class</dt>
<dd>The discount is applied if the document refers to a specific customer and items of a specific price class.</dd>
<dt>Customer price class</dt>
<dd>The discount is applied if the document refers to a customer of a specific customer price class.</dd>
<dt>Customer price class and item</dt>
<dd>The discount is applied if the document refers to a customer of a specific price class and a specific item.</dd>
<dt>Customer price class and item price class</dt>
<dd>The discount is applied if the document refers to a customer of a specific price class and to items of a specific price class.</dd>
<dt>Warehouse</dt>
<dd>The discount is applied if the document refers to a specific warehouse. (This option appears only if the <strong>Warehouses</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.)</dd>
<dt>Warehouse and item</dt>
<dd>The discount is applied if the document refers to a specific item sold from a specific warehouse. (This option appears only if the <strong>Warehouses</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.)</dd>
<dt>Warehouse and customer</dt>
<dd>The discount is applied if the document refers to a specific customer and a specific warehouse. (This option appears only if the <strong>Warehouses</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.)</dd>
<dt>Warehouse and item price class</dt>
<dd>The discount is applied if the document refers to a specific warehouse and items of a specific price class. (This option appears only if the <strong>Warehouses</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.)</dd>
<dt>Warehouse and customer price class</dt>
<dd>The discount is applied if the document refers to a specific warehouse and to a customer of a specific price class. (This option appears only if the <strong>Warehouses</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.)</dd>
<dt>Branch</dt>
<dd>The discount is applied if the document refers to a specific branch.</dd>
<dt>Unconditional</dt>
<dd>The discount is applied to all documents unconditionally.</dd>
</dl>
<p>For a <strong>document</strong> discount, the following options are available:</p>
<dl>
<dt>Customer</dt>
<dd>The discount is applied if the document refers to a specific customer.</dd>
<dt>Customer and branch</dt>
<dd>The discount is applied if the document refers to a specific customer and a specific branch.</dd>
<dt>Customer price class</dt>
<dd>The discount is applied if the document refers to a customer of specific customer price class.</dd>
<dt>Customer price class and branch</dt>
<dd>The discount is applied if the document refers to a customer of a specific customer price class and a specific branch.</dd>
<dt>Unconditional</dt>
<dd>The discount is applied to all documents unconditionally; this option is mostly used for promotional discounts.</dd>
</dl>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Applied to deferred revenue</td>
<td class="vismanet-table__cell">A check box that (if selected) indicates that a discount should be applied to a component price while computing a deferred revenue for the component. This option is applied to the <strong>Line</strong> discounts only. This check box is only available if the <strong>Deferred revenue management</strong> functionality is enabled in the <a href="/visma-net-erp/help/common-settings/enable-or-disable-functionalites/enable-disable-functionalities-cs100000/index.md">Enable/disable functionalities (CS100000)</a> window.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Manual</td>
<td class="vismanet-table__cell">A check box that (if selected) indicates that this discount is excluded from automatic searches for the best available discount. A user can, however, add manual discounts to a document line or to a document.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Exclude from discountable amount</td>
<td class="vismanet-table__cell">A check box that (if selected) indicates that the line amount is excluded from the amount that is the base for any applicable <strong>Group</strong> or <strong>Document</strong> discount. This option is available for only line-level discounts.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Skip document discounts</td>
<td class="vismanet-table__cell">A check box that indicates (if selected) that after this discount has been applied, no other applicable discounts should be applied. This option is available to only <strong>Group</strong> discounts.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Auto-numbering</td>
<td class="vismanet-table__cell">A check box that you select to use auto-numbering for generating IDs for series based on this discount code. By default, the discount code will be used as a prefix for generating series IDs, but you can instead specify in the <strong>Last number</strong> column a series of characters to be used as a template for auto-numbering.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Last number</td>
<td class="vismanet-table__cell">The last ID used for the series if series IDs are auto-numbered. If you enter a series of characters here before any series is created, the character series will be used as a template for auto-numbering. The character series may contain up to 10 characters with digits at the end. The last letter used divides the character series into a prefix and the integer to be auto-incremented. If no value is specified, the discount code will be used as a prefix.</td>
</tr>

</table>


<h2>Related pages</h2><h3>Concepts</h3>
<ul><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/about-discount-codes/index.md">About Discount codes</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/about-discounts/index.md">About discounts</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/about-discount-series/index.md">About discount series</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/about-discount-application/index.md">About discount application</a></li><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/about-discount-calculation/index.md">About discount calculation</a></li>
</ul><h3>Tasks</h3>
<ul><li><a href="/visma-net-erp/help/customer-ledger/manage-discounts/add-discount-codes/index.md">Add discount codes</a></li>
</ul><h3>Windows</h3>
<ul><li><a href="/visma-net-erp/help/customer-ledger/customer-ledger-windows/discounts-ar209500/index.md">Discounts (AR209500)</a></li>
</ul>


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/customer-ledger/customer-ledger-windows/discount-codes-ar209000/)
