sendInvoice( )


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.

Method Declaration
Copy
Method Parameters
idIdAndVersionRequired

ID and version of the invoice to send.


emailInfoEmailInfoRequired

Information used when sending the email.

Was this helpful?
Yes
No