EmailAnInvoice
Emails an invoice to the customer.
Input
Name | Type | Required | Accepts Input Streams | Description |
Id | String | True | False | Id of Invoice |
SendFromOrgEmailId | Boolean | False | False | Boolean to trigger the email from the organization's email address |
ToMailIds | String | True | False | Array of email addresses of the recipients. |
CcMailIds | String | False | False | Array of email addresses of the recipients to be CC ed. |
Subject | String | False | False | Subject of an email that has to be sent. |
Body | String | False | False | Body/content of the email to be sent |
InvoiceNumber | String | False | False | The Invoice Number associated with the Id. This value is required if AttachInvoiceAsPdf is true |
AttachInvoiceAsPdf | Boolean | False | False | Boolean value denoting if invoice pdf should be attached or not in the mail. |
AttachCustomerStatement | Boolean | False | False | Boolean denoting if customer statement pdf should be attached with email. |
SendAttachment | Boolean | False | False | Boolean value denoting if the documents attached to the invoice should be sent or not. |
Attachments | String | False | False | Files to be attached to the email |
Content | String | False | True | The content as InputStream to be uploaded when LocalFilePath or FolderPath is not specified. |
FileName | String | False | 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 |