Here is the updated feature for the user’s convenience, the payment details are shown along with the invoice when it’s paid or partially paid. The customer payment of the invoice will be shown in the invoice internal preview screen when the payment is done with invoice creation, Record payment from the internal preview screen, and also when it’s created in the customer payments module.
The user can also delete the payment, whenever required. So the status of the invoice will be changed from paid to save.