As per income tax, there is no problem if the amount is transferred through cheque/ electronic means and you have properly recorded that amount in books of accounts as a loan/ advance.
For GST , I have not analysed the situation. Let me do some research.
Please feel free to call/ revert in case you need more clarity
Thanks and regards
Abhishek Dugar
CA CS B.Com