Be able to Allocate CreditNotes while creation
Right now, the only way to allocate a CreditNote to an Invoice is via a single API call to <url>/CreditNoteID/Allocations
This severely limits the capability to have multiple allocations (exclusive) done at the same time. It would be wonderful to allocate CreditNotes to Invoices while their creation.
![](https://secure.gravatar.com/avatar/5267714319b25184d7d8a0cc8fea87a1?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Kieran Pilkington commented
Agreed. We're having to do a very roundabout way of creating all credit notes in bulk, then looping over the successful results and making allocations one by one. It would be far better to have a means to provide an "Allocations" array in the credit note creation API that contains invoice ids to assign the credit note to.