loan_amortization
Calculate loan amortization schedules showing payment amounts, interest, and principal breakdown for any loan principal, annual rate, and term.
Instructions
Generate a loan amortization schedule for given principal, rate and term.
Args: principal: Loan principal amount. annual_rate: Annual interest rate (fractional, e.g. 0.05 for 5%). years: Term in years. payments_per_year: Payment frequency (default 12).
Returns: dict: Schedule rows and totals including payment amount, interest, principal breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | ||
| principal | Yes | ||
| annual_rate | Yes | ||
| payments_per_year | No |