> ## Documentation Index
> Fetch the complete documentation index at: https://docs.procuros.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to set up Discounts

> Step by step guide to setting up discounts in Xentral

### Header Discounts (e.g., Invoice Discount)

Header discounts are applied at the document level:

**1. Define discount**

Enter the discount in the discount field of the document.

![Rabatt (1).jpg](https://mintcdn.com/procuros-c35f505c/WEWxE_97bveYqyyM/Rabatt\(1\).jpg?fit=max\&auto=format\&n=WEWxE_97bveYqyyM\&q=85\&s=377245a34326dbb810dc7f190930ee8a)

**2. For combined discounts**

For multiple discount levels, calculate the total combined discount and enter it. Depending on how the discounts are applied you need to calculate them differently.

You can find a spreadsheet tool to help you calculate the combined discount [here](https://docs.google.com/spreadsheets/d/186BCs-W_IrTwNoSy5CIm7iN-9fu6deYzAzBZmOraw1w/edit?gid=0#gid=0).

### Calculation Examples for Discounts

> [accordion] Examples for Discount Calculations
>
> 1. **Combined discount with different discount levels**:
>    * Example: 4% cash discount and 1.5% invoice discount plus 3% central purchasing discount
>    * Formula: `(1-((1-0.04)\*(1-(0.0015+0.03))) = 5.09%`
> 2. **Sum discount at the same level**:
>    * Example: 2% logistics discount and 1.5% invoice discount, which apply to the same level (initial price)
>    * Formula: `0.02+0.015 = 3.5%`

> [!NOTE]
>
> The correct calculation and representation of discounts is important for the acceptance of invoices by your trading partners.


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