# Bill Wise Profit Report

<p class="doc-lead">Profit or loss for each sale invoice — sale amount, cost, returns, sale expenses, profit, markup %, and margin %. Use it to find the most and least profitable bills.</p>

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

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

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

Go to <b>Sales → Profit Reports → Bill Wise Profit Report</b>.

Report title in ERP: <b>Bill Wise Profit Report</b>

<p><b>What it shows.</b> One row per sale invoice with sale amount, sale cost, return amount, return cost, expense, profit, markup %, and margin %. Loss bills are highlighted in red.</p>

<p><b>When to use it.</b> Analyse which employees and customers generate the most profit, identify loss-making bills, and review pricing or discount decisions at invoice level.</p>

<p><b>How amounts are calculated.</b> Includes Approved and Closed sale invoices (opening invoices are excluded). <b>Sale Amount</b> is the invoice sale amount before tax. <b>Sale Cost</b> is cost of the goods sold from the invoice journal. Approved and Closed credit notes linked to the invoice add <b>Return Amount</b> (credit-note amount before tax) and <b>Return Cost</b> (reversed cost of the goods sold). <b>Expense</b> is Approved and Closed <a href="#/accounts/expense-entry">Expense</a> records linked to the invoice (amount minus tax), including expenses created with <b>Create Expense</b> on the invoice. <b>Profit</b> = (Sale Amount − Sale Cost) − (Return Amount − Return Cost) − Expense. <b>Markup %</b> is profit ÷ (Sale Cost − Return Cost). <b>Margin %</b> is profit ÷ (Sale Amount − Return Amount).</p>

<img src="sales/images/profit-bill-report.webp" alt="Bill Wise Profit Report with sale value, cost, and profit per invoice" loading="lazy">

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

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

<ul>
<li><b>Loss bill review</b> — Sort by Loss or Loss% to find invoices sold below cost.</li>
<li><b>Customer profitability</b> — Filter by <b>Customer</b> to see which accounts yield the best margins per bill.</li>
<li><b>Sales rep audit</b> — Filter by <b>Employee</b> to review discounting and margin on their bills.</li>
<li><b>Period margin check</b> — Export bill-wise profit for a month to validate gross margin.</li>
</ul>

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

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

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

<ul>
<li><b>Date</b> — date range for sale invoices. Defaults to today.</li>
<li><b>Customer</b></li>
<li><b>Employee</b> — respects your employee access in the Sale module.</li>
<li><b>Sort by Date</b> / <b>Sort by Profit</b> / <b>Sort by Loss</b> / <b>Sort by Profit%</b> / <b>Sort by Loss%</b></li>
<li><b>Show Monthly Totals</b> / <b>Hide Monthly Totals</b> — after the last bill of each month, insert a total row (sale amount, cost, returns, expense, profit, markup %, margin %). Bills stay in date order. Sorting by profit or loss hides the month rows; turn the button on again to sort by date and show them. The footer <b>Total</b> row remains the overall total.</li>
</ul>

<p><b>Advanced Filter</b> (filter icon) — additional fields:</p>

<ul>
<li><b>Customer</b></li>
<li><b>Customer Group</b></li>
<li><b>Customer Category</b></li>
<li><b>Center</b></li>
<li><b>Form Type</b> — sale type on the invoice</li>
<li><b>State / Province</b></li>
<li><b>Zone</b> *(when zone access is enabled)*</li>
<li><b>Branch</b> *(when multiple branch is enabled)*</li>
<li><b>Route</b> *(when route access is enabled)*</li>
</ul>

<p>Tap <b>Clear</b> after applying Advanced Filter to reset advanced filters.</p>

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

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

| **Column** | **Description** |
|------------|-----------------|
| Sl.No | Row number. |
| Date | Sale invoice date. |
| Inv No. | Sale invoice number. Click to open the invoice. |
| Customer | Customer on the bill. |
| Salesman | Employee first name on the invoice. |
| Sale Amount | Sale amount before tax on the invoice. |
| Sale Cost | Cost of goods sold for the invoice. |
| Return Amount | Sale amount before tax of Approved and Closed credit notes against the invoice. |
| Return Cost | Cost of the goods sold reversed on those credit notes. |
| Expense | Linked sale expenses (amount minus tax). See <a href="#/sales/sale-invoice?id=create-expense">Create Expense / Sale Expenses</a>. |
| Profit | (Sale Amount − Sale Cost) − (Return Amount − Return Cost) − Expense. |
| Markup % | Profit as a percentage of net cost (Sale Cost − Return Cost). |
| Margin % | Profit as a percentage of net sale (Sale Amount − Return Amount). |
| Footer Total | Column totals and overall markup % and margin %. |

<p>Loss rows (Profit less than zero) are highlighted in red.</p>

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

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

<ul>
<li><b>Generate</b> — run the report for the selected filters</li>
<li><b>Show Monthly Totals</b> / <b>Hide Monthly Totals</b></li>
<li><b>Advanced Filter</b> — open additional filter fields</li>
<li><b>Clear</b> — reset active advanced filters</li>
<li><b>Export</b> — export to Excel</li>
<li><b>Print</b> — print the report</li>
<li><b>Inv No.</b> — open the sale invoice</li>
</ul>

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

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

<p><b>Why is a bill shown as a loss?</b><br>Profit is negative because sale cost, returns, and expenses together exceed the net sale value — from low pricing, high discounts, cost updates, or returns. The row is highlighted in red.</p>

<p><b>How is sale cost determined?</b><br>Sale cost is cost of goods sold posted on the invoice journal.</p>

<p><b>Are returns included?</b><br>Yes. Approved and Closed credit notes linked to the invoice are subtracted in the same bill row. Return Amount and Return Cost show the reversed sale value and cost.</p>

<p><b>Are expenses on the invoice included?</b><br>Yes. Linked sale expenses (net of tax) reduce profit. Use <b>Create Expense</b> on the invoice — <b>Sale Reversal</b> when the customer deducts a display or placement fee. See <a href="#/sales/sale-invoice?id=create-expense">Create Expense / Sale Expenses</a>.</p>

<p><b>Does Customer Wise or Employee Wise Profit subtract expenses?</b><br>No. Those reports use the same sale and return engine but have no Expense column. Only this report and <a href="#/sales/reports/order-wise-profit-summary">Order Wise Profit Summary</a> include sale expenses.</p>

<p><b>How is this different from Bill Item Wise Profit?</b><br><a href="#/sales/reports/profit-bill-item-report">Bill Item Wise Profit</a> is line-level and does not net credit notes or expenses.</p>

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

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

<ul>
<li><a href="#/sales/reports/profit-bill-item-report">Bill Item Wise Profit</a></li>
<li><a href="#/sales/reports/profit-item-report">Item Wise Profit Report</a></li>
<li><a href="#/sales/sale-invoice?id=create-expense">Sale Invoice — Create Expense</a></li>
</ul>
