#168 Automating interest

open
nobody
None
5
2007-11-21
2007-11-21
No

The ability to automate the putting of interest on outstanding accounts, sub-features include:

* Different rates for outstanding credit, and debit
* Ability to choose the period this would be done on
* Ability to set different rates for different "entities"
* Ability to manually run this as well

Jigme Datse

Discussion

  • The Anarcat
    The Anarcat
    2007-11-22

    Logged In: YES
    user_id=246797
    Originator: NO

    I'm also very interested in this.

    I would very well this implemented as an extension, using the commandline API or whatnot.

    In pseudocode, that would be:

    reports = list_overdues();

    foreach reports as report {
    interest = compute_interest(report);
    add_ar(interest, report.client);
    send_statement(report.client); # optional
    }

    Can't that be done with the existing API, with a simple extension, and ran through a cron job?