Create invoices and credit notes via the api as Deleted or Voided
My client requires invoices and credits too be synchronised between our software and Xero.
This includes having invoices deleted and credits voided before they reach Xero.
I would like to create deleted invoices and voided credits first time rather then having to create drafts and then delete/void them in a seperate operation.
You shouldn't be able to do this via the Xero user interface but I should be able to do this via the API.
The Xero API must follow the same application logic as the main application. It is for this reason we must decline this request, but we are committed to exposing more functionality via the API such as the ability to void invoices and credit notes via the API once they are created.