createInvoice( )


Creates a new invoice.

The createInvoice() function returns a Promise that resolves to the created invoice's ID when the invoice is created.

Note: The customer ID and email address listed on the invoice must match an existing contact in the site's contact list.

Method Declaration
Copy
Method Parameters
invoiceFieldsInvoiceFieldsRequired

The data used to create an invoice.

Returns
Return Type:Promise<Response>
Was this helpful?
Yes
No