Automatic Stock Deductions When You Invoice
One of the most useful aspects of Officaid's inventory tracking is that stock updates happen automatically. When an invoice containing items with inventory tracking enabled is approved, Officaid deducts the invoiced quantity from stock without any manual steps. This keeps your stock levels accurate as you sell.
How It Works
Here is what happens step by step when you invoice:
- You create an invoice and add items to it, specifying the quantity for each
- When the invoice is approved (Approve Draft), Officaid checks which items have inventory tracking enabled
- For each tracked item, Officaid creates a Stock Out movement equal to the quantity on the invoice, listed as Invoice Sale and dated on the invoice date
- The item's stock level decreases by that amount
- The stock movement is recorded with the invoice number in the note field (for example, "Invoice #INV-20260200007")
Because the movement is dated on the invoice date, an invoice dated in the past takes its place in date order among the item's movements, and every later balance is recalculated. For example, a draft invoice for 1 unit dated 17 Oct 2026 wrote no movement; on Approve Draft, an Invoice Sale of -1.00 dated 17 Oct 2026 appeared in date order and the balance went from -1.00 to -2.00.
A Simple Example
Say you have an item called "Wireless Keyboard" with a current stock of 30 units. You create an invoice for a client ordering 1 keyboard.
After approving the invoice:
- Stock changes from 30 to 29
- A Stock Out movement appears in the item's movement history showing -1.00
- The note reads "Invoice #INV-20260200007" (or whatever the invoice number is)
- The "After" column shows 29.00, confirming the new stock level
Tracing Stock Deductions Back to Invoices
Every automatic stock deduction includes the invoice number in the note field. This creates a direct link between your sales and your inventory, making it easy to answer questions like "when did this stock decrease?" or "which sale caused this deduction?"
To trace a deduction:
- 1 Go to Sales → Items and click the item name
- 2 Scroll to the Stock Movements section
- 3 Look for Stock Out entries with invoice numbers in the note column
Items Without Inventory Tracking
If an item on the invoice does not have inventory tracking enabled, Officaid simply ignores it for stock purposes. The invoice is created as normal, and no stock movement is recorded for that item. This means you can mix tracked and untracked items on the same invoice without any issues.
Putting Items Back with a Credit Note
When a client returns goods, you can put them back into stock with a credit note on the invoice:
- 1 On the credit note, Returned To Stock is ticked on each line: untick it on any line that did not come back
- 2 Click Add Credit Note, then Approve Draft in the Invoice Activity
When the credit note is approved, each ticked line with a tracked item gets a Credit note return movement that adds the quantity back, with the credit note number in the note field (for example "Credit Note #CN-INV-20261000038-1"). This movement is locked: it has no Edit or Remove, and its lock icon says "This movement was booked by a credit note. Change or remove the credit note instead." If you remove the approved credit note from the Invoice Activity, the movement is deleted and the quantity comes back out of stock.
See Adding a Credit Note for the full credit note form.
What About Quotations
Quotations do not affect stock levels. Only invoices trigger automatic stock deductions. This makes sense because a quotation is a proposal, not a confirmed sale. Your stock remains unchanged until the deal is finalized with an invoice.
Frequently Asked Questions
Officaid warns you when you save the draft, but still lets you create the invoice, and records the stock deduction when it is approved. The stock level will go negative, indicating you have sold more than your recorded inventory. This can happen if stock was received but not yet recorded as a Stock In movement.
Stock deductions happen automatically for all tracked items on an invoice. If you do not want a particular item's stock to be affected, you can disable inventory tracking for that item before creating the invoice.
A Draft invoice has not moved stock yet, so deleting or editing a draft leaves stock untouched. The Stock Out is written when the invoice is approved. Once an invoice is approved it can no longer be deleted. To reverse it, add a credit note, and if goods come back into stock, keep Returned To Stock ticked on those lines so approving the credit note adds them back. Do the same if you need to adjust stock after editing an invoice.
Yes, once the invoice is approved. When a quotation is converted to an invoice, the resulting invoice deducts stock on approval just like any other invoice.
What's Next?
Now that you understand automatic stock updates, explore these related guides:
- Managing Stock Movements to manually record stock received and adjustments
- Setting Up Inventory Tracking for an Item to enable tracking on more items
- Viewing Item Details and Performance to see stock alongside sales insights