To show HSN/SAC summary only in specific documents, we suggest you follow the steps mentioned below.
Step - 1 : Go to Sales dashboard and click on Document Settings.
Step - 2 : Scroll down, click on show HSN/SAC summary dropdown option and select the documents for which you would like to show the summary in and click on Save changes.

