PDF Invoice Attachment#
In order to send the PDF of the Issued Invoice attached to the email sent to the recipient, the following objects need to be populated in the json as indicated below: "AdditionalDetails": {
"AccountingDepartmentEmails": [ ],
"TransmissionMethod": "A",
"SendAsPdf": true,
"AvoidEmailGrouping": false,
"PdfNotificationEmails": ["email@address.gr"]
}
In case you want to send just the url of the issued Invoice to your customer the above JSON object should be formatted as shown below (Insert the value 'A' into the field 'transmissionMethod' if you do not want any email notifications to be sent to your customer.)
"AdditionalDetails": {
"AccountingDepartmentEmails":[
"emailcounterparty@gmail.com"
],
"TransmissionMethod":"E",
"AvoidEmailGrouping":false"
}