# Apply Freight Before or After Discount in Sale Bill

**YouTube:** [How to Apply Freight Before or After Discount in Sale Bill?](https://www.youtube.com/watch?v=WdYdkQ39Ofo)

## How to Apply Freight Before or After Discount in Sale Bill?

In this tutorial, we’ll guide you on how to configure **freight charges to be applied either before or after discounts** in Logic ERP.

***

### Generate a Sales Bill

* Create a **Sales Bill**.
* Transact an item and apply a **10% Cash Discount**.

<figure><img src="/files/gXfXZb80pkDTZ3mEQP7p" alt=""><figcaption></figcaption></figure>

* Now, add the **Freight Charges** in the **Other Details** section.

<figure><img src="/files/RteIjjxohjUyfbG2Bf7H" alt=""><figcaption></figcaption></figure>

In the **View Totals** window, notice that **freight is calculated after applying the discount**.

<figure><img src="/files/jiDFd5hofnMv2kn03c8E" alt=""><figcaption></figcaption></figure>

***

### Check the Current Calculation Mode

* Go to **Configuration → Calculation Mode**.

<figure><img src="/files/lVFhP6Lg6DvR7frQX0SM" alt=""><figcaption></figcaption></figure>

* Here, you’ll see that **all discounts are positioned before freight** in the calculation sequence.

<figure><img src="/files/XFa9J3mNSz9j3US8YfOW" alt=""><figcaption></figcaption></figure>

***

### Configure Freight Before Discount

* Change the **position of Freight** so that it appears **before the discount**.
  * If the discount calculation is set as **Item-wise**, then freight must also be configured as **Item-wise** in the Calculation Mode.

<figure><img src="/files/I3GsNxgHoeOkwcAG74zc" alt=""><figcaption></figcaption></figure>

* If you’re using **CD% (Cash Discount %)**, ensure the discount is set as **Cumulative**, so it applies after freight.

<figure><img src="/files/fDcuJsp5B1aqnIfzw9Dm" alt=""><figcaption></figcaption></figure>

Note:

* If you configure Calculation Mode **within the Sale Bill screen**, it will apply **only to that bill**.
* To apply the setting **for the entire series**, go to **Sale Voucher Configuration** and follow the same steps.

***

### Save and Verify

* Save the changes.
* Open the **View Totals** window.
* You will now see that **Freight is correctly calculated before applying the discount**.

<figure><img src="/files/PLvhpGjyIk72IgCrjBl4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/sales/apply-freight-before-or-after-discount-in-sale-bill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
