Total Debit/Credit in words on ERPNext 14

I just found the solution on How to use frappe.utils.money_in_words - Frappe Forum this post.

on 3rd post, @kennethsequeira answered:
Here’s an example:

In print format, enter the following in HTML:

{{ frappe.utils.money_in_words(doc.grand_total) }}

So this is the answer I need for my Post.