Attach invoice to payment recieved email

Is there a way to attach the PDF of paid invoice or receipt when applying a payment to an invoice using this option “Email payment receipt to the client”?

I see how to do it with invoices due, but many time I don’t send the invoice because they are paying with a prepaid credit, and they just want a statement.

It would also be nice for normal payments (non-credit), for users to quickly download paid invoices.

If “Attach PDFs” is enabled on /settings/email_settings the app should attach the PDF when entering a manual payment.