Arrears (or arrearage) calculation on overdue invoice

Hello tryton team,
I would like to ask if there is a module that can calculate the interest for an overdue invoice in tryton ? I think the term is arrears.

“Arrears (or arrearage) is a legal term for the part of a debt that is overdue after payment terms has ended”

Thanks in advance

The module account_dunning_fee manages fees of two types by default: fixed and percentage. But it should not be difficult to implement other ways.

I’ll check it out. Thanks