> 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/billing/link-retail-customers-with-bills.md).

# Link Retail Customers with Bills

**YouTube:** [How to Link Retail Customers with Sales Bills After Saving?](https://www.youtube.com/watch?v=fn6TKE0c5fg)

## How to Link Retail Customers with Sales Bills After Saving?

In this tutorial, we will learn how to **link a retail customer to an already generated sales bill in Logic ERP**.

***

### Generate a Retail Bill Without Customer Details

* Open the **Sales Bill** module.
* Scan the product and proceed with billing **without selecting or entering any retail customer details**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FYzFvL9WB6IbCl6KOVydn%2FSale%20Bill.png?alt=media&#x26;token=7dfa3533-2277-421e-bac6-fb2ceb2c5c2c" alt=""><figcaption></figcaption></figure>

* Enter the payment information.
* Save the bill.

The sales bill is now generated without any retail customer linked to it.

***

### Link a Retail Customer with an Existing Bill

You can link a retail customer either by modifying the bill or by using a faster and more efficient method.

#### Recommended Method: Link Retail Customers with Bills

* Open the **Link Retail Customers with Bills** module.
* Tick **Select Bills**, pick the bill to which you want to link a retail customer and click **OK**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fcl8J1XcawfBWXKOluxBF%2FSelect%20Bill.png?alt=media&#x26;token=f77dded6-d6fd-4bdc-9c84-104111af82f7" alt=""><figcaption></figcaption></figure>

* Select the bill again and click on **Link Retail Customer**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F5zXfkHbvgc5cbgUxBfmt%2FSelect%20Bill%20again.png?alt=media&#x26;token=ec2f8f14-9891-4d8c-914d-3684fe6e3d22" alt=""><figcaption></figcaption></figure>

* Choose the required retail customer from the list.
* Click **OK**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FcY42EGvz3b9hnsaSW2f8%2FChoose%20Retail%20Customer.png?alt=media&#x26;token=fe81c422-adb9-455d-9535-f49744519d86" alt=""><figcaption></figcaption></figure>

* Click **Yes** on the confirmation message to update the retail customer.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F3icWyttE5OeHiktUyIOa%2FPrompt.png?alt=media&#x26;token=48c69e9d-ec3a-470f-8f46-2ef41223454e" alt=""><figcaption></figcaption></figure>

The retail customer is now successfully linked to the selected sales bill.

**Points to note:**

* Only bills of the current branch and financial year that do not have a retail customer are listed.
* One bill is linked each time you click **Link Retail Customer**.
* A bill that is already linked to a customer cannot be changed here; the message "This bill is already linked to a Retail Customer..." appears.
* You need modify rights for sale bills, and the bill date must be open for changes.
* The customer's loyalty points for that bill are given when it is linked, unless **Do not Update Points in Modify Case** is ticked in **Set Customer Points Configuration**, or the series or customer is set not to use loyalty points.

***

### Verify the Updated Sale Bill

* Open the **Sales Bill** module.
* Search and open the updated bill.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FEbkjaqo9RBQHXRB1qDqB%2FDetails%20Added.png?alt=media&#x26;token=17566263-020f-4e7e-92e4-513b93a4097e" alt=""><figcaption></figcaption></figure>

As observed, the **retail customer details are now correctly reflected** in the sales bill, confirming that the linking process has been completed successfully.

***

### Conclusion

This feature allows you to:

* Generate quick retail bills without customer details
* Link customers later for accurate reporting and tracking
* Maintain clean customer-wise sales records in Logic ERP


---

# 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/billing/link-retail-customers-with-bills.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.
