NameDescriptionTypeAdditional 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.

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

SendToSelf

Send a copy of the e-mail to your company address.

boolean

Required