Open phyllipy opened 7 years ago
Hey @phyllipy. The credit note model already has functionality for creating allocations, it's the same for Prepayments. I've made the same functionality available for the Prepayments model.
There are some limitations tho (on both CreditNotes & Prepayments) due to the implementation (not the API).
Only one allocation can be made. The allocate function continues to allocate the initial allocation.
Appreciate it if you want to have a go at refactoring it.
Hey @rjaus ! Been a while, any news on this? otherwise I'd be happy to refactor it =)
There is currently no way to allocate prepayments to invoices. https://developer.xero.com/documentation/api/prepayments