A price list can contain, in increasing order of priority:

Percentage discounts to brands;

Percentage discounts to product groups;

Percentage discounts to individual products;

Special prices for individual products.

Therefore,

Product group discounts override brand discounts.

Product discounts override product group discounts.

Special prices for individual products take precedence over all the other rules.

If “Quantity discounts” are activated, and there is a quantity specified for a special price, the price only applies if sold quantity is equal or greater.

A discount for a product group also applies to all products that belong to the group’s subgroups.

If the price list contains discounts for both a parent group and a sub-group below it, and both of these discounts could be applied to a product, the sub-group overrides the parent.

A discount percentage is applied using the formula: discounted_price = price * (100 - discount_percent) / 100

Discounted net price is rounded to one more decimal place than the value of configuration parameter “conf_decimals”. Discounted prices with VAT are rounded to 2 places, except when account uses invoice calculation algorithm version 4 — then no rounding is used.

A discount percentage may also be a negative value. This results in a higher price after applying the discount.

By default, price lists do not cumulate. A discount percentage must be subtracted from initial price (product card price), not the previous price list!

If configuration parameters "client_pricelists_are_cumulative" = 1 or "warehouse_pricelists_are_cumulative" = 1 respectively, have been applied, then the discount percentage must be subtracted from end result from applying the previous price list.

By default, the last price wins (each price list overrides the previous one).

If configuration parameter "pricelist_order_of_preference" = "lowest_price" has been applied, the lowest price across all price lists must win instead.