Summary of HSN in Invoice

Summary of HSN in Invoice

I want to have a summary of taxes for all HSN code items in the invoice.. like this

sr no. - hsn code - total value - taxable value - sgst - cgst - total

how to achieve it ??
How can i get it along my invoice a//