Ho to add Tax with GL entries (GST) to Fees doctype?

Hi, I am trying to add tax (GST) feature to Fees doctype.
I tried adding custom GL entries to the fees and its payment, It requires GL entry for full amount of fees.

Can anyone help me with this to generate tax GL entries for Fees and its payment ?