# Setup Discount Coupon Groups for Item Filter

**YouTube:** [How to Set Up Item-Based Discount Coupon Application Using Coupon Groups?](https://youtu.be/kcfy8d69_og)

## How to Set Up Item Based Discount Coupon Application Using Coupon Groups?

In this tutorial, we will walk through the complete process of configuring **Discount Coupon Groups with Item Filters**. This setup ensures that discount coupons are applied **only to eligible items**, based on predefined group criteria.

***

### Navigate to Discount Coupon Configuration

* Navigate **Setup Module**
* Select **Setup Accounts**
* Click on **Setup Customer Database**
* Locate and select **"Set Up Discount Coupon Groups for Item Filter".**

> **Note:** Before enabling item-wise coupon filtering, discount coupon groups must be created.

***

### Create Discount Coupon Groups

* Open **Setup Discount Coupon Groups**
* Enter the **Discount Coupon Group Name**
* Define a **Short Name** for easy identification

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

**Select Discount Type:**

Choose the **Discount Reflection Method** in the bill.

* **Percent** – for percentage-based discounts

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

* **Value** – for fixed-amount discounts

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

* Select the **Default Discount Account** for accounting entry

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

* Click **Save** to record the configuration

***

### Configure Discount Coupon Group for Item Filter

* Open **Set Up Discount Coupon Groups for Item Filter**
* Select the required **Discount Coupon Group**

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

* Save the details

#### Allocate Items to Discount Group

* Navigate to **Allocate Items to Discount Group** tab
* Select the **Discount Coupon Group**
* Choose the **Items** eligible for the discount

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

* Click **Save** to confirm item allocation

***

### Create Discount Coupons

* Select the **Discount Coupon Group**

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

* Define the **Coupon Prefix**
* Enter the applicable **Discount Percentage or Value**

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

* Fill in additional required coupon details
* Select the **Discount Coupon Item Group** from the dropdown

<figure><img src="/files/58W5YctP378rIJgW3kW7" alt=""><figcaption></figcaption></figure>

* Click **Save** to complete the coupon setup

***

### Validate Coupon Application in Sales Bill

* Open the **Sales Bill** window
* Start a **New Transaction**

#### **Scenario 1: Item Not Linked to Discount Group**

* Add an item **not allocated** to the discount group
* Click **Discount Coupon**
* Search and apply the coupon
* Attempt to save the bill
  * System displays an **error message** indicating that the coupon cannot be applied due to item-group mismatch

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

#### **Scenario 2: Item Linked to Discount Group**

* Add an item **allocated** to the respective discount group
* Click **Discount Coupon** and **Search**

<figure><img src="/files/2L7SzAGxltaqObJpNjlM" alt=""><figcaption></figcaption></figure>

* Apply the coupon and **Save** the bill.

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

* The defined **10% discount** is successfully applied

***

### Conclusion

This configuration ensures **controlled and accurate discount application**, preventing unauthorized coupon usage and maintaining pricing integrity across transactions.


---

# 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-learning-hub-tutorials-and-best-practices/setups/setup-accounts/setup-customer-database/setup-discount-coupon-groups-for-item-filter.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.
