SendInvoice()

Sends an invoice to the specified email address.

Parameters

Invoice_Id

SQL_VARCHAR(255)

The unique identifier for the invoice.

Email_Address

SQL_VARCHAR(255)

The email address to which you want to send the invoice. This parameter is optional. By default, the invoice is sent to the email address specified in Invoice.BillEmail.Address.

Returns

A table with a single cell of data.

Return_Code

SQL_BIT

1 for success, 0 for failure.