# Customer Sub Branch Based Sale Report

<p class="doc-lead">Period sales and returns for a parent customer and each active sub-customer — counts, values, net, and sale balance, with optional item lines.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/sales/reports/sub-customer-sale-report?id=overview">Overview</a>
<a href="#/sales/reports/sub-customer-sale-report?id=use-cases">Use Cases</a>
<a href="#/sales/reports/sub-customer-sale-report?id=filters">Filters</a>
<a href="#/sales/reports/sub-customer-sale-report?id=layout">Layout &amp; columns</a>
<a href="#/sales/reports/sub-customer-sale-report?id=actions">Actions</a>
<a href="#/sales/reports/sub-customer-sale-report?id=faq">FAQ</a>
</div>
</div>

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

<h2 id="overview">Overview</h2>

Go to <b>Sales → Customer Reports → Sub Branch Sale Report</b>.

Report title in ERP: <b>Customer Sub Branch Based Sale Report</b>

<p><b>What it shows.</b> A <b>Summary</b> row for the parent and each active sub-customer, with sale count/value, return count/value, <b>Net Value</b>, and <b>Sale Balance</b>. Below the summary, each branch has its sale invoices and credit notes. Use <b>Show Items</b> to expand invoice lines.</p>

<p><b>When to use it.</b> Review multi-outlet accounts when each outlet is a sub-customer under one parent.</p>

<p><b>How amounts are calculated.</b> A parent customer is required. The report loads the parent plus active sub-customers. Sale figures use approved and closed invoices in the date range; turn on <b>Include Pre-approved</b> to add pre-approved invoices. Returns are approved and closed credit notes in the same range. <b>Net Value</b> is sale value minus return value. <b>Sale Balance</b> is the sum of remaining invoice balances for those sales (not a ledger outstanding figure).</p>

<img src="sales/images/sub-customer-sale-report.webp" alt="Customer Sub Branch Based Sale Report with branch customer, amount, and tax" loading="lazy">

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

<h2 id="use-cases">Use Cases</h2>

<ul>
<li><b>Multi-outlet review</b> — Compare Sale Value and Net Value across sub-customers.</li>
<li><b>Unpaid by outlet</b> — Use <b>Sale Balance</b> to see which branch still has unpaid invoices from the period.</li>
<li><b>Item check</b> — Turn on <b>Show Items</b> to audit SKUs on each branch’s bills.</li>
</ul>

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

<h2 id="filters">Filters</h2>

<p><b>Header (quick filters)</b></p>

<ul>
<li><b>Customer</b> — required parent customer. The report does not run without a parent.</li>
<li><b>Date</b> — date range for invoices and credit notes. Defaults to the current month.</li>
<li><b>Show Items</b> / <b>Hide Items</b> — show or hide item lines on invoices and credit notes.</li>
</ul>

<p><b>More</b></p>

<ul>
<li><b>Include Pre-approved</b> — include pre-approved sale invoices.</li>
</ul>

<p>There is no Advanced Filter and no separate sub-customer picker — all active sub-customers under the parent are included.</p>

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

<h2 id="layout">Layout &amp; columns</h2>

<p>The header block shows <b>Parent Customer</b>, <b>Customer Code</b>, <b>Phone</b>, <b>Email</b>, and <b>Period</b>.</p>

<h3 id="summary">Summary</h3>

| **Column** | **Description** |
|------------|-----------------|
| Sub Customer | Branch name. Parent row is tagged <b>Parent</b>. |
| Party Code | Party code. |
| Phone | Phone. |
| Sale Count | Number of sale invoices. |
| Sale Value | Sum of invoice totals. |
| Return Count | Number of credit notes. |
| Return Value | Sum of credit note totals. |
| Net Value | Sale Value minus Return Value. |
| Sale Balance | Sum of remaining balances on the period’s sale invoices. |
| Footer Total | Column totals. |

<h3 id="sale-invoices">Sale Invoices (per branch)</h3>

| **Column** | **Description** |
|------------|-----------------|
| Date / Inv No. | Invoice date and number. |
| Item / Unit / Rate* / Qty / Tax % / Tax Amount / Total | Shown when <b>Show Items</b> is on. |
| Tax Amount | Shown when items are hidden. |
| Shipping / Roundoff | Shown when those amounts exist. |
| Bill Total | Invoice total. |
| Bill Balance | Remaining invoice balance. |

<h3 id="credit-notes">Credit Notes (per branch)</h3>

| **Column** | **Description** |
|------------|-----------------|
| Date / Inv No. | Credit note date and number. |
| SaleInv | Linked sale invoice. |
| Damaged | <b>Damaged</b> when the return is inventory-less, otherwise -. |
| Item lines | Same item columns as invoices when <b>Show Items</b> is on. |
| Bill Total | Credit note total. |

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

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

<ul>
<li><b>Generate</b> — run the report for the selected parent and date range</li>
<li><b>Show Items</b> / <b>Hide Items</b> — toggle item lines</li>
<li><b>More</b> — <b>Include Pre-approved</b></li>
<li><b>Export</b> — export to Excel</li>
<li><b>Print</b> — print the report (company header included)</li>
</ul>

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

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

<p><b>What is a sub-customer?</b><br>A child customer linked to a parent (<b>Sub customer</b> on the child). Common for outlets of one corporate buyer.</p>

<p><b>Why is the column Sale Balance, not Outstanding?</b><br>Sale Balance is unpaid amount on the invoices in this period only. It is not the full ledger outstanding. For all open bills on the parent and sub-branches, use <a href="#/sales/reports/customer-outstanding">Customer Outstanding Bills</a>.</p>

<p><b>Are inactive sub-customers included?</b><br>No. Only active sub-customers.</p>

<p><b>How is this different from Shipping Address Based Sale Report?</b><br>This report splits by sub-customer account. <a href="#/sales/reports/shipping-report">Shipping Address Based Sale Report</a> splits one customer’s invoices by shipping address.</p>

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

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

<ul>
<li><a href="#/sales/reports/shipping-report">Shipping Address Based Sale Report</a></li>
<li><a href="#/sales/reports/customer-outstanding">Customer Outstanding Bills</a></li>
<li><a href="#/sales/reports/customer-wise-sale-report">Customer Wise Sale Report</a></li>
</ul>
