Home loan EMI
home_loan_emiCalculate reducing-balance monthly Equated Monthly Installment (EMI), total interest payable, and amortization schedule for home, auto, or personal loans.
Behavior: Deterministic, idempotent calculation with zero external side effects. Computes standard monthly EMI formula: E = P * r * (1 + r)^n / ((1 + r)^n - 1), where r = annualRate / 12 / 100. Returns monthly EMI, total payment (principal + interest), total interest percentage, and first-year amortization breakdown.
Usage Guidelines: Use for general global reducing-balance loans and consumer debt. Do not use for US residential mortgages requiring property tax, hazard insurance, and PMI escrow; use mortgage_piti instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Total borrowed principal loan amount in currency units. Must be a positive number. | |
| as_of_date | Yes | Civil date YYYY-MM-DD. Selects the rule pack in force on that date. Required: the engine will not assume a date. | |
| tenureYears | No | Total loan repayment duration in years (e.g. 15, 20, 30). Must be an integer >= 1. | |
| interestRatePercent | Yes | Annual interest rate in percent, as a decimal string (e.g. 8.50). |