Amortization summary for a loan
amortization_summaryExact month-by-month amortization: monthly payment, number of payments, final payment, total interest, total paid and the remaining balance after chosen years. Supports an interest-only period followed by amortization over the remaining term, as many DSCR loans use. Interest is rounded half up to the cent each month, like a lender schedule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term_years | No | Amortization term in years. Default 30. | |
| loan_amount | Yes | Loan amount in USD. | |
| annual_rate_pct | Yes | Annual note rate in percent, e.g. 7.25. Up to 3 decimals. | |
| balance_after_years | No | Years after which to report the balance. Default [1, 5, 10]. | |
| interest_only_years | No | Interest-only years at the start, e.g. 10. Default 0. Must be less than term_years. |