You can create a credit memo independently and then link it to an invoice.
- In the credit memo, in the Items tab, click the Apply sub-tab.
- Select Apply for the invoice that you want to apply this credit memo to.
- Click Preview Tax.
- You can check the total tax amount in the Summary box.
- Go to the Tax Details tab if you want to check the individual tax lines.
- Click Save.