# Subcontracting

<p class="doc-lead">Subcontracting outsources manufacturing steps to external suppliers. Freespace tracks raw materials issued to subcontractors, goods received back, and stock at supplier centers — linked to purchase orders, BOMs, and production transactions.</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">Getting started</span>
<div class="doc-toc-links">
<a href="#/subcontract/?id=getting-started">Getting Started</a>
<a href="#/subcontract/?id=setup">Setup</a>
<a href="#/subcontract/?id=workflow">Workflow</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Understand it</span>
<div class="doc-toc-links">
<a href="#/subcontract/?id=use-cases">Use Cases</a>
<a href="#/subcontract/?id=costing">How Costing Works</a>
<a href="#/subcontract/?id=accounting">Accounting Entries</a>
<a href="#/subcontract/?id=example">Worked Example</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/subcontract/?id=related">Related Topics</a>
<a href="#/subcontract/?id=faq">FAQ</a>
<a href="#/subcontract/?id=video">Video</a>
</div>
</div>
</div>

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

<h2 id="getting-started">Getting Started</h2>

<ul>
<li><a href="#/production/bill-of-materials">Bill Of Materials</a> — define raw materials for the subcontracted item.</li>
<li><a href="#/subcontract/">Subcontracting setup</a> — enable items and create supplier centers (this page).</li>
<li><a href="#/purchase/purchase-order">Purchase Order</a> — create a subcontracted purchase order to issue materials and receive finished goods.</li>
<li><a href="#/production/issue-for-subcontracting">Issue For Subcontracting</a> and <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> — production-module transactions for material issue and receipt.</li>
<li><a href="#/subcontract/raw-material-based-subcontracting">Priced on Raw Material Quantity</a> — when the subcontractor is paid on the raw material given (for example, ₹/kg of copra), handle it with a Production Voucher plus an Expense.</li>
</ul>

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

<h2 id="setup">Setup</h2>

<h3>1. Create a subcontracted item</h3>

Create the finished item with <b>Is Subcontracted</b> enabled. Optionally set a default service item for the subcontracting charge.

<b>CREATE NEW SUBCONTRACTING ITEM</b>

<img src="subcontract/images/sub1.webp" alt="Subcontracting item setup" loading="lazy">

<h3>2. Create BOM for the subcontracted item</h3>

Set the Bill Of Materials in Production so raw materials issued to the subcontractor auto-populate based on the subcontracted item and quantity.

<b>CREATE NEW BOM FOR SUBCONTRACTING ITEM</b>

<img src="subcontract/images/sub2.webp" alt="Subcontracting BOM setup" loading="lazy">

<h3>3. Create a supplier center (optional)</h3>

Create a center with type <b>Supplier Center</b> to track stock held at the subcontractor's location.

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

<h2 id="workflow">Workflow</h2>

| **Step** | **Document** | **What happens** |
|----------|--------------|------------------|
| 1 | <a href="#/purchase/purchase-order">Purchase Order</a> | Select order type <b>Subcontracted</b> to issue raw materials and receive finished goods. |
| 2 | Approved PO actions | Issue raw materials and receive subcontracted items from the approved order. |
| 3 | <a href="#/production/issue-for-subcontracting">Issue For Subcontracting</a> | Send raw materials to the subcontractor. |
| 4 | <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> | Receive processed goods back into stock. |

<b>PURCHASE ORDER</b>

<img src="subcontract/images/sub3.webp" alt="Subcontracted purchase order" loading="lazy">

<b>OPTIONS IN APPROVED PURCHASE ORDER</b>

<img src="subcontract/images/sub4.webp" alt="Approved purchase order subcontracting options" loading="lazy">

All issue-for-subcontracting and receipt-from-subcontracting transactions are also available from the Production module left navigation.

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

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

<p>Common ways businesses use subcontracting in Freespace:</p>

| **Use case** | **How to handle it** |
|--------------|----------------------|
| <b>Outsource a process step</b> (e.g. dyeing fabric, plating parts, polishing) | Standard flow: subcontracted item + BOM → <a href="#/purchase/purchase-order">Purchase Order</a> with order type <b>Subcontracting</b> → Issue → Receipt → Purchase Invoice. |
| <b>Convert raw material into a new finished good</b> (e.g. yarn → cloth, grain → flour) | Same standard flow; the finished good's BOM lists the raw materials the subcontractor consumes. |
| <b>Send several raw materials, get one finished good</b> | Add all inputs to the item's BOM; they are issued together and consumed on receipt against the same finished good. |
| <b>Receive in batches over time</b> | Post multiple <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> documents against one PO until the ordered quantity is met. |
| <b>Track material physically held at the vendor</b> | Create a <b>Supplier Center</b> so issued material shows as stock at the subcontractor until consumed. |
| <b>Charge based on the finished goods delivered</b> (e.g. ₹/piece produced) | Standard flow — the service price on the PO is charged per finished good received. |
| <b>Charge based on the raw material given</b> (e.g. ₹/kg of copra milled) | Use a <a href="#/production/production-voucher">Production Voucher</a> plus an Expense — see <a href="#/subcontract/raw-material-based-subcontracting">Priced on Raw Material Quantity</a>. |
| <b>Vendor also supplies some of the material</b> | Buy that material on a normal purchase first (so it is in stock), then include it in the BOM/issue like any other input. |

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

<h2 id="costing">How Costing Works</h2>

<p>The cost of a subcontracted finished good is built up on <b>Receipt From Subcontracting</b>, at the moment you approve the receipt. It has two parts:</p>

<p><b>Finished good cost = raw material cost consumed + subcontracting service charge</b></p>

<h3 id="raw-material-cost">1. Raw material cost</h3>

<ul>
<li>Raw materials are valued from stock at the <b>supplier center</b> using the <b>weighted average</b> cost of that item (the value at which it was issued to the subcontractor).</li>
<li>Only the raw materials listed under <b>Inventory Inputs (Consumed)</b> on the receipt are costed, matched to the finished good they belong to.</li>
<li>The total consumed value for a finished good is spread evenly across the quantity of that finished good received on the receipt.</li>
</ul>

<h3 id="service-charge">2. Subcontracting service charge</h3>

<ul>
<li>The service charge comes from the <b>service line on the Purchase Order</b> (the pre-tax amount per unit of the finished good).</li>
<li>It is applied as a per-unit add-on to every unit of that finished good received. So a partial receipt only picks up a proportional share of the charge.</li>
<li>If several PO lines point at the same finished good, their per-unit amounts are added together.</li>
</ul>

<p>The two parts combine into the unit cost that finished stock carries into your destination center:</p>

<p><b>Finished unit cost = (consumed raw material value ÷ received finished quantity) + PO service charge per unit</b></p>

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

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

<p>Two documents complete the accounting: the receipt capitalizes the cost into stock and accrues the vendor charge; the purchase invoice turns that accrual into a payable.</p>

<h3 id="receipt-journal">On Receipt From Subcontracting (approve)</h3>

| **Account** | **Debit** | **Credit** |
|-------------|-----------|------------|
| Inventories — finished good received | Full finished value (raw + service) | |
| Inventories — raw materials consumed | | Consumed raw material value |
| Accrued Inventory Assets | | Service charge portion |

<p>The raw material simply reclassifies from the raw item into the finished item within <b>Inventories</b>; the extra service value is parked in <b>Accrued Inventory Assets</b> until the vendor is billed.</p>

<h3 id="invoice-journal">On Purchase Invoice from the receipts (approve)</h3>

| **Account** | **Debit** | **Credit** |
|-------------|-----------|------------|
| Accrued Inventory Assets | Service charge portion | |
| Input tax (if applicable) | Tax amount | |
| Supplier (payable) | | Invoice total |

<p>This clears <b>Accrued Inventory Assets</b> back to zero and records what you owe the subcontractor. Settle it later with a <a href="#/accounts/payment-voucher">Payment Voucher</a>.</p>

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

<h2 id="example">Worked Example</h2>

<p>Stitching charge job — fabric to shirts:</p>

<ul>
<li>Fabric issued and consumed: <b>200 m</b>, valued in stock at <b>₹50/m</b> → raw material cost <b>₹10,000</b>.</li>
<li>Subcontracted item: <b>Shirt</b>, PO service price <b>₹40 per shirt</b>.</li>
<li>Shirts received: <b>100</b> → service charge = 100 × ₹40 = <b>₹4,000</b>.</li>
</ul>

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

<p><b>Total = raw material ₹10,000 + service ₹4,000 = ₹14,000</b><br>
<b>Shirt unit cost = ₹14,000 ÷ 100 = ₹140 / shirt</b></p>

<p>On receipt approval, <b>Inventories</b> rises by ₹4,000 net (fabric reclassified to shirts plus the service value), and <b>Accrued Inventory Assets</b> is credited ₹4,000. When you create the Purchase Invoice from the receipt, ₹4,000 moves from Accrued Inventory Assets to the subcontractor payable (plus any tax).</p>

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

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

<ul>
<li><a href="#/production/issue-for-subcontracting">Issue For Subcontracting</a> — send materials to subcontractor.</li>
<li><a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> — receive subcontracted goods.</li>
<li><a href="#/purchase/work-order">Work Order</a> — job-work purchase orders.</li>
<li><a href="#/purchase/reports/subcontracting-inventory-summary">Subcontracting Inventory Summary</a> — stock at subcontractor centers.</li>
<li><a href="#/production/">Production module</a> — full manufacturing documentation.</li>
</ul>

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

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

<b>What must I configure before subcontracting?</b><br>
A subcontracted item with BOM, optionally a supplier center, and a <a href="#/purchase/purchase-order">Purchase Order</a> with order type <b>Subcontracted</b>.

<b>Where do I issue and receive subcontracted materials?</b><br>
From the approved Purchase Order actions, or via <a href="#/production/issue-for-subcontracting">Issue For Subcontracting</a> and <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> in Production.

<b>How is stock at the subcontractor tracked?</b><br>
Create a <b>Supplier Center</b> and use the <a href="#/purchase/reports/subcontracting-inventory-summary">Subcontracting Inventory Summary</a> report.

<b>What if the subcontractor is paid on the raw material given, not the finished goods?</b><br>
Use a Production Voucher with the charge as an overhead, then an Expense to the vendor — see <a href="#/subcontract/raw-material-based-subcontracting">Priced on Raw Material Quantity</a>.

<b>How is the cost of the subcontracted finished good calculated?</b><br>
On <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> approval: <b>consumed raw material value + subcontracting service charge</b>, divided across the finished quantity received. See <a href="#/subcontract/?id=costing">How Costing Works</a>.

<b>Where does the service charge come from?</b><br>
From the service line on the <a href="#/purchase/purchase-order">Purchase Order</a> — the pre-tax amount per unit of the finished good. It is added to every unit received, so partial receipts pick up a proportional share.

<b>At what value are raw materials consumed?</b><br>
At the weighted-average cost of that item at the supplier center — the value at which it was issued to the subcontractor. Freespace does not use a separate FIFO/LIFO layer here.

<b>When is the subcontractor charge actually posted as a cost?</b><br>
The charge is capitalized into the finished goods on receipt (parked in <b>Accrued Inventory Assets</b>), then becomes a supplier payable when you raise the Purchase Invoice from the receipt. It reaches the profit and loss account only when the finished goods are sold.

<b>Do I create the Purchase Invoice from the PO or the receipt?</b><br>
From the approved subcontracting Purchase Order, choose <b>Create Invoice</b> and select the approved receipts. The invoice bills the service based on the finished goods actually received.

<b>Can one Purchase Order produce more than one finished good?</b><br>
Yes. Add a line per finished good on the PO; each is issued, received, and costed against its own BOM.

<b>Can I receive more or less than the ordered quantity?</b><br>
You can post multiple receipts until the ordered quantity is met. Yield differences between issued material and finished output are reflected in the finished good's unit cost.

<b>What happens if I issue material but scrap or lose some at the vendor?</b><br>
Consume only what actually went into the finished goods on the receipt. Remaining material stays as stock at the supplier center and can be returned or adjusted separately.

<b>How do I see what is lying with the subcontractor?</b><br>
Use the <a href="#/purchase/reports/subcontracting-inventory-summary">Subcontracting Inventory Summary</a> report, which shows issued, consumed, and produced quantities per item for a Purchase Order.

<b>Why must the source center differ from the supplier center?</b><br>
Issue moves material from your center to the subcontractor's center, so the two must be different centers.

<b>Why is the supplier center rejected on receipt?</b><br>
The source center on a receipt must be a center marked as a <b>Supplier Center</b>. Set the center type on the center master.

<b>How do I record GST/tax on the subcontractor's bill?</b><br>
Tax is handled on the Purchase Invoice created from the receipts, using the purchase tax on the service line. The finished goods cost carries the pre-tax service value; input tax is claimed separately.

<b>Can I cancel a receipt after invoicing?</b><br>
Cancel the Purchase Invoice first, then the Receipt From Subcontracting. Cancelling reverses the inventory and accrual entries.

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

<h2 id="video">Video</h2>

<iframe width="560" height="315" src="https://www.youtube.com/embed/dFL5tZs-BHM?si=BC9Fhqd2QXw4Jv27" 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>
