You need to delete the bill payment ( the voiding journal is delete too) and recreate the same bill payment ( don’t forget to update the numbering of your bill Payment ) .
Then you can click to void on the bill and select a posting period for the new voiding journal