# Credit Limit Setting

<p class="doc-lead">Credit Limit Settings define how much credit a customer, customer group, or customer category can use. Limits are evaluated when you approve sale quotations, orders, or invoices configured in the rule.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<div class="doc-toc-links">
<a href="#/sales/credit-limit-setting?id=overview">Overview</a>
<a href="#/sales/credit-limit-setting?id=fields">Fields</a>
<a href="#/sales/credit-limit-setting?id=how-it-works">How It Works</a>
<a href="#/sales/credit-limit-setting?id=actions">Actions</a>
<a href="#/sales/credit-limit-setting?id=faq">FAQ</a>
<a href="#/sales/credit-limit-setting?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

Go to <b>Sales → Settings → Credit Limit Settings</b> from the left menu.

Create one setting per scope (customer, group, category, or generic). Only active settings apply. When multiple settings could match, the most specific scope wins.

<b>List columns</b>

| **Column** | **Description** |
|------------|-----------------|
| Id | Setting record ID. |
| Date | Effective date of the credit limit rule. |
| Customer | Customer scope when set. |
| Customer Group | Group scope when set. |
| Customer Category | Category scope when set. |
| Bill Total | Maximum outstanding bill total allowed. |
| CustomerTotal | Maximum total outstanding for the customer. |
| Customer Bill Count | Maximum number of open bills allowed. |
| Maximum Credit Days | Maximum credit days allowed. |

<b>Quick filter tabs</b>

| **Tab** | **Shows** |
|---------|-----------|
| Active | Active credit limit settings (default). |
| Suspended | Suspended settings. |

<b>Advanced filters</b>

| **Filter** | **Description** |
|------------|-----------------|
| Id | Filter by record ID. |
| Customer, Customer Group, Customer Category | Scope filters. |
| Status | Active or Suspended. |

<b>List row actions</b>

| **Action** | **Description** |
|------------|-----------------|
| View | Opens read-only details. |
| Edit | Opens the edit form. |
| Delete | Removes the setting. |

<b>New Credit Limit Setting</b>

<img src="sales/images/creditlimit.webp" alt="Credit Limit Setting" loading="lazy">

<hr class="doc-section-divider">

<h2 id="fields">Fields</h2>

<h3>Basic</h3>

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Effective date of the credit limit rule. |
| Customer | Optional. Applies to one customer. Highest precedence when set. |
| Customer Group | Optional. Applies to all customers in the group when no customer-specific rule matches. |
| Customer Category | Optional. Applies when no customer or group rule matches. |
| Bill Total Limit | Maximum total value allowed on a single bill. |
| Credit Bill Count | Maximum number of open credit bills allowed for the customer. |
| Maximum Credit Days | Maximum age (days) allowed on outstanding credit before blocking new credit sales. |
| Customer Total Credit limit | Maximum total outstanding credit allowed across all open bills. |

<h3>Bypass &amp; Transaction Rules</h3>

| **Field** | **Description** |
|-----------|-----------------|
| Consider Cash Bills | When on, cash/settled bills count toward credit totals and bill count. When off, only credit terms bills are counted. Default: on. |
| Allowed Transaction Types | Which documents trigger the credit check on approve: Sale Invoice, Sale Order, Sale Quotation. Default: Sale Invoice only. |
| Users allowed to bypass | Users who can approve despite a credit limit breach. The bill is flagged as approved with bypass. |

<hr class="doc-section-divider">

<h2 id="how-it-works">How It Works</h2>

<h3>When it runs</h3>

Credit limits are checked on <b>Approve</b> for each transaction type selected under <b>Allowed Transaction Types</b>. Draft saves are not blocked.

<h3>Setting precedence</h3>

When multiple active credit limit settings exist, the system picks the most specific match in this order:

<ol>
<li><b>Customer</b> — setting with the customer's ID</li>
<li><b>Customer Group</b> — setting for the customer's group</li>
<li><b>Customer Category</b> — setting for the customer's category</li>
<li><b>Generic</b> — setting with no customer, group, or category (applies to all customers)</li>
</ol>

<h3>Limit checks</h3>

For the matched setting, approve is blocked (unless the user is in <b>Users allowed to bypass</b>) when any configured limit is exceeded:

| **Limit** | **What is compared** |
|-----------|----------------------|
| Bill Total Limit | Current bill total vs maximum single-bill amount |
| Customer Total Credit limit | Customer's total outstanding credit (per <b>Consider Cash Bills</b>) vs limit |
| Credit Bill Count | Count of open credit bills vs maximum count |
| Maximum Credit Days | Oldest outstanding credit age vs maximum days |

<h3>Connected reports</h3>

Monitor credit exposure using:

<ul>
<li><a href="#/sales/reports/customer-outstanding">Customer Outstanding Statement</a></li>
<li><a href="#/sales/reports/customer-aging">Customer Aging</a></li>
<li><a href="#/sales/reports/monthwise-outstanding">Month Wise Outstanding</a></li>
<li><a href="#/sales/reports/customer-statement">Customer Statement</a></li>
</ul>

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

<b>List header:</b> <b>New</b>

| **Action** | **Description** |
|------------|-----------------|
| Edit | Opens the credit limit form |
| Delete | Removes the setting |
| Clone | Creates a copy |
| Activate / Suspend | Enables or disables the setting |
| Print | Prints the setting detail |

<b>Form buttons:</b> <b>Save</b> / <b>Update</b>, <b>Reset</b>, <b>Cancel</b>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>Does credit limit apply on save?</b><br>
No. The check runs on <b>Approve</b> for the transaction types you select.

<b>Can one user override a blocked approve?</b><br>
Yes. Add the user under <b>Users allowed to bypass</b>. The transaction records that credit limit was bypassed on approve.

<b>Should I set limits at customer or group level?</b><br>
Use customer-specific limits for exceptions. Use group or category limits for tiered credit policies. Generic settings apply when nothing more specific matches.

<b>What types of limits can I set?</b><br>
Per-bill total, customer outstanding balance, maximum number of open credit bills, and maximum credit days from oldest open invoice.

<b>Do cash sales count toward the limit?</b><br>
Controlled by <b>Consider cash bills</b>. When off, cash and certain immediate pay modes may be excluded from outstanding and bill-count checks.

<b>Which documents are checked?</b><br>
Select allowed transaction types — typically sale invoice, and optionally sale order or quotation. The check runs on approve only.

<b>What happens when a user without bypass tries to exceed the limit?</b><br>
Approve is blocked. Users listed under <b>Users allowed to bypass</b> can confirm and proceed; the transaction records that credit limit was bypassed.

<hr class="doc-section-divider">

<h2 id="related">Related Topics</h2>

<ul>
<li><a href="#/sales/customers">Customers</a></li>
<li><a href="#/sales/customer-groups">Customer Groups</a></li>
<li><a href="#/sales/customer-categories">Customer Category</a></li>
<li><a href="#/sales/sale-invoice">Sale Invoice</a></li>
<li><a href="#/sales/sale-settings">Sale Settings hub</a></li>
</ul>
