PDF Invoice as an 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"
}
If you choose to send the document as a PDF, the email will not contain a URL for the document.
In case you include "TransmissionMethod": "E" in the JSON, the recipient will receive 2 different emails, one with the PDF attachment, and one with the URL.