# Product expiry settings

### Enabling expiry for products <a href="#enabling-expiry-for-products" id="enabling-expiry-for-products"></a>

To enable expiry go to&#x20;

`Settings -> Business Settings -> Product section`

And check the “Enable Product Expiry” checkbox.

On enabling Product expiry, you can choose either “Add Item Expiry” or “Add manufacturing date & Expiry Period”

{% hint style="success" %}
**“Add Item expiry”** =>&#x20;

Choose this option if you want to directly add the expiry of the item to the purchase screen.
{% endhint %}

{% hint style="success" %}
**“Add manufacturing date & Expiry date”** =>

Choose this option if you want to add the manufacturing date of the item and the expiry period. Based on the manufacturing date and expiry period it will auto-calculate the expiry date. And this expiry date can be edited.&#x20;

You will have to add the expiry period for the product in the “Add or Edit Product” screen. And the manufacturing date in the “Add Purchase” screen.
{% endhint %}

### **On product expiry**

With this option, you can set what the system should do when a product expires.

1. **“Keep Selling”** => Choose this option if you want the application to keep selling the product even after expiry.
2. **“Stop Selling n days before”** => Choose this option to stop selling the item n days before the expiry. You will have to specify the value of n (which is the number of days before to stop selling)

### Stock expiry alert <a href="#stock-expiry-alert" id="stock-expiry-alert"></a>

1. You can view stock expiry alerts in the Homepage bottom section. Here it shows a list of products expiring soon.
2. You can set the number of days before which the expiry alter should be shown on the Homepage from `Settings -> Business Settings -> Dashboard Section` View Stock Expiry Alert For the input field.

### Displaying product expiry date in the invoice <a href="#displaying-product-expiry-date-in-the-invoice" id="displaying-product-expiry-date-in-the-invoice"></a>

1. Make sure the product expiry feature is enabled as mentioned above.
2. Go to invoice layout and enable “Show Product expiry”
3. If the product expiry date is added when adding Purchase or Opening stock then when making sales it will display the product expiry dropdown. Select the expiry date that you want to sell.  Then in the print invoice, it will show the expiry date.


---

# 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://docs.kbgfuzion.com/erp/knowledge-base/products/product-expiry-settings.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.
