About subcontracting in ERPNext
Subcontracting means that one company does part of the production work for another. Often one company supplies the raw materials, and the other does the labor. Subcontracting lets work happen in parallel and often finishes production faster.
ERPNext supports both directions:
| Flow | Your role | Example |
|---|---|---|
| Subcontracting (outward) | You send raw materials to a supplier, called the job worker, who makes the item for you. | You send unpainted parts to a paint shop and get painted parts back. |
| Subcontracting Inward | A customer sends you raw materials, and you make the item for them. | A brand sends you fabric and you sew garments for it. |

Subcontracting to a supplier
You buy a service from the supplier and supply the raw materials. The flow uses these documents:
- A Purchase Order with Is Subcontracted selected, for the service item.
- A Subcontracting Order, which lists the finished goods and the raw materials to supply.
- A Stock Entry of type Send to Subcontractor, which moves the raw materials to the supplier's warehouse.
- A Subcontracting Receipt, which receives the finished goods and consumes the raw materials.
Read Set up subcontracting and Subcontract production to a supplier.
Subcontracting Inward
You sell a service to the customer and use the customer's materials. The customer's materials do not affect your books. The flow uses a Sales Order with Is Subcontracted selected, a Subcontracting Inward Order, Work Orders, and Stock Entries to receive materials and deliver goods.
Read Manufacture for a customer with Subcontracting Inward.