To add free quantity while creating sales invoice, please follow the below mentioned steps:
Step 1: Go to Settings
Step 2: Go to Preferences under General Settings >> Go to Products & Inventory >> Go to Inventory >> Free Quantity >> Enable >> Save Changes