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

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


# Supplier discount codes (AP204000)

Last modified February 19, 2026

> You can use this window to add, edit, view, and delete supplier 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.

## Introduction

You can use this window to add, edit, view, and delete supplier discount codes defined in
your company.
To complete the configuration of supplier discounts, specify discount
series for each discount code in the [Supplier discounts (AP205000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-discounts-ap205000/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.

## What to do from this window

+ [Define supplier discount codes](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-discounts/about-supplier-discount-codes/define-supplier-discount-codes/index.md)
+ [Apply discounts to extended cost or unit cost](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-discounts/about-supplier-discount-codes/apply-discounts-to-extended-cost-or-unit-cost/index.md)

## The top part

In the top part, you can select a supplier whose discounts you want to configure.

<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">Element</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Supplier</td>
<td class="vismanet-table__cell">The supplier associated with the discount codes displayed in the window.</td>
</tr>

</table>


## The Discount codes tab

This table lists all the discount codes defined in the system for supplier discounts and you can use them to create new discount code series.

<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 supplier discount. Max. 10 characters, both numbers and letters.</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Description</td>
<td class="vismanet-table__cell">A brief description of the supplier discount. Max. 50 characters, both numbers and letters.</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 supplier discount, which can be one of the following options:</p>
<dl>
<dt>Line</dt>
<dd>The discount applies to a document line.</dd>
<dt>Group</dt>
<dd>The discount applies to multiple lines in the same document.</dd>
<dt>Document</dt>
<dd>The discount applies to the document amount.</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>Item</dt>
<dd>The discount is applied if the document includes specific items.</dd>
<dt>Item price class</dt>
<dd>The discount is applied if the document includes items from a specific item price class.</dd>
<dt>Location</dt>
<dd>The discount is applied if the document is associated with specific supplier location.</dd>
<dt>Item and location</dt>
<dd>The discount is applied if the document includes specific items purchased from specific supplier location.</dd>
<dt>Unconditional</dt>
<dd>The discount is applied to all documents unconditionally.</dd>
</dl>
<p>For a document-level discount, only one option is available:</p>
<dl>
<dt>Unconditional</dt>
<dd>The discount is applied to all documents unconditionally.</dd>
</dl>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Manual</td>
<td class="vismanet-table__cell">When this check box is selected, this supplier discount is excluded from automatic searches for the best available discount. You 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">When this check box is selected, 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 supplier 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">When this check box is selected, automatic numbering is used 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 in the <strong>Last number</strong> column you can instead specify a string to be used as a template for automatic numbering.</td>
</tr>

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

</table>


## The Calculation tab

This tab provides settings that are used for all discounts of this supplier.

<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">Element</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Apply line discount to</td>
<td class="vismanet-table__cell"><p>The way the line discount will be applied. Select one of the following options:</p>
<dl>
<dt>Extended cost</dt>
<dd>The discount will be applied to the line amount (that is, to the item&rsquo;s extended cost).</dd>
<dt>Unit cost</dt>
<dd>The discount will be applied to the item&rsquo;s unit cost.</dd>
</dl></td>
</tr>

</table>



---

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