Calculate B-20 Stress-Test Qualification
calculate_qualificationCalculates the B-20 qualifying rate, the qualifying payment, and the resulting GDS/TDS from a principal, contract rate, amortization, and income. It computes the payment itself, so it needs those loan terms. Results are neutral scenario math, not an approval or underwriting decision. Works only from explicit, non-identifying numbers in the request. Returns calculations only: no approval, underwriting, or suitability decisions, no lender or product recommendations, and no values looked up from chats, files, accounts, documents, or the web.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| housing | No | ||
| floorRate | No | Optional minimum qualification rate. Omit it to use the disclosed default. Supply the annual rate as a decimal; for example, 5.25% is 0.0525. | |
| principal | Yes | Mortgage principal in Canadian dollars. | |
| bufferRate | No | Optional stress-test buffer added to the contract rate. Omit it to use the disclosed default. Supply the annual rate as a decimal; for example, 5.25% is 0.0525. | |
| tolerances | No | ||
| contractRate | Yes | Contract rate for the mortgage. Supply the annual rate as a decimal; for example, 5.25% is 0.0525. | |
| jurisdiction | No | Canadian calculations only. | CA |
| effectiveDate | Yes | Date the supplied rates and policy assumptions were confirmed. | |
| grossAnnualIncome | Yes | Gross annual household income in Canadian dollars. | |
| otherMonthlyDebts | No | Total monthly debt obligations outside the housing costs in Canadian dollars. | |
| amortizationMonths | Yes | Mortgage amortization period in months. | |
| straightSwitchExempt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| currency | Yes | ||
| disclaimer | Yes | ||
| calculation | Yes | ||
| jurisdiction | Yes | ||
| effectiveDate | Yes | ||
| calculationVersion | Yes |