Every item has a cost price that changes over time. Mitoni stores each cost with the date it takes effect. When you save a sale, write-off or transfer, it records the item's cost on the document's date and keeps that cost until you run Recalculate Cost. Profit and margin in reports are based on these recorded costs.
Choose the cost method
The method applies to the whole business. Set it under Settings → Advanced Settings, in the Inventory & Stock section, with Item Cost Calculation Method:
| Method | Where the cost comes from |
|---|---|
| Manual Cost | You enter the cost yourself, with the date it takes effect. |
| Average Purchase Cost | A weighted average of what you paid, updated each time stock comes in. |
| Last Purchase Cost | The unit cost of the most recent stock receipt. |
Costs are kept per item, not per store: Centrale and Zuid use the same cost for the same item on the same day.
When you switch to Average Purchase Cost or Last Purchase Cost, Mitoni recalculates the costs of all items over your whole history. Switching to Manual Cost keeps the existing costs, and you maintain them by hand from then on.
Manual Cost
With Manual Cost, the item editor shows an Item Cost field.
- New item: the cost you enter applies from the beginning, so all documents use it.
- Existing item: the field is read-only. Select Set Cost next to it, enter the cost in Self Cost and set the Effective Date/Time from which it applies. When the item already has a cost, you can choose instead:
- New Cost, to start a new cost from the Effective Date/Time. Documents dated before it keep the old cost.
- Update Current, to change the value of the latest cost without adding a new one.
The cost must be greater than 0, otherwise Mitoni shows "Cost value must be greater than 0".
Example. The Croissant costs you €0.80 from 1 March. On 1 June the bakery raises its price, so you set a New Cost of €0.95 effective 1 June. Sales in May keep a cost of €0.80; sales saved from 1 June use €0.95.
Note: A new or changed manual cost isn't applied to documents that are already saved. If you set a cost with a past effective date, run Inventory → Recalculate Cost for that period. See Recalculate item costs.
Item Cost History in the item editor's actions menu lists every cost with its From Date, Doc Type, Cost and User. With Manual Cost you can change a row's date or cost, or delete a row, then select Save.
Average Purchase Cost
With Average Purchase Cost, Mitoni recalculates the average each time stock comes in through a purchase or opening stock. Additional costs allocated to a purchase raise the average too. Items you make with a production or disassembly get their cost from those documents. Sales, write-offs, transfers and purchase returns take stock out at the current average and don't change it.
The new average is:
(stock on hand × current average + received quantity × received unit cost) ÷ (stock on hand + received quantity)
The received unit cost is the purchase line's unit cost in your default currency. When both your company and the vendor are VAT registered, the tax is taken out first: unit cost = price ÷ (1 + tax rate ÷ 100). Otherwise the price including tax is the cost. See How purchase prices, tax and item cost work.
Example. Espresso beans:
| Date | Event | Stock after | Average cost |
|---|---|---|---|
| 1 May | Buy 10 kg at €20 | 10 kg | €20.00 |
| 1–14 May | Use 7.5 kg in sales | 2.5 kg | €20.00 |
| 15 May | Buy 10 kg at €30 | 12.5 kg | (2.5 × 20 + 10 × 30) ÷ 12.5 = €28.00 |
When stock went negative. If stock fell below zero since the previous receipt, for example because you sold beans that hadn't been received yet, the next receipt doesn't average. Its own unit cost becomes the new cost. In the example above, if 15 kg had been used before the second purchase, the cost from 15 May would be €30.00.
Last Purchase Cost
With Last Purchase Cost, each receipt of stock sets the item's cost to that receipt's unit cost. If the beans were bought at €20 and then at €30, the cost from the second purchase onwards is €30.
How recipe items get their cost
Items sold with a recipe and Make Production on Sale don't get a cost when you save the recipe. Each time the item is sold, its cost is the sum of its ingredients' costs on the sale date.
Example. A Cappuccino uses 0.018 kg of espresso beans at €28.00 per kg and 0.2 l of milk at €1.20 per l. Its cost on that day is 0.018 × 28.00 + 0.2 × 1.20 = €0.744.
The Cost and Total Cost columns in the item's Recipe section show the current figures. See Add a recipe to an item.
Costs on documents already saved
Saving or editing a purchase, opening stock or additional cost recalculates the item's cost from that document's date onward. Sales, write-offs and transfers that were already saved keep the cost they were saved with. To update them, for example after entering a late purchase, run Inventory → Recalculate Cost for the period.
When an item has no cost
If no cost exists on a document's date, the cost is recorded as 0. Reports then show the full selling price as profit. Make sure every item has a manual cost, a purchase or an opening stock before you sell it.
View an item's cost history
Open the item and choose Item Cost History (Manual Cost) or Cost History (Average or Last Purchase Cost) in the item editor's actions menu. Each row shows when a cost took effect and which document created it; costs entered by hand show Manual Cost. These actions are hidden for users whose role has Hide Cost & Profit Values turned on.
Recalculate costs
Recalculate costs after you enter a purchase or change a manual cost dated before sales you already recorded, or when past costs look wrong.
- Go to Inventory → Recalculate Cost.
- In Recalculate Item Costs, choose the Period, and choose All Items or Selected Items.
- Select Recalculate.
Only items with transactions in the selected period are recalculated. See Recalculate item costs.
Important: Recalculating may change historical item costs, inventory valuations and profit figures in reports and sales.
