If you want to change the discount type while creating the invoice, then please follow the steps given below:
Step 1 - Kindly on sales >> Click on invoice >> Click on (+create invoice).
Step 2 - Example: If you wish to provide a discount on the net amount but not on the total amount.
While creating an invoice, click on the discount type and select the type.
Please refer to the image below:

