S

send_invoice_by_mail

After an invoice has been opened, generates the configured report, attach it, and post an email to customer.