Hello,
Thank you for the report. The total being £54 is correct (£45 + £9 tax), so the underlying calculation seems right, but the tax breakdown display doesn't match.
Could you check a couple of things for me:
1. In your HikaShop configuration (System > Configuration > Tax tab), what are the "Discount before tax" and "Coupon before tax" settings set to? These control whether the discount/coupon is applied to the price before or after tax is calculated, which directly affects how the tax amount is displayed.
2. On the coupon itself (Marketing > Discounts), what is the "Tax" setting of your coupon set to? If it's set to a specific tax category, the discount amount will be taxed accordingly, which affects the tax line display.