Allow reverting allocations for Credit Notes and Overpayments via API
This functionality is missing from API and available only via front end. We have almost finished implementation of Store Credits via Credit Notes and Overpayments, but luck of this functionality makes entire sync process very cumbersome.

Allocations can now be deleted for Credit Notes, Overpayments and Prepayments. See the API Reference for more details:
https://developer.xero.com/documentation/api/accounting/creditnotes#delete-creditnotes
https://developer.xero.com/documentation/api/accounting/overpayments#delete-overpayments
https://developer.xero.com/documentation/api/accounting/prepayments#delete-prepayments
-
Bennett Thompson commented
If we could delete batch payments and credit note allocations we would be able to make integration quite seamless, reduce so much of our support workload and make many of our customers very happy.
-
Lucas commented
I would definitely tack onto this. The users of our app use prepayments a lot and it is often that a prepayment allocation is removed from one invoice and moved to another. It would be great to move this over.
We would only need the API to answer with an AllocationID and then we could send a removal of that allocation.
-
Allan commented
1.void payments via API
2.unallocated/void credit note via APIAPI should let us void payments and credit notes, at least for the invoices copied from our system