> 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-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/credit-note-validity-days.md).

# Credit Note Validity (Days)

**YouTube:** [How to Configure Credit Note Validity Period for Linking in Sale Bill?](https://www.youtube.com/watch?v=XvLm4Xr8g_M)&#x20;

## How to Configure Credit Note Validity Period for Linking in Sale Bill?

In this tutorial, we will guide you through the process of enabling a setting in Logic ERP that restricts the use of expired credit notes during the sale billing process. This helps ensure financial accuracy and prevents misuse of outdated credit notes.

***

### **Enable Credit Note Validity Period**

* Open **Logic Admin**.
* Navigate to **Global Settings**.
* Go to **Sale Return Settings**.
* Locate the option: **"Credit Note Validity in Days"**.
* Enter the number of days that define the validity period for credit notes (e.g., 6 days).

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

* Click **Save** to apply the changes.
* Restart the software to activate the updated configuration.

***

### **Implement the Configuration During Billing**

* Open the **Sale Voucher** screen.
* Enter item details as usual.
* Press **F3** and click on the **Link** button to attach a Sale Return (Credit Note).
* A list of pending **Sale Return vouchers** will appear.
* Select a **Sale Return** voucher from the list.
* If the selected credit note is **older than the defined validity period**, the system will display the following message:

> **"Credit Note has expired."**

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

* The software will **prevent linking** the expired credit note to the sale bill.

***

### **Conclusion**

By configuring the **Credit Note Validity** setting, Logic ERP helps maintain strict control over the usage of credit notes, ensuring they are used within a predefined and valid timeframe. This feature strengthens your billing process and prevents errors due to outdated returns.


---

# 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-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/credit-note-validity-days.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.
