> 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/setups/setup-accounts/setup-customer-database/setup-customer-discount-cards-and-allocating-discount-cards.md).

# Setup Customer Discount Cards & Allocating Discount Cards

**YouTube:** [How to Set Up Customer Loyalty Discount Cards?](https://www.youtube.com/watch?v=dSgau-9QBno)

## How to Set Up Customer Loyalty Discount Cards?

In this tutorial, we will learn how to **create and apply customer discount cards in Logic ERP**, including slab configuration, card issuance, customer allocation, and discount application during billing.

***

### Creating Discount Slab Types

To begin, define the discount slab type.

* Navigate to **Setup Module**
* Under **Setup Accounts** Open **Setup Customer Database**
* Click on **Setup Discount Slab Types**

**Define Slab Type**

* Enter the **Slab Name**
* Enter the **Short Name**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fr5cpPAShRU5KrD99Wj1i%2FSetup%20Discount%20Slab%20Type.png?alt=media&amp;token=6aafff70-e832-4fb8-a51a-35e07bd76b9d" alt=""><figcaption></figcaption></figure>

* Click **Save**

***

### Configuring Discount Slabs

Next, define the discount values for the slab.

* From the **Setup Customer Database**, open **Setup Discount Slab.**
* Select the required **Slab Name** from the dropdown

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FB8t3vosQLvAvZBflhxlD%2FSlab%20Dropdown.png?alt=media&amp;token=0aa48d88-aa9f-42cc-9660-e7603ab9f7a1" alt=""><figcaption></figcaption></figure>

* Define the **Slab Value** (minimum bill amount)
* Choose the appropriate **Discount Option** (e.g., percentage or flat)

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FaISePSQYutXC6YMfs83A%2FSlab%20Value.png?alt=media&amp;token=7415c5bb-cef9-4acf-812b-945b2289fb55" alt=""><figcaption></figcaption></figure>

* Click **Save**

***

### Creating Customer Discount Cards

Now, create discount cards based on the defined slab.

* From the **Main Menu**, open **Setup Customer Discount Cards**

**Define Discount Card Details**

* Enter the **Card Prefix**
* Specify the **Number of Discount Cards** to be issued
* Define the **Issue Date**
* Define the **Expiry Date**
* Select the **Discount Slab** created earlier

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F97xpIKCaH5raxqeNtjyP%2FDiscount%20Card.png?alt=media&amp;token=f37fb084-22b3-4ef2-953d-1730272a57bf" alt=""><figcaption></figcaption></figure>

* Click **Save**

***

### Reviewing and Allocating Discount Cards

* Go to **Edit Entry**
* Select the required **Discount Card**
* Click **Refresh**
* Allocate the selected **Discount Card to Customers**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FPuvvk5kGJ555OZSGtpkF%2FSelect%20Cutomer.png?alt=media&amp;token=f49fbf69-0e6e-4889-aac8-a2251565fc67" alt=""><figcaption></figcaption></figure>

* Click **Save** to complete the allocation

***

### Applying Discount Card During Sales Billing

Now, let’s see how the discount card works during billing.

#### Scenario 1: Bill Value Below Slab Limit

* Open the **Sales Bill** window
* Initiate a **New Transaction**
* Enter items with a bill value **less than the defined slab amount**
* Select the customer who has been allocated the discount card
* Save the bill

***Result:***\
No discount appears under available discounts, as the slab condition is not met.

#### Scenario 2: Bill Value Meets or Exceeds Slab Limit

* Increase the bill amount to **match or exceed the slab value**
* Save the voucher again
* At this point, a prompt showing all available schemes will appear on the screen.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FqB3AvKY9dhkreZcZYXPL%2FDiscount%20Card%20Applied.png?alt=media&amp;token=0d98567d-dacd-4e1c-b899-93bdef04fd74" alt=""><figcaption></figcaption></figure>

***Result:***

* The **Loyalty / Discount Card–Wise Discount** is displayed
* Select the discount
* The **7% discount** is automatically applied to the bill

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FkupCspHq2svenPw80WRh%2FDisc%20Card%20Propt.png?alt=media&amp;token=11e5f5ad-fe3a-4dea-9309-e32050a321c4" alt=""><figcaption></figcaption></figure>

***

### Final Verification

* Review the discounted bill amount
* Ensure the discount is correctly applied before completing the transaction

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FiFPZUDlYpqUx8TcKhEdv%2FSale%20Bill.png?alt=media&amp;token=7b6c91d6-a7fa-493e-8f5f-92c5e7dc74f0" alt=""><figcaption></figcaption></figure>

***

### Conclusion

This completes the **Customer Discount Card setup in Logic ERP**, enabling loyalty-based discounts and automated slab-wise discount application during sales billing.


---

# 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/setups/setup-accounts/setup-customer-database/setup-customer-discount-cards-and-allocating-discount-cards.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.
