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 ​

  1. On a Quotation, Sales Order, Delivery Note, or Sales Invoice, add the Item.
  2. Open the row with the pencil icon.
  3. In the discount and margin section, enter Discount (%) on Price List Rate with Margin or Discount Amount.
  4. Check the Rate, the Net Rate, and the Amount.
  5. Save.

ERPNext calculates the row discount from the Price List Rate, plus any margin.

Discount the whole document ​

  1. In the Additional Discount section, set Apply Additional Discount On to Grand Total or Net Total.
  2. Enter Additional Discount Percentage or Additional Discount Amount.
  3. Check the taxes, totals, and rounding.
Apply onEffect
Net TotalERPNext takes the discount from the total before taxes, then calculates the taxes on the lower amount.
Grand TotalERPNext 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 ​

NeedTool
A one-time discount on one ItemRow discount
A one-time discount on the whole documentAdditional discount
A discount that applies under fixed conditionsPricing rule
Several discount levels by quantity or amountPromotional scheme
A free ItemBuy one, get one free rule
A code the customer entersCoupon code
A markup on the list priceAdd 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 ​

ProblemCause and fix
The discount fields are hiddenThe row has no Price List Rate. Row discounts need a list price.
Your manual discount was replacedA pricing rule applied. Check the rules, or select Ignore Pricing Rule.
The document is discounted twiceA pricing rule and a manual discount both apply.
The total is not what you expectedCheck whether the discount applies on Net Total or Grand Total, then check taxes and rounding.