You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Uploading a pdf and making it the sales invoice to be included in the email to customer #337
SDK you're using (please complete the following information):
4.14
Describe the bug
I have created an invoice and uploaded a pdf as an attachment. This pdf represent the sales invoice that i want to mail to the client.
However, when i click on the send email button and i send the email with the sales invoce, the one that is sent in the email is not the one i uploaded. but one created by xero using a different template. How can a an attachment to an invoice and mark it to be the pdf is to be included in the email sent to the customer?
To Reproduce
Here is the code i use to upload the attachemtn:
Activity