taxBenefit
Takes a loan amount, annual rate, tenure and tax slab and returns the Section 80C and 24(b) deductions and the tax saved in a given repayment year. Example input: {"principal":5000000,"annualRate":8.5,"years":20,"slabRate":0.3}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Repayment year to compute for (default 1) | |
| years | No | Loan tenure in years (0.5 to 40). Give months or years. | |
| months | No | Loan tenure in months (6 to 480). Give months or years. | |
| slabRate | Yes | Income tax slab rate as a fraction, for example 0.3 | |
| principal | Yes | Loan amount in rupees | |
| annualRate | Yes | Annual interest rate in percent, for example 8.5 |