Calculate B-20 Stress-Test Qualification
calculate_qualificationCalculate the B-20 qualifying rate, qualifying payment, and resulting GDS/TDS from a supplied principal, contract rate, amortization, and income. Use this tool only when the qualifying payment must be calculated from those inputs. If the user already supplies a monthly mortgage payment and asks for GDS/TDS, MUST use calculate_debt_service instead and must not request principal, rate, or amortization. This is neutral scenario math, not an approval or underwriting decision. Use only with explicit, non-identifying numeric inputs. Calculation only: never use this tool to approve, deny, underwrite, recommend, select a lender or product, or fill missing inputs from prior chats, files, accounts, documents, websites, or web search.
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 |