The Discount page under Settings → Sales → Orders defines the automatic rules Mokapen applies to sales orders: quantity discounts by product/service groups and tiered discounts on the total net amount. It is not a price list: it is the engine that, when conditions are met, writes percentages on the order (in cascade with customer discount, line discount and manual discount).
For day-to-day order use (lines, PDF, sync) see the Orders guide. For delivery costs see Shipping.
Path: Organization settings → Sales → Orders card → Discount.
In the UI items are numbered. «Stackable» means levels apply in cascade on the remaining base (percentages are not summed into one discount). Application order on line/order net:
discount_rate). No rules to edit on this page: «system feature».discount_rate from catalog or line). «Stackable» badge; the org rule editor for this level is not active in the UI (managed on product/service and order line).On the order document you can still add a manual discount (sales lever): it is the last cascade level, not a rule on this page.
For each line item (except «text-only %» types), Mokapen starts from price × quantity and applies in sequence:
Then it calculates VAT on the net after discounts. Shipping cost is added to order totals after line items (it is not a discount).
Simplified example (one €1,000 net line): customer 10% → 900; line 5% → 855; quantity 2% → 837.90; total-amount 1% → 829.52; manual 3% → about 804.64; then VAT. The percentages do not become a single «21%».
| Level | Where configured | Where it applies |
|---|---|---|
| Customer | Company record | Orders (and typically quotes) |
| Fixed item | Catalog / document line | Order line |
| Quantity | This page | Product/service lines on orders (+ portal cart where available) |
| Total net amount | This page | Order header |
| Manual | Order card («Add discount») | Order header |
Quotes: share customer / line / manual logic, but this page's org quantity and total-amount rules are designed for orders (they do not replace a dedicated quote price list).
A catalog group should not be repeated across overlapping rules: in the UI already-used options may be unselectable. If the line already has a saved quantity %, automatic recalculation may keep that value depending on totals sync options.
Q: Do percentages add up?
A: No: they apply in cascade on the remaining base.
Q: Can I edit the customer discount on this page?
A: No. It is set on the company in the directory.
Q: Does it also apply to quotes?
A: Customer/line/manual yes in document logic; this page's quantity and total rules are focused on orders.
Q: Where do I see the breakdown on the order?
A: In the totals block of the items section: levels appear separately when set.
Need help?