To enable the Invoice QTY field editable then the below setup will be followed.
Company setup > Quotation management > Vendor Invoice column > Invoice Qty > Make editable. The option has to be enabled. After that, the invoice qty field will be editable.