Bill Arconati

My feedback

1 result found

  1. 201 votes
    How important is this to you?
    Bill Arconati supported this idea  · 
    An error occurred while saving the comment
    Bill Arconati commented  · 

    I would imagine Xero could allow developers to pass some kind of "attach_pdf" param to this API call:

    POST https://api.xero.com/api.xro/2.0/Invoices/[id]/Email

    It would also be cool if you could specify which email template to use.

    In the meantime, I resorted to querying the Xero API for the invoice pdf and the online invoice url and then sending the email through my connected app. It was a pretty simple workaround. Not only does my email have the PDF attachment but it's also styled much nicer than the plain old default Xero email template.

Feedback and Knowledge Base