To show HSN summary in the invoice,
Go to document settings >> Scroll down >> you will see a toggle button for ‘show HSN summary’ >> You shall enable the option.