Apply discounts on sales documents
You can give a discount on one Item row or on the whole document. A manual discount suits a one-time decision. For discounts that repeat under fixed conditions, use a pricing rule, a promotional scheme, or a coupon code.
Prerequisites
- The Item has a price in the document's Price List.
- Your role can edit discount fields.
Discount one Item
- On a Quotation, Sales Order, Delivery Note, or Sales Invoice, add the Item.
- Open the row with the pencil icon.
- In the discount and margin section, enter Discount (%) on Price List Rate with Margin or Discount Amount.
- Check the Rate, the Net Rate, and the Amount.
- Save.
ERPNext calculates the row discount from the Price List Rate, plus any margin.
Discount the whole document
- In the Additional Discount section, set Apply Additional Discount On to Grand Total or Net Total.
- Enter Additional Discount Percentage or Additional Discount Amount.
- Check the taxes, totals, and rounding.
| Apply on | Effect |
|---|---|
| Net Total | ERPNext takes the discount from the total before taxes, then calculates the taxes on the lower amount. |
| Grand Total | ERPNext takes the discount from the total after taxes, then recalculates the Item and tax amounts so that the document stays consistent. |
Test with your own tax templates. Inclusive taxes and rounding change the breakdown.
Choose the right tool
| Need | Tool |
|---|---|
| A one-time discount on one Item | Row discount |
| A one-time discount on the whole document | Additional discount |
| A discount that applies under fixed conditions | Pricing rule |
| Several discount levels by quantity or amount | Promotional scheme |
| A free Item | Buy one, get one free rule |
| A code the customer enters | Coupon code |
| A markup on the list price | Add a margin |
Post discounts to a separate account
By default, a discount lowers the income on each Item row. To post discounts to a separate discount account, select Enable discount accounting for selling in Selling Settings and set the discount accounts. Check the General Ledger of a test invoice before you rely on it.
Troubleshooting
| Problem | Cause and fix |
|---|---|
| The discount fields are hidden | The row has no Price List Rate. Row discounts need a list price. |
| Your manual discount was replaced | A pricing rule applied. Check the rules, or select Ignore Pricing Rule. |
| The document is discounted twice | A pricing rule and a manual discount both apply. |
| The total is not what you expected | Check whether the discount applies on Net Total or Grand Total, then check taxes and rounding. |