LoanJS icon indicating copy to clipboard operation
LoanJS copied to clipboard

Calculate "annuity due"

Open vettloffah opened this issue 2 years ago • 6 comments

I need to get an amortization where the payment is made in the beginning of the pay period, not the end. This is known as an "annuity due".

If anyone knows how to modify the calculation to achieve that please let me know.

vettloffah avatar Jul 18 '23 19:07 vettloffah

Hello, For now its not possible. I will try to add this option to calculation and let you know. Thanks, Grzegorz

kfiku avatar Jul 19 '23 14:07 kfiku

Hi @vettloffah, please update to version 1.1.0 and than use

const annuityDueLoan = new Loan(1000, 12, 5, 'annuityDue');

please let me know if it's working for you

kfiku avatar Jul 24 '23 23:07 kfiku

Hi @vettloffah, please update to version 1.1.0 and than use


const annuityDueLoan = new Loan(1000, 12, 5, 'annuityDue');

please let me know if it's working for you

Very cool thanks buddy I will try it out

vettloffah avatar Jul 25 '23 00:07 vettloffah

@kfiku I'm being told my our corporate accountant that the monthly installment amount is correct for the annuityDue option. However when calculating annuity due, the first payment should have $0.00 interest since the payment is made at the beginning of the billing period. Currently the software package is returning interest including in the first installment.

vettloffah avatar Aug 09 '23 19:08 vettloffah

Hello, Ok i will check it next week, Thanks for letting me know

kfiku avatar Aug 18 '23 09:08 kfiku

@vettloffah can you show me an example of similar calculator online, because I can not find any similar examples. Its also interesting that "monthly installment amount is correct", now if I will make first installment with 0 interest rate, than all other installments will be changed.

Can you provide some proper example with all installments?

kfiku avatar Sep 21 '23 12:09 kfiku