# Do not Allow Debit Balance of a Party while Billing

YouTube: [How To Disable Credit - Based Sales in the Sale Bill ?](https://www.youtube.com/watch?v=RlHkCD-kS6o)

## How To Disable Credit - Based Sales in the Sale Bill ?

 In this tutorial, we will explore how to **restrict debit balance** for a party while billing in **Logic ERP**. This feature ensures that sales transactions are processed only when payments are received, preventing unwanted credit transactions.

### **Accessing Sales Voucher Configuration**

1. Open **Sales Voucher Configuration** in Logic ERP.
2. Select the relevant **billing series** for which this restriction should apply.
3. Locate the feature labeled **"Do not allow debit balance of a party while billing."**
4. By default, this feature is **enabled**. Let’s see how it affects billing after enabling it.

<figure><img src="/files/RQMkOSpCu5XTCtU2AxYv" alt=""><figcaption><p> Let's enable this feature and observe its impact in Billing</p></figcaption></figure>

### **Attempting to Generate a Credit Bill After Enabling the Restriction**

* Try to **generate a sales bill in credit mode**.
* Upon saving, the software displays an **error message** stating that the party balance will become a debit and the bill **cannot be saved**.

<figure><img src="/files/Fq51lChOBG1AEbw9cJeV" alt=""><figcaption><p>As you can see, the software has prompted a notification.</p></figcaption></figure>

* To proceed, the bill must either:
  * Be processed in **cash mode**, or
  * Be covered by an **advance payment** from the party.
* **Handling Advance Payments**
  * Billing in credit mode is allowed up to the advance payment amount.
  * Verify advance payment in **Bank Receipts** (e.g., ₹3,600).
  * Generate a **sales bill in credit mode** within the advance amount.
  * If the bill exceeds the advance, an **error message** prompts adjustment.

### **Observing Default Behavior (Feature Disabled)**

* Generate a **sales voucher in credit mode** and save the bill.
* The bill is successfully saved in **credit mode** without any restrictions.
* To verify, check the **ledger report**, which confirms that the ledger posting has been reflected in Logic ERP accounts.

### **Verifying Ledger Posting**

* Once the bill is successfully saved, check the **ledger report**.

<figure><img src="/files/0G16tWfeCgX7yrgW5Ap5" alt=""><figcaption><p>As you can see, the ledger posting has been recorded under Cash in Hand.</p></figcaption></figure>

* The ledger now reflects:
  * The **advance payment amount**.
  * The **corresponding adjustments** made for the sales transaction.

<figure><img src="/files/BKpmhy9iJB7BKyf1KF9R" alt=""><figcaption><p>Here, you can see that the advance amount has been successfully posted in the ledger.</p></figcaption></figure>

#### **Conclusion**

By enabling this feature, Logic ERP ensures **better credit control** by restricting sales on credit unless a **valid advance payment** is received. This helps businesses maintain financial discipline and avoid excessive credit exposure.


---

# 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/configurations/sale-voucher-configuration/other-settings-1/do-not-allow-debit-balance-of-a-party-while-billing.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.
