Repack items into new Items
A Repack entry consumes one or more Items and adds one or more other Items to stock. Use it when you buy in bulk and sell in smaller packs, for example when you buy in tonnes and sell in 1 kg bags. You can also combine Items: for example, buy boxes of green and blue spray paint and repack them into mixed packs.
Prerequisites
- The input Items and the output Items exist with different item codes. See Create an Item.
- The input Items have stock in the source warehouse.
- Optional: a BOM for the output Item, if you want ERPNext to fetch the input Items for you.
Create a Repack entry
- Open the Stock Entry list and select New.
- In Stock Entry Type, select Repack.
- Add the input Items. For each input row, set the Source Warehouse and the Qty. Leave the Target Warehouse empty.
- Add the output Items. For each output row, set the Target Warehouse and the Qty. Leave the Source Warehouse empty.
- Check the rates of the output rows. See How ERPNext values repacked Items.
- Submit the Stock Entry. ERPNext removes the input Items from the source warehouse and adds the output Items to the target warehouse.
To fetch the input Items from a BOM, select From BOM, set the BOM No and the Finished Good Quantity, and select Get Items.

How ERPNext values repacked Items
ERPNext marks each output row as a finished item. The value of the input Items becomes the value of the output Items.
- One output Item: ERPNext calculates its Basic Rate from the total cost of the input rows.
- More than one output Item: you must set the rate of each output yourself. In each output row, select Set Basic Rate Manually and enter the Basic Rate (as per Stock UOM). If you do not, ERPNext shows an error when you save.
You can add costs such as packing material or labour on the Additional Costs tab. ERPNext adds them to the valuation rate of the output Items. See Add costs to the valuation rate.