Skip to content

Settings and activity

1 result found

  1. 97 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    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.