[A] If you cancel the Sales Invoice, an inventory approval will go to add back your stock in inventory as shown below.

[B] Approve the inventory approval and your stock will get added into your inventory.

Keywords - Invoice cancel, stock add

Did this answer your question?