How to add 'Amount in words' for General Ledger Report?

There is a requirement to add the 'Amount in words (Debit):, if the final balance is Debit amount, or ‘Amount in words (Credit):’ for Credit balance at the bottom of the GL report.
I searched all the reports and forum posts but there was no example available. I accomplished it in custom print format for other Doctypes like sales/payment with money_in_words utility but don’t know how to do it in the GL/other report’s PRINT format. I hope and appreciate if someone could point it out and the Dev team will add it by default in the future versions.