Skip to content
kvsrohitPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

"# lumio"

Loan Document Structure

{
  name: 'Nick Wurfle',
  amount: 20000,
  startDate: '2018-06-10T00:00:00.000Z',
  interestRate: 1.5,
  interestFrequency: 'Monthly/Annual'
  paymentDay: 1,
  leasePeriod: 5,  
  hasPenalty: true,
  penaltyType:'FixedPerDay/InterestOnInterest',
  penaltyRate: 200
}

Payment Document Structure

{
  loanId: 'Loan Document ID',
  amount: 4250,
  interest: 250,
  principal: 4000,
  paymentDate: '2018-06-10T00:00:00.000Z',
}

Interest Calculations, Assuming No Principal Repayment

  1. Pick the loan and past payments.
  2. Arrange payments in ascending date order.
  3. Calculate interest for 'start stub' (if present)
  4. Calculate interest for each month till last month.
  5. Calculate interest for 'end stub'. (Accrued Interest)
  6. Cancel/Cross-out interest flow with interest paid back.
  7. Identify outstanding Interest till last monthend.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages