Stock
Keep a quantity on hand for the items you buy and sell, valued at weighted average cost, with cost of goods sold posted as you sell, stock adjustments, stocktakes, low-stock alerts and stock reports.
Who can use this: Managers and above see stock and its reports (
books:view), and track items, adjust stock and run stocktakes (books:manage).
How stock works
- An item that tracks stock keeps a quantity on hand and what it is worth in ringgit. Only stock movements change them: bills, invoices, notes, adjustments and stocktakes.
- Average cost is the stock value divided by the quantity on hand. Every purchase updates it (weighted average cost).
- Quantities can have up to three decimals. The ledger stays in ringgit: a bill in another currency adds its ringgit amount at the bill's rate.
- Costs follow the order things are recorded, not their dates. A bill dated before a sale you already recorded does not change the cost of that sale.
- The lock date holds for every stock movement.
These accounts are added to every brand's books when they are first needed. An existing account with the same code and kind is used instead.
| Account | What goes there |
|---|---|
| 1300 Inventory | The value of everything on hand. |
| 5000 Cost of sales | Cost of goods sold, when stock leaves on an invoice. |
| 5010 Stock losses and adjustments | Stock written off, found, or corrected by a stocktake. |
| 3900 Opening balances | The other side of opening stock, when you start tracking. |
Inventory is a control account: only stock postings reach it. Manual journals, bank categorising and ordinary bill lines cannot post to it, so the Stock valuation report always equals the account.
Track stock for an item
Open Invoices → Items, then Add item or the pencil on an item.
| Field | Notes |
|---|---|
| SKU (optional) | Your own product code, unique in the brand. |
| Cost price | What a bill line for this item starts with. |
| Purchase account | Where a bill line for it goes; Default (supplier's account) when empty. Stock items always go to Inventory. |
| Track stock for this item | Under Stock. Bills add it at their cost, invoices take it out at the average cost and post cost of goods sold. |
| On hand now, Cost of each, As of | Opening stock, asked for only when tracking starts. Leave On hand now empty to start at nothing. |
| Reorder level (optional) | The level for the low-stock alert. See Low stock. |
- Opening stock goes into the books at once: Dr Inventory, Cr Opening balances, dated As of.
- Turning tracking off needs nothing on hand. Otherwise: "(item) has (quantity) on hand. Sell, adjust or count it down to nothing first."
- The items list shows On hand and the value under it, with Low stock on items at or below their reorder level.
- An item's page shows On hand, Average cost, Stock value and Reorder level, and every movement with its date, quantity, value, On hand after and journal entry.
Buying stock
On a bill, choose the item on a line (Pick an item (optional)). It fills in the description, account, SST and amount (quantity × cost price).
- A stock item's line needs a Quantity. Its account is always Inventory, whatever was chosen, and the line shows what is on hand.
- Approving the bill adds the quantity and the line's ringgit amount to stock. Amounts include any SST the supplier charged, so that SST is part of the cost.
- A supplier debit note adds its amount to stock, with the quantity on the line. Use a quantity of zero for a later charge on goods already in stock, such as freight.
- A supplier credit note sends the quantity back at the line's amount.
- Voiding a bill or note takes back exactly what it added. It is refused when that would take the item below zero.
- When a voided bill's stock was already sold, the value left with no units goes to cost of goods sold as a Cost correction, so stock never has value without units.
See Bills and receipts.
Selling stock
- Issuing an invoice or debit note with stock lines takes their quantities out at the average cost: Dr Cost of sales, Cr Inventory, on the document's own entry. The invoice editor shows what is on hand under the quantity.
- Stock never goes below zero. An invoice, debit note, supplier credit note or adjustment that would do so is refused: "Not enough (item) in stock: (quantity) on hand." Record the bill first, or count the stock.
- Voiding an invoice puts its stock back at the same cost.
- Credit and refund notes have Goods come back into stock: ticked by default on a credit note, not on a refund note. When ticked, stock lines return at the cost they left at on the invoice, and no more than left on it.
- Quotations and recurring schedules never move stock; the invoices made from them do.
See Invoices.
The Stock page
Accounting → Stock shows Items tracked, Stock value and Low on stock, with these tabs:
| Tab | Shows |
|---|---|
| Items | Every tracked item: On hand, Average cost, Reorder level and Value. |
| Low stock | Items at or below their reorder level. |
| Adjustments | Stock adjustments, with their reason, items and value. |
| Stocktakes | Stocktakes, with their status and the difference they posted. |
Adjust stock
Write off stock that was damaged, lost, expired or used, or add stock you found.
- Press Adjust stock on the Stock page, or on an item's page to start with that item.
- Choose the Date and the Reason, and add a Note (optional).
- Add a line for each item (Add item) with how many. For found stock, Cost of each starts at the average cost.
- Press Adjust stock. It posts at once.
| Reason | Stock | Posted against |
|---|---|---|
| Damaged | Goes out | Stock losses and adjustments |
| Lost or stolen | Goes out | Stock losses and adjustments |
| Expired | Goes out | Stock losses and adjustments |
| Used in the business | Goes out | The Expense account you choose, such as Office supplies |
| Other | Goes out | Stock losses and adjustments |
| Found | Comes in | Stock losses and adjustments |
- Stock going out is at the average cost: Dr the account, Cr Inventory. Found stock is the other way round.
- Void on an adjustment puts its stock back the way it was and voids its entry. It is refused when the stock it added was sold since, or when it is on or before the lock date.
Stocktakes
Count what is on the shelf; finishing posts the differences.
- Press Start a stocktake, choose the Date counted, add a Note (optional) and press Start counting. Every item that tracks stock is listed with what is on hand.
- Print count sheet prints the list from your browser.
- Type what you count under Counted. Leave an item blank to skip it. Save counts keeps them so you can carry on later.
- Press Finish. Each count is compared with what is on hand at that moment, and the differences are posted on one entry against Stock losses and adjustments, at average cost.
- A stocktake shows Counting, Finished or Void.
- Delete throws away a stocktake still being counted. A finished one is voided instead: its differences go back the way they were and its entry is voided.
Low stock
- When a movement takes an item to or below its Reorder level, Telegram chats with the Stock running low alert get "Stock running low: (item)". It is sent once, until the item goes back above its level. See Telegram.
- The accounting overview's To do lists "(count) items low on stock", which opens the Low stock tab.
Stock reports
Accounting → Reports has a Stock group. Both reports have Print and Export CSV.
| Report | Shows |
|---|---|
| Stock valuation | What is on hand on a day and what it is worth: quantity, average cost and value per item. The total is checked against the Inventory account. |
| Stock movements | For a period (From and To) and All items or one: what was on hand At the start, what came In and went Out, and what was left At the end, with values. |
- Reports on a date add up the movements dated up to that day.
- If the Inventory account differs from the stock, the valuation says by how much: something was posted to it outside stock. Check its ledger.
- Each item's movements one by one are on the item's page.
Troubleshooting
- "Not enough (item) in stock: (quantity) on hand." Record the bill that bought it first, or count the stock with a stocktake.
- "Line (n) is for (item), which tracks stock: say how many were bought." Add the quantity on the bill line.
- "(item) has (quantity) on hand. Sell, adjust or count it down to nothing first." Tracking can only be turned off with nothing on hand.
- "Only (quantity) of (item) left the stock on the invoice and can come back." A credit or refund note cannot return more than the invoice took out.
- "The Inventory account differs from the stock by (amount)." Something was posted to Inventory outside stock. Open its ledger to find it.