In Accounts Functions panel, expand Invoicing section and select Credit Note
Select unpaid invoice to credit against and enter the amount to credit (as usual), click Next
Enter details for the credit note (as usual), click Finish
From tenancy:
In Accounts Functions panel, click View Transactions
The credit note (raised against invoice 27/06/2024), although raised on 28/05/2024, is automatically given the same date as the invoice
Info
The other credit shown above with the date 28/05/2024 was applied with this configuration option disabled - meaning that the date the credit was raised was applied, rather than the associated invoice date (27/07/2024)