Unable to release voided purchase credit note that was re-opened

API Version 10.49

In the documents flow where a purchase credit note was;

  1. Pre-booked
  2. Voided
  3. Re-opened into balanced state
  4. Releasing the document gave an error “subaccount cannot be empty”

This has now been fixed, and purchase credit notes that have been re-opened can be pre-booked and/or released via both UI and API.