Mark invoice sent via API
Add the ability to mark invoices as sent via the API.
This functionality was introduced in a recent release – see http://blog.xero.com/developer/api/invoices/ for details on how to use the SentToContact element
-
@Robert As this is how the main Xero application behaves, we don't have any plans to change this for the time being. You do have the option of marking the invoice as sent when you create it, before the invoice has been paid. Appreciate that is not quite what you are after, but the function is intended for tracking whether an invoice has been presented to payment can be made, rather than for your slightly different use case.
-
Robert Kern commented
I know this is marked as Completed, but in my opinion it is not yet complete. It is only possible to mark an invoice as sent before the invoice has been paid. We use the API to generate receipts for customers (paid invoices). We email the PDF showing the paid invoice, and then would like to mark the invoice as sent.
-
This functionality was introduced in a recent release - see http://blog.xero.com/developer/api/invoices/ for details on how to use the SentToContact element
-
Andrew commented
Allowing the SentToContact field to be changed via API should be a priority.
Further down the track, it would be nice to send emails directly from Xero's API, but that can come later. For now, simply making SentToContact writeable would be sufficient.
Until that happens, we can't really even build our own system to automatically email invoices, because there's no way of recording in Xero that we've done so.