How do I set up items to automatically adjust stock number when creating an invoice?

How do I set up items to automatically adjust stock number when creating an invoice?

I have made several invoices recently and I thought that whenever I added items to that invoice it would automatically deduct that item from my stock.  Why does it not or am I missing something?