Sends an invoice preview link to a customer via email.
The sendInvoice()
function returns a Promise that resolves
when the invoice with the specified ID and version is sent to the customer
listed on the invoice.
Use the emailOptions
parameter to specify the subject and body of the email
sent to the customer.
ID and version of the invoice to send.
Information used when sending the email.