EmailAnInvoice
Emails an invoice to the customer.
Input
| Name | Type | Required | Description |
| Id | String | True | Id of Invoice |
| SendFromOrgEmailId | Boolean | False | Boolean to trigger the email from the organization's email address |
| ToMailIds | String | True | Array of email addresses of the recipients. |
| CcMailIds | String | False | Array of email addresses of the recipients to be CC ed. |
| Subject | String | False | Subject of an email that has to be sent. |
| Body | String | False | Body/content of the email to be sent |
| InvoiceNumber | String | False | The Invoice Number associated with the Id. This value is required if AttachInvoiceAsPdf is true |
| AttachInvoiceAsPdf | Boolean | False | Boolean value denoting if invoice pdf should be attached or not in the mail. |
| AttachCustomerStatement | Boolean | False | Boolean denoting if customer statement pdf should be attached with email. |
| SendAttachment | Boolean | False | Boolean value denoting if the documents attached to the invoice should be sent or not. |
| Attachments | String | False | Files to be attached to the email |
| FileName | String | False | Attachment name. This is required when content is not null. |
Result Set Columns
| Name | Type | Description |
| Status | String | Execution status of the stored procedure |