# Subcontracting Priced on Raw Material Quantity

<p class="doc-lead">Some subcontract jobs are billed on the quantity of raw material given to the subcontractor, not on the finished goods received. This page explains that case and shows how to handle it with a <a href="#/production/production-voucher">Production Voucher</a> plus an <a href="#/accounts/expense-entry">Expense</a>, so the subcontractor charge is added to the finished goods cost and recorded as a payable to the vendor.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Understand the case</span>
<div class="doc-toc-links">
<a href="#/subcontract/raw-material-based-subcontracting?id=overview">Overview</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=two-models">Two pricing models</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=how-it-works">How the workaround works</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Do it</span>
<div class="doc-toc-links">
<a href="#/subcontract/raw-material-based-subcontracting?id=setup">One-time setup</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=steps">Step-by-step</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=example">Worked example</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=accounting">Accounting effect</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/subcontract/raw-material-based-subcontracting?id=best-practices">Best Practices</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=limitations">Limitations</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=faq">FAQ</a>
<a href="#/subcontract/raw-material-based-subcontracting?id=related">Related Topics</a>
</div>
</div>
</div>

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

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

<p>In a normal subcontract job, you agree a rate for the <b>finished goods</b> the subcontractor delivers. Freespace handles that directly through a <a href="#/purchase/purchase-order">Purchase Order</a> with order type <b>Subcontracted</b>, then <a href="#/production/issue-for-subcontracting">Issue For Subcontracting</a> and <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a>.</p>

<p>But in some trades the subcontractor is paid on the <b>raw material</b> you hand over, regardless of how much finished good comes back. The classic example is oil milling:</p>

<ul>
<li>You give the mill <b>100 kg copra</b>.</li>
<li>The mill returns <b>oil</b> (the yield varies and is not what you pay for).</li>
<li>The milling charge is <b>₹10 per kg of copra</b> → 100 kg × ₹10 = <b>₹1,000</b>.</li>
</ul>

<p>Here the charge follows the input quantity, so it cannot be entered as a simple per-finished-good rate. This page shows a practical way to record it using existing documents.</p>

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

<h2 id="two-models">Two pricing models compared</h2>

| **Question** | **Charge per finished good** | **Charge per raw material** |
|--------------|------------------------------|-----------------------------|
| What is billed? | Finished goods received | Raw material issued/consumed |
| Example | ₹15 per litre of oil delivered | ₹10 per kg of copra given |
| Best handled by | <a href="#/purchase/purchase-order">Subcontracted Purchase Order</a> → Issue/Receipt from Subcontracting | <a href="#/production/production-voucher">Production Voucher</a> + <a href="#/accounts/expense-entry">Expense</a> (this page) |
| Charge added to finished goods cost | Yes, automatically | Yes, via an overhead line |
| Vendor payable created | Automatically via Purchase Invoice | Manually via an Expense to the subcontractor |

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

<h2 id="how-it-works">How the workaround works</h2>

<p>The idea is to route the subcontractor charge through a single <b>clearing</b> expense account so it lands in two places at once — inside the finished goods cost, and as a payable to the vendor — without being double-counted as an expense.</p>

<ol>
<li>On the <b>Production Voucher</b>, you record the raw material consumed and add the subcontractor charge as an <b>Overhead Charge</b> pointing at a clearing account (for example, <b>Subcontracting Charges</b>). This folds the charge into the finished goods cost. The voucher <b>credits</b> the clearing account.</li>
<li>You then create an <b>Expense</b> against the subcontractor for the same amount, using the same clearing account. This <b>debits</b> the clearing account and <b>credits</b> the subcontractor as a payable.</li>
<li>The two entries cancel out on the clearing account (net zero), the finished goods keep the added cost, and you now owe the subcontractor.</li>
</ol>

<p>The flow, end to end:</p>

| **Step** | **Document** | **Effect on finished goods** | **Effect on clearing account** | **Effect on vendor** |
|----------|--------------|------------------------------|--------------------------------|----------------------|
| 1 | Production Voucher | Raw material cost + charge folded into cost | Credited by the charge | — |
| 2 | Expense (Credit, subcontractor) | — | Debited by the charge (nets to zero) | Payable created |
| 3 | Payment Voucher | — | — | Payable settled |

<p>When both amounts match, the clearing account balance returns to zero. Any leftover balance means production was booked but the vendor was not yet billed (or vice versa) — a useful reconciliation signal.</p>

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

<h2 id="setup">One-time setup</h2>

<h3>1. Create a clearing expense account</h3>

<p>In <a href="#/accounts/expense-account">Expense Account</a>, create a dedicated account such as <b>Subcontracting Charges</b>. Use this only for this purpose so its balance stays meaningful (ideally near zero).</p>

<h3>2. (Optional) Set up the finished item and BOM</h3>

<p>If you produce against a <a href="#/production/production-order">Production Order</a>, define the finished item and a <a href="#/production/bill-of-materials">Bill Of Materials</a> for the raw material. This lets raw material lines and overheads pre-fill on the voucher. For ad-hoc jobs you can enter the voucher directly without an order.</p>

<h3>3. (Optional) Track stock at the subcontractor</h3>

<p>If you want to see material physically held at the subcontractor, create a <b>Supplier Center</b> and either produce the voucher at that center or move material there first. If location tracking is not important, consume from your own production center.</p>

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

<h2 id="steps">Step-by-step</h2>

<ol>
<li>Work out the charge: <b>raw material quantity × agreed rate</b> (for example, 100 kg × ₹10 = ₹1,000).</li>
<li>Go to <b>Production → Production Voucher</b> and create a new voucher.</li>
<li>Enter the <b>Date</b>, <b>Center</b>, finished <b>Item</b> (for example, oil), and the <b>Gross Quantity</b> / <b>Net Quantity</b> actually received.</li>
<li>In <b>Raw Materials Consumed</b>, add the raw material and the quantity used (for example, 100 kg copra). This drives the material cost from stock.</li>
<li>In <b>Overhead Charges</b>, add a line: <b>Expense account</b> = Subcontracting Charges, charge type <b>Fixed Charge</b>, and enter the computed amount in <b>Rate</b> (₹1,000) so the <b>Total</b> becomes ₹1,000.</li>
<li><b>Save And Approve</b> the voucher. The oil now carries copra cost plus ₹1,000, and the clearing account is credited ₹1,000.</li>
<li>Go to <b>Account → Expense</b> and create a new <a href="#/accounts/expense-entry">Expense</a>.</li>
<li>Set <b>Supplier</b> = the subcontractor, <b>Pay Mode</b> = <b>Credit</b>, <b>Expense account</b> = Subcontracting Charges, and <b>Amount</b> = ₹1,000 (pre-tax, see FAQ for tax).</li>
<li><b>Save And Approve</b> the Expense. The clearing account nets to zero and the subcontractor payable is created.</li>
<li>Later, pay the subcontractor with a <a href="#/accounts/payment-voucher">Payment Voucher</a> to settle the payable.</li>
</ol>

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

<h2 id="example">Worked example — copra to oil</h2>

<p>Assumptions:</p>

<ul>
<li>Copra issued and consumed: <b>100 kg</b>, valued in stock at <b>₹50/kg</b> → raw material cost <b>₹5,000</b>.</li>
<li>Milling charge: <b>₹10/kg of copra</b> → 100 × 10 = <b>₹1,000</b>.</li>
<li>Oil received: <b>40 kg</b>.</li>
</ul>

<p><b>On the Production Voucher:</b></p>

| **Line** | **Entry** | **Value** |
|----------|-----------|-----------|
| Raw Materials Consumed | Copra 100 kg | ₹5,000 (from stock) |
| Overhead Charges | Subcontracting Charges, Fixed Charge | ₹1,000 |
| Product Obtained | Oil 40 kg | — |

<p><b>Finished goods cost:</b></p>

<p><b>Total cost = raw material ₹5,000 + overhead ₹1,000 = ₹6,000</b><br>
<b>Oil unit cost = ₹6,000 ÷ 40 kg = ₹150 / kg</b></p>

<p><b>Then the Expense</b> to the milling subcontractor for ₹1,000 (Pay Mode Credit, Expense account = Subcontracting Charges) records the payable.</p>

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

<h2 id="accounting">Accounting effect</h2>

<p>Following the example, the combined entries are:</p>

<h3>Production Voucher (on approve)</h3>

| **Account** | **Debit** | **Credit** |
|-------------|-----------|------------|
| Inventory — Oil (finished) | ₹6,000 | |
| Inventory — Copra (raw) | | ₹5,000 |
| Subcontracting Charges (clearing) | | ₹1,000 |

<h3>Expense to subcontractor (on approve)</h3>

| **Account** | **Debit** | **Credit** |
|-------------|-----------|------------|
| Subcontracting Charges (clearing) | ₹1,000 | |
| Subcontractor (payable) | | ₹1,000 |

<h3>Net result</h3>

<ul>
<li><b>Subcontracting Charges</b> account: ₹1,000 credit + ₹1,000 debit = <b>₹0</b> (clears).</li>
<li><b>Oil inventory</b> carries the full ₹6,000, so the milling charge is reflected in the product cost and flows to cost of goods sold when the oil is sold.</li>
<li><b>Subcontractor</b> is now owed ₹1,000, settled later by a Payment Voucher.</li>
</ul>

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

<h2 id="best-practices">Best Practices</h2>

<ul>
<li>Use a <b>dedicated</b> clearing account (Subcontracting Charges) only for this purpose, and review its balance regularly — it should sit near zero.</li>
<li>Always record the raw material actually consumed on the voucher so material cost and stock stay accurate.</li>
<li>Keep the overhead amount and the Expense amount equal (pre-tax) so the clearing account nets to zero.</li>
<li>Create the Expense promptly after approving the voucher so accruals and payables stay in step.</li>
<li>For repeat vendors, capture the agreed per-kg rate in your job notes so anyone can recompute the charge.</li>
</ul>

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

<h2 id="limitations">Limitations</h2>

<ul>
<li><b>The charge is entered manually.</b> The Production Voucher does not auto-calculate rate × raw material quantity — you compute the amount and enter it as a Fixed Charge overhead.</li>
<li><b>Two documents, no automatic link.</b> The voucher and the Expense are separate; you must remember to create both and keep the amounts matched.</li>
<li><b>Use the right expense document.</b> The Expense (or a Purchase Expense set to <b>To Expense</b>) must debit the clearing account. A Purchase Expense left as <b>To Inventory</b> debits stock instead and will not clear the account.</li>
<li><b>Material-at-subcontractor tracking is optional.</b> Unless you produce at a Supplier Center or move stock there first, consumption comes from your own center.</li>
</ul>

<p>If this pricing model is frequent and high-volume, consider it a candidate for a dedicated subcontracting enhancement rather than this manual workaround.</p>

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

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

<p><b>Why not just use a Subcontracted Purchase Order?</b><br>That flow prices the charge per finished good delivered. When the charge depends on the raw material given (like ₹/kg of copra), the Production Voucher plus Expense approach fits better.</p>

<p><b>Which overhead charge type should I use?</b><br>Use <b>Fixed Charge</b> and enter the computed total (raw quantity × rate). Unit Charge scales to finished output, which is not what you want here.</p>

<p><b>How does the milling charge reach the oil cost?</b><br>Overhead charges are added to total production cost, which is divided across the finished goods. So the oil unit cost includes the milling charge.</p>

<p><b>What about GST / input tax on the subcontractor bill?</b><br>Enter the Expense so the pre-tax amount equals the overhead amount; the tax posts separately as input tax credit. The clearing account still nets to zero on the pre-tax value.</p>

<p><b>Do I record the copra I gave the mill?</b><br>Yes — enter it under Raw Materials Consumed so stock and material cost are correct. If you want to show it sitting at the mill, use a Supplier Center.</p>

<p><b>The clearing account is not zero — why?</b><br>Either a voucher was approved without a matching Expense, or an Expense exists without a matching voucher. Investigate the difference and post the missing document.</p>

<p><b>Which document creates the amount I owe the subcontractor?</b><br>The Expense with Pay Mode <b>Credit</b> and the subcontractor selected as <b>Supplier</b>. Settle it later with a <a href="#/accounts/payment-voucher">Payment Voucher</a>.</p>

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

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

<ul>
<li><a href="#/subcontract/">Subcontracting Overview</a> — standard subcontracting via Purchase Order.</li>
<li><a href="#/production/production-voucher">Production Voucher</a> — record production, raw materials, overheads, and by-products.</li>
<li><a href="#/accounts/expense-entry">Expense</a> — record the payable to the subcontractor.</li>
<li><a href="#/accounts/expense-account">Expense Account</a> — create the clearing account.</li>
<li><a href="#/production/bill-of-materials">Bill Of Materials</a> — define raw materials for the finished item.</li>
<li><a href="#/accounts/payment-voucher">Payment Voucher</a> — pay the subcontractor.</li>
</ul>
