Is extra discount includes the tax or not?

Extra discount is directly deducted from the total invoice amount. It does not affect the tax calculations . To affect tax calculation, please give product-level discount.