Send Invoice Email

amerta


amerta / amerta/payload/utilities/emails/sendOrderEmail / sendInvoiceEmail

Function: sendInvoiceEmail()

sendInvoiceEmail(customer, order): Promise<void>

Defined in: amerta/payload/utilities/emails/sendOrderEmail.ts:258

Sends an order invoice/details email to the customer.

Sends a detailed invoice of the order with payment and shipping information.

Parameters

| Parameter | Type | Description | | ------ | ------ | ------ | | customer | Customer | The customer receiving the invoice | | order | Order | The order object with complete details |

Returns

Promise<void>

Async