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

<Steps>
  <Step title="Define discount">
    Enter the discount in the discount field of the document.

    <img src="https://mintcdn.com/procuros-c35f505c/WEWxE_97bveYqyyM/Rabatt(1).jpg?fit=max&auto=format&n=WEWxE_97bveYqyyM&q=85&s=377245a34326dbb810dc7f190930ee8a" alt="Rabatt (1).jpg" width="1920" height="1080" data-path="Rabatt(1).jpg" />
  </Step>

  <Step title="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).
  </Step>
</Steps>

### Calculation Examples for Discounts

<Accordion title="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%`
</Accordion>

<Info>
  The correct calculation and representation of discounts is important for the acceptance of invoices by your trading partners.
</Info>
