Emailing an invoice - Select Template
Allow selection of email template from the API when emailing an invoice.
POST https://api.xero.com/api.xro/2.0/Invoices/aa682059-c8ec-44b9-bc7f-344c94e1ffae/Email
Body:
{"Template": "3d4a46af-bb29-481a-85e1-37f59f0724d6"}

-
kevin eaton commented
if someone is doing something as detailed as using an api to get xero to generate an invoice and then send it via emails, they probably need more than one email template...i cant build an app to integrate with xero to autosend emails until this works....please this is essential...
-
Cryptopher commented
Companies do have multiple Sales Invoice templates.
Having just a default template for a Sales Invoice API is not enough.Would be really useful to build this feature in.
-
Tanuja commented
Yes choosing an email template would be really useful.
-
Sankar Raj commented
It should have been there by default.
-
Mark commented
Yeah, just found out. Disappointed that this is missing from the API.
We need to send invoices for companies that have either paid already or still need to pay. A different message would be very usefull.