> 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). Agents can also search and read this documentation through its [MCP server](https://kb.logicerp.com/~gitbook/mcp).

# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F9RNQXAac1g842mhHgQra%2FAdmin%20Setup%20-%20Credit%20Note%20Validity%20(Days).png?alt=media&amp;token=8c1b405c-1730-4421-a9dc-aca3e54066f2" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FNZFBI3hkolJhGDCmoJ2Z%2FPrompt%20for%20EXp.png?alt=media&amp;token=ba0a62d4-78f7-4a64-9d64-0fb5589019ce" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
