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

# How commission rules work together

> Which commission applies when a partner has a custom rate, or when several dynamic, product and discount rules match the same sale

Commission rules (previously called *advanced commissions*) change the default commission for certain partners,
products or sales. You manage them under **Program** → **Settings** → **Commission** → **Set up rules**, or
**Manage rules** once you have some.

![Commission rules](https://mintcdn.com/partnero/xcE5PKolrcuK0iX-/images/image-93.png?fit=max\&auto=format\&n=xcE5PKolrcuK0iX-\&q=85\&s=8bb33b562ff36af049ca9a4a6080acd7)

| Tab | Use it to | Article |
| - | - | - |
| **Dynamic commissions** | Change the rate by partner performance, sale size, partner or customer tags, or how long the customer or partner has been in the program | [Dynamic commissions](https://docs.partnero.com/knowledge-base/commissions-rewards/create-dynamic-commissions.md) |
| **Product commissions** | Set a rate for specific products, product types or prices | [Product commissions](https://docs.partnero.com/knowledge-base/commissions-rewards/create-product-based-commissions.md) |
| **Goals** | Pay a bonus when a partner reaches a target | [Goal-based rewards](https://docs.partnero.com/knowledge-base/commissions-rewards/create-goal-based-rewards.md) |
| **Multi-level** | Pay partners on sales made by partners they recruited | [Multi-level commissions](https://docs.partnero.com/knowledge-base/commissions-rewards/multi-tier-commission.md) |
| **Discount-based** | Reduce the commission when a discount code was used | [Discount-based commissions](https://docs.partnero.com/knowledge-base/commissions-rewards/adjust-affiliate-commission-when-a-discount-code-is-used.md) |

## The order Partnero applies them in

For every referred sale, Partnero works out the commission in this order:

**1. Pick the rate**

* If the partner has a [custom commission](https://docs.partnero.com/knowledge-base/commissions-rewards/custom-commission-for-individual-partners.md),
  it's used and dynamic and product rules are skipped for that partner.
* Otherwise Partnero checks your dynamic and product rules. If one matches, its rate replaces the default
  commission.
* If nothing matches, the default commission applies.

**2. Calculate the amount**

The rate is applied to the [transaction amount](https://docs.partnero.com/knowledge-base/commissions-rewards/what-commissions-are-calculated-on.md),
or the fixed amount is used as-is. Commission rounding is applied here.

**3. Apply the discount-based adjustment**

If the customer used a discount code and you have discount-based rules, the commission is reduced by your
adjustment, for example to 50%.

**4. Convert the currency**

If currency conversion is on, the commission is converted to the program currency.

**5. Cap at the maximum commission**

If you set a maximum commission, anything above it is cut to the maximum.

Goal-based rewards and multi-level commissions don't change this commission. They are created as separate rewards, so
a partner can earn a sale commission and a goal bonus from the same sale.

If the customer has [additional partners](https://docs.partnero.com/knowledge-base/customers-leads/assigning-additional-partners-to-a-customer.md),
each of them also earns a separate commission on the sale, calculated with their own commission settings. Every
partner gets their full commission — it isn't split between them.

## When several rules match

* **Several dynamic tiers** — the one with the **highest** commission is used. For example, with 25% after 20
  customers and 30% after 50 customers, a partner with 60 customers gets 30%.
* **Several product rules** — the one with the highest commission is used.
* **A dynamic and a product rule** — the dynamic rule is used by default. To use the product rule instead, turn on
  **Prioritize product commission** on the **Product commissions** tab.
* **Rules limited to tagged partners** — a rule with a
  [partner tag filter](https://docs.partnero.com/knowledge-base/commissions-rewards/create-dynamic-commissions.md#limit-a-rule-to-a-group-of-partners)
  is ignored for partners who don't match it, so only the remaining rules compete.
* **Age periods** — once you add an
  [age period](https://docs.partnero.com/knowledge-base/commissions-rewards/create-dynamic-commissions.md#change-the-rate-by-customer-or-partner-age),
  tiers are set inside each period. A matching tier replaces its period's base commission, and if several periods
  match, the highest rate is used. If none of the periods apply, the default commission is used.

## Commission period

Rules don't extend the [commission period](https://docs.partnero.com/knowledge-base/commissions-rewards/guide-to-commission-set-up.md#set-the-commission-period).
When the period for a customer ends, no rule creates further commissions for them. Multi-level commissions have their
own period for each level.


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