This specific problem occurred in some occasions during heavy API load together with overlapping actions, where the released purchase invoice may have incorrectly remained in the Balanced status after it was released via SupplierInvoice endpoint.
In this scenario the full release operation was not able to finish. Meaning, even though the release process was successful and a batch was created, if the batch failed to link the documents (the Financial details tab not showing a link to the batch no.), due to this the purchase invoice document remained in the Balanced status.
The fix has been added under a feature toggle and will be initially activated for specific companies only. Within the fix behaviour added a retry for the release from API, if the release fails due to concurrency. Fix will later be included into all companies.