Hi,
You can create one batch for Cash and set a cash GL account in bal. account no. field

Then create one cash receipt journal by using cash batch and enter customer amount in the negative (Credit amount)

The system will consider bal. account no. as debit check accounting entry in preview posting page

I hope this will answer your query. If it is please mark it as the suggested answer.
Thank you