If you want to change the discount type while creating the invoice, then please follow the steps given below:
Example: If you wish to provide a discount on the net amount but not on the total amount.
While creating an invoice >> click on discount type >> select the type.
Please refer the image below