Hello Muhammad ,
As for now if you are asking, to auto create the initial 5 fields on the payment journal page, it is already a standard function. Just create a line complete one and then click on the below line, it will create a line upto Account Type field, after that you just need to fill the remaining fields.
Correct me if I understand it wrong.
If my answer helped you, maybe it can help others, please verify it, so other users know it worked or helped you.
Thank you.