Financial Settings / General Settings / Financial Reports / Invoice & Payment Transactions / Invoice & Payment Transaction report
Here you define the report that will be used in the printing of the invoice and payment received.
Example of Invoice & Payment Transaction report
Note: To configure reports, you must go to Advanced Configurations / Reporting / Report Designer, as shown below