I want to add a credit memo to a printed invoice. Currently, an applied credit memo will be reflected in the total of the invoice, but when printed the credit memo does not appear and the total is not reflected of the credit memo being applied.
I believe I need to add the scripting to the Advanced PDF/HTML Template of the invoice, similar to how gift certificates are added to the template, but I am not sure of the label source coding.
I believe I might need to create a new transaction body, but not sure.
Any help would be greatly appreciated.