If you canceled your order, the discount won't be replaced. Otherwise, you will get the discount back in full.
Your invoice gives you a breakdown of the split of the monetary amount discount across the products you ordered.