> For the complete documentation index, see [llms.txt](https://helpwith.salesorder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpwith.salesorder.com/sales/sales-orders/discounts.md).

# Discounts

There are two methods:

### In a Document Line Item table Discount column <a href="#fyz42vv9afqk" id="fyz42vv9afqk"></a>

This method discounts the line item by the discount percentage entered into the Discount column in the respective row. The discount is not posted to the General Ledger.

How the discount is applied is configurable:

<mark style="color:orange;">Setup>Configuration>Accounting>Accounts>Discounts>Discount Calculation.</mark>

Choose and preset:

* Using Unit Price/Cost
* Using Total Pre-tax amount

Depending on the option selected in the Accounts configuration page, the discount is either applied to the Unit Price (i.e before the line total is calculated) or on the pre-tax amount (after the line total is calculated).

### In a Document Line Item table row using a Discount Item <a href="#o2zvmx3st39z" id="o2zvmx3st39z"></a>

This method uses a Discount Item to represent the Discount. To use this add the Discount Item onto the Line Item Table directly beneath the row you want to apply the discount to.

The Item applies the Discount percentage (or fixed amount) to the net amount (pre-tax) of the preceding Item’s unit price.

The discount is posted to the General Ledger. Set the account the Discount Item posts to on its Accounting tab.

### Display Discount % and the respective amount on screen, when printed. <a href="#zgixgl49pvs" id="zgixgl49pvs"></a>

There are two columns to display discount ‘Discount’ and ‘Total Discount’. These can be configured on the Document Template to display % and amount respectively.&#x20;

<mark style="color:orange;">Go to Sales Order>Configure>Sales Order Templates></mark> and choose the template.&#x20;

Check which column(s) and in what mode you want them to be displayed i.e. ‘...when printed’ and ‘...appear on screen’.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpwith.salesorder.com/sales/sales-orders/discounts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
