| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentIds |
Invoice attachment Ids. |
Collection of integer |
None. |
| DocumentId |
Id of the document to send. |
integer |
Required |
| EmailBody |
Custom e-mail body. Can contain placeholders. If not set, the default from your settings will be used. |
string |
None. |
| EmailSubject |
Custom e-mail subject. If not set, the default from your settings will be used. |
string |
None. |
| Method |
E-mail send method - pdf attachment or invoice link. If not set, the value from your settings will be used. |
SendMethodType |
None. |
| OtherRecipients |
List of other recipients. |
Collection of string |
Collection with length within range 0 and 5. |
| ReportLanuage |
Document language |
Language |
None. |
| SendAttachment |
Include the document's attachment if it has one. |
boolean |
None. |
| SendToAccountant |
Send to acountant. The accountant's E-mail and mail template are specified in the application settings. |
boolean |
Required |
| SendToPartner |
Send to the partner (purchaser/supplier) specified on the document. |
boolean |
Required |
| SendToSelf |
Send a copy of the e-mail to your company address. |
boolean |
Required |