Welcome to QuickBooks Community.
QuickBooks always calculates the tax on the discounted value. Would you be able to share a screenshot of the invoice form so that I can check and verify this for you?
You have clicked a link to a site outside of the QuickBooks Community. By clicking "Continue", you will leave the Community and be taken to that site instead.