> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/sales/display-last-rate-and-last-purchase-scheme-in-sales-bill.md).

# Display Last Rate & Last Purchase Scheme in Sales Bill

**YouTube:** [How to Display Last Rate & Last Purchase Scheme in Sales Bill?](https://www.youtube.com/watch?v=aRWYB0PiBZQ)

## How to Display Last Rate & Last Purchase Scheme in Sales Bill?

In this tutorial, we’ll show you how to quickly view the **last rate charged** and the **last purchase scheme** of an item during billing in Logic ERP.

***

### Generate a Sales Bill

* Open the **Sales Bill** window in Logic ERP.
* In the **Lot Search** window, press **F9** to open the **Lot Search Configuration** window.
* Enable the following options:
  * **Display Last Rate Charged**
  * **Display Last Purchase Scheme of Item**

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

* Save the configuration.

***

### Select the Required Lot

* In the **Lot Search** window, select the desired lot for the item.
* Proceed with the transaction.

The system will automatically display:

* The **Last Rate Charged** for the item.
* The **Bill Number and Date** where the item was last sold.

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

This makes the information available **in real-time**, without interrupting the billing process.

***

### View Last Rate Charged

* While billing, press **Enter** on the item.
* The system will display the **Last Transaction Rate**, along with the relevant bill details.

***

### View Last Purchase Scheme

* After checking the last rate, the **Last Purchase Scheme** window will appear.
* This window provides details such as:
  * **Last Purchase Rate** of the item
  * **Applied Schemes or Discounts** (e.g., Cash Discount, Quantity Schemes)
  * **Vendor Details** from the last purchase transaction

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

Example:\
You can see that a &#x35;**% Cash Discount (CD)** was applied in the item’s last purchase.

***

### Benefits of This Feature

* Quickly access **historical pricing and discounts** during billing.
* Ensure **accuracy and consistency** in applying discounts.
* Save time by avoiding manual searches for past billing data.


---

# 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://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/sales/display-last-rate-and-last-purchase-scheme-in-sales-bill.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.
