---
title: "About the order of supplier discount application"
description: "When a document is saved, supplier discounts of all levels are applied to the document automatically except for the discounts marked as manual (those for which the Manual discount check box is selected in the Supplier discount codes (AP204000) window)."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-discounts/maintain-supplier-discounts-overview/about-the-order-of-supplier-discount-application/index.md
lastmod: 2026-02-19
---

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


# About the order of supplier discount application

Last modified February 19, 2026

> When a document is saved, supplier discounts of all levels are applied to the document automatically except for the discounts marked as manual (those for which the Manual discount check box is selected in the Supplier discount codes (AP204000) window).


For more information: [Supplier discount codes (AP204000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-discount-codes-ap204000/index.md).

## Introduction

When a document is saved, supplier discounts of all levels are applied to the document
automatically except for the discounts marked as manual (those for which the **Manual discount** check box is selected in the [Supplier discount codes (AP204000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-discount-codes-ap204000/index.md) window).
This topic provides the details on the
order of discount application.

## Order of application for automatic discounts

For the automatic discounts, you do not have to specify the order of their application in any way and discounts are always applied in the following order:

+ Discounts of the **Line** type: When applying discounts to a sales order or invoice, the system checks the discounts for all document lines, and for each line it picks the best discount applicable.
+ Discounts of the **Group** type: The system checks applicable group discounts and applies all of them.
+ Discounts of the **Document** type: There can be only one best **Document** discount; that is why **Group** discounts (that apply to multiple lines of the document) are often used as **Document** discounts.

The following options (available in the [Supplier discount codes (AP204000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-discount-codes-ap204000/index.md) window) affect the order of discount application and the calculation of the discounts:

Exclude from discountable amount
:   By using this option (available for the **Line** discounts), you can exclude the discountable amount of the **Line** discount from the discountable amount for higher-level discounts (group and document). For example: By using this option, you can exclude items with a special 75% clearance discount defined at the line level from the basis for the usual 5% document discount the supplier offers on orders exceeding 2000€.

Skip document discount
:   This option is available for the **Group** discounts. If you design a **Group** discount to be applicable to multiple lines and significantly reduce the document total, select this option to not apply a **Document** discount.

## Interaction between supplier discounts and supplier prices

If a particular supplier company informs you about their prices intended for all their customers and their discounts, you can maintain the supplier's prices along with supplier discounts, and you will calculate supplier discounts based on discountable amounts calculated from the prices. If you maintain the prices offered by the supplier specifically to your company, maintain supplier prices by using the [Supplier prices (AP202000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-prices-ap202000/index.md) and the [Supplier inventory (PO201000)](https://docs.vismasoftware.no/visma-net-erp/help/purchases/purchases-windows/supplier-inventory-po201000/index.md) windows and do not configure supplier discounts. If the **Volume pricing** functionality is enabled in your system, the supplier prices available in the [Supplier inventory (PO201000)](https://docs.vismasoftware.no/visma-net-erp/help/purchases/purchases-windows/supplier-inventory-po201000/index.md) window will be automatically updated once the supplier prices specified for the "zero" tier (with 0 quantity) have been changed through the [Supplier prices (AP202000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-prices-ap202000/index.md) window.

## Application of auxiliary manual discounts

Manual discounts (discounts with the **Manual** check box selected in the [Supplier discount codes (AP204000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/supplier-discount-codes-ap204000/index.md) window) are applied when all automatic discounts have been
applied.
You can specify the manual discount for particular document lines by using the
**Document details** tab of the appropriate data entry windows:

+ [Purchase invoices (AP301000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/purchase-invoices-ap301000/index.md)
+ [Purchase orders (PO301000)](https://docs.vismasoftware.no/visma-net-erp/help/purchases/purchases-windows/purchase-orders-po301000/index.md)

To apply a manual discount, you can enter either the discount percent or the discount amount, and the system will recalculate other related values automatically.

## Automatic and manual discounts

The manual discounts are not applied automatically or selected as the best-available on
saving the document.
You apply such discounts manually to documents in the document entry
windows (either the [Purchase invoices (AP301000)](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-ledger-windows/purchase-invoices-ap301000/index.md) or the [Purchase orders (PO301000)](https://docs.vismasoftware.no/visma-net-erp/help/purchases/purchases-windows/purchase-orders-po301000/index.md)
window),
while automatic discounts of all levels are applied when the document is being saved.In a document, you can apply the manual **Line** discount by selecting the discount code
in the **Discount code** column of a particular line on the
**Document details** tab.
After the code has been selected and the
discount has been applied, other discounts are recalculated.To apply the manual **Group** or **Document** discounts, select each manual discount
by its code on the **Document details** tab of the appropriate document
entry window.
If the discount matches by conditions, it is applied.
If when adding manual
discounts, you change the line quantities, manual discounts are recalculated; they will not
be replaced by automatic discounts even if the latter result in greater discount amount.

## Ability to view discount details

You can view the details of all the discounts, automatic or manual that were applied to the document (purchase order or invoice) on the **Discount details** tab of the respective data entry windows (listed in the section above).

## Possibility to refresh discounts and prices for existing documents

For documents that were **On hold** for some time, you can update the discounts for the
document if you know that the prices or discounts were updated or new discounts have been
defined in the system.
To update the prices and discounts, use the **Recalculate prices and discounts** action in the window toolbars of the respective windows.
You
also can choose whether to replace manual discounts by automatic discounts to check whether
this change results currently in a larger total discount.
If you are not satisfied with the
result, you can apply the manual discounts.


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/supplier-ledger/supplier-discounts/maintain-supplier-discounts-overview/about-the-order-of-supplier-discount-application/)
