# Payroll Settings

<p class="doc-lead">Payroll Settings control workspace-wide payroll behavior — attendance linkage, production wages, leave salary, and commission. For per-day salary calculation, LOP rules, and payslip display, see the detailed guide at <a href="#/payroll/payroll-settings-config">Payroll Settings (Configuration)</a>.</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="#/payroll/payroll-settings?id=overview">Overview</a>
<a href="#/payroll/payroll-settings?id=key-settings">Key Settings</a>
<a href="#/payroll/payroll-settings?id=production-wages">Production Wage Flow</a>
<a href="#/payroll/payroll-settings?id=related-masters">Related Masters</a>
<a href="#/payroll/payroll-settings?id=related">Related</a>
</div>
</div>
</div>

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

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

Go to <b>Payroll → Settings → Payroll Settings</b>.

These settings apply to every pay run in the workspace. Salary calculation method, attendance rules, and production wage options are documented in depth on the <a href="#/payroll/payroll-settings-config">Payroll Settings (Configuration)</a> page — use that page when configuring divisors, pro-rata vs deduction mode, holidays during LOP, and commission on sale invoices.

<img src="payroll/images/payrollsettings.webp" alt="Payroll Settings" loading="lazy">

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

<h2 id="key-settings">Key Settings</h2>

| **Setting** | **Description** |
|-------------|-----------------|
| Consider Attendance in Salary Calculation | Pulls <a href="#/hr/daily-attendance">Daily Attendance</a> and leave data into pay runs. When off, day counts are entered manually. |
| Enable Piece-Rate/Hourly-Rate Wages in Production | Turns on wage tracking on Production BOMs and Vouchers. Required before production wage lines appear. |
| Show Leave Salary Days in Pay Run | Shows leave encashment days on the pay-run form (uses payment category Leave Salary). |
| Show Extra Payable Days in Pay Run | Shows extra payable days for incentive or special pay. |
| Default Category for Extra Pay | Payment category for extra payable days. Only categories with <b>Applies to extra payable days</b> enabled are listed. |

<p>Salary calculation fields (<b>Per-Day Salary Calculation Method</b>, <b>Salary Calculation Style</b>, fixed days, calendar mode, mid-month join, holidays during LOP, pay-run view labels, and sale-invoice commission) are covered in <a href="#/payroll/payroll-settings-config">Payroll Settings (Configuration)</a> — including the <a href="#/payroll/payroll-settings-config?id=combination-matrix">combination matrix</a>, <a href="#/payroll/payroll-settings-config?id=net-pay-formula">net pay formula</a>, and <a href="#/payroll/payroll-settings-config?id=special-scenarios">leave salary / extra pay examples</a>.</p>

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

<h2 id="production-wages">Production Wage Flow</h2>

<p>When <b>Enable Piece-Rate/Hourly-Rate Wages in Production</b> is on:</p>

<ol>
<li><b>BOM</b> — <b>Wage Type</b> (Piece Rate or Hourly Rate) and <b>Piece Rate</b> appear on <a href="#/production/bill-of-materials">Bill of Materials</a>.</li>
<li><b>Production Voucher</b> — <b>Employee Wages</b> table appears. Lines copy from the BOM and scale to net output quantity.</li>
<li><b>On voucher approve</b> — each wage line creates an <a href="#/payroll/production-wage">Employee Production Wage</a> record (status Approved / unpaid).</li>
<li><b>Pay Run</b> — approved production wages in the pay period are pulled into the employee's pay run as a production-wage payment line.</li>
<li><b>On pay run approve</b> — linked wages move to Paid status.</li>
</ol>

<h3 id="wage-types">Wage types</h3>

| **Type** | **How amount is calculated** | **Rate source** |
|----------|------------------------------|-----------------|
| Piece Rate | Quantity produced × Rate per unit | BOM <b>Piece Rate</b> |
| Hourly Rate | Hours worked × Hourly rate | <a href="#/payroll/salary-configuration">Salary Configuration</a> on the employee's <a href="#/payroll/payroll-group">Payroll Group</a> |

<p>Verify wages before pay run using <a href="#/payroll/production-wage">Production Wage</a> and <a href="#/payroll/reports/employee-piece-rate-report">Employee Piece Rate Report</a>.</p>

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

<h2 id="related-masters">Related Masters</h2>

<ul>
<li><a href="#/payroll/payroll-group">Payroll Group</a> — classifies employees; hourly rate for production is set on Salary Configuration per group.</li>
<li><a href="#/payroll/salary-configuration">Salary Configuration</a> — payment lines, OT rates, and hourly rate for production wages.</li>
<li><a href="#/payroll/payment-categories">Payment Categories</a> — earning components (Basic, HRA, Wages Payable, etc.).</li>
<li><a href="#/payroll/deduction-categories">Deduction Categories</a> — cash advance, deduction on expense, LOP.</li>
<li><a href="#/payroll/expense-claim-categories">Expense Claim Categories</a> — travel, food, fuel, and other claims.</li>
<li><a href="#/payroll/payroll-settings-config">Payroll Settings</a> — salary calculation, attendance, commission limits, payslip fields.</li>
<li><a href="#/payroll/pay-run-import-mapping">Pay Run Import Mapping</a> — CSV column mapping for bulk pay-run import.</li>
</ul>

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

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

<p><b>Where are salary divisors and LOP rules configured?</b><br>On <a href="#/payroll/payroll-settings-config">Payroll Settings (Configuration)</a> — this hub page covers production wages and links to calculation detail.</p>

<p><b>Must I enable production wages before BOM wage fields appear?</b><br>Yes. Turn on <b>Enable Piece-Rate/Hourly-Rate Wages in Production</b> here first, then configure BOM and production vouchers.</p>

<p><b>What happens if attendance is disabled for payroll?</b><br>Pay runs use manually entered working days, LOP, and paid leave on the header — no pull from <a href="#/hr/daily-attendance">Daily Attendance</a>.</p>

<p><b>Where is hourly rate for production set?</b><br>On <a href="#/payroll/salary-configuration">Salary Configuration</a> per payroll group or employee — not on this settings form.</p>

<p><b>What is Default Category for Extra Pay?</b><br>Payment category used when <b>Show Extra Payable Days</b> is enabled on pay runs — only categories with <b>Applies to extra payable days</b> appear in the dropdown.</p>

<p><b>Do these settings apply per branch?</b><br>Company-wide for calculation flags. Branch-specific commission limits are on Payroll Settings Config commission section.</p>

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

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

<ul>
<li><a href="#/payroll/payroll-settings-config">Payroll Settings (Configuration)</a> — detailed salary calculation and commission setup</li>
<li><a href="#/payroll/pay-run">Pay Run</a></li>
<li><a href="#/payroll/production-wage">Production Wage</a></li>
</ul>

<b>Video</b>
<iframe width="560" height="315" src="https://www.youtube.com/embed/nCW0o22z5eY?si=QDAA4k1OJmNF5TIQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
