The amount discounted with the promotional code shows the discount applied on the net price. The taxes are calculated on the discounted net price and in the final calculation you can see the application of the % discount on the total price (taxes included).