In some scenarios the invoice was released immediately, while it was expected to be sent to Approval. This is now fixed.