Amortization Schedule
amortizationMonthly loan amortization schedule and summary. Supports dated extra principal payments and a rate-fixed period. detail controls output size: 'summary' (default) returns totals plus a per-year breakdown; 'monthly' returns the full schedule (paginate with offset/limit). Returns numbers and schedules; no advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Fix the term (compute the payment) or fix the payment (compute the term). | |
| rate | Yes | Annual interest rate in percent (6 = 6%). | |
| extra | No | Optional dated extra principal payments. | |
| limit | No | Max monthly rows when detail=monthly (default and maximum 360; page with nextOffset). | |
| amount | Yes | Loan principal. | |
| detail | No | Output size. summary (default): totals + yearly breakdown. monthly: full schedule (use offset/limit to paginate). | |
| offset | No | Monthly schedule start index when detail=monthly (default 0). | |
| payment | No | Monthly payment, used when mode is 'payment'. | |
| rateSteps | No | Optional rate changes (e.g. after a Zinsbindung). The installment is held; from each date the outstanding balance continues at the new annual rate. | |
| startDate | Yes | First payment month as an ISO date (YYYY-MM-DD). | |
| termYears | No | Term in years, used when mode is 'term'. | |
| fixedUntil | No | Optional. Rate is certain until this ISO date; beyond it the schedule is an estimate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yearly | No | Per-year totals: { year, interest, principal, extra, payments, endBalance }. | |
| payments | No | Number of payments made. | |
| schedule | No | Monthly rows (only when detail=monthly). | |
| totalPaid | No | Total paid (incl. extras). | |
| nextOffset | No | Next pagination offset, or null. | |
| payoffDate | No | Payoff date, ISO. | |
| scheduleTotal | No | Total monthly rows (when detail=monthly). | |
| totalInterest | No | Total interest paid. | |
| monthlyPayment | No | Monthly payment. | |
| scheduledMonths | No | Scheduled months (null if open-ended). |