In the documents flow where a purchase credit note was;
- Pre-booked
- Voided
- Re-opened into balanced state
- 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.