{"openapi":"3.1.0","info":{"title":"DSCR Loan Calculator (2026)","version":"2026.1.0","description":"Computes debt service coverage ratio (DSCR), monthly amortizing payment, total annual debt service, cash flow cushion, and maximum supportable loan size from business cash flow and proposed loan terms. selectCells reads at most 256 cells per request (including repeated cells). For licenseClass reference-only, cellOverrides, selectCells and trace may address only declared fio.yaml input/output port cells; trace traversal stops at that boundary. Verification level: scenario-engine-regression.","x-formualizer-Provenance":{"publisher":"Arumsoft","publisherPageUrl":"https://arumsoft.com/resources/excel/dscr-loan-calculator","sourceUrl":"https://arumsoft.com/downloads/templates/excel/DSCR%20Loan%20Calculator.xlsx","workbookFilename":"DSCR Loan Calculator.xlsx","workbookSha256":"92552d909da2728749904e91a6a18f872478c88e21669a9270118b0ea248863f","workbookBytes":22984,"format":"xlsx","licenseClass":"reference-only","retrievedAt":"2026-11-22"},"x-formualizer-VerificationLevel":"scenario-engine-regression","x-formualizer-WorkbookDownload":{"mode":"publisher-redirect","sourceUrl":"https://arumsoft.com/downloads/templates/excel/DSCR%20Loan%20Calculator.xlsx","sha256":"92552d909da2728749904e91a6a18f872478c88e21669a9270118b0ea248863f","bytes":22984},"x-formualizer-Flows":[{"id":"quick_calculate","title":"DSCR & Maximum Loan Sizing","kind":"single","inputPorts":["net_income","depreciation_add_back","amortization_add_back","interest_add_back","owner_salary_add_back","legal_settlement_add_back","related_party_rent_add_back","existing_annual_debt_service","loan_amount","annual_interest_rate","term_years","lender_minimum_dscr"],"outputPorts":["total_add_backs","cash_flow_available","monthly_payment","new_annual_debt_service","total_annual_debt_service","dscr","verdict","cushion_above_minimum","max_new_annual_payment","max_supportable_loan"]}]},"paths":{"/evaluate":{"post":{"operationId":"evaluateWorkbook","parameters":[{"name":"tablePort","in":"query","description":"Table input port receiving NDJSON rows or Arrow IPC; omit for scenario envelopes","schema":{"type":"string","enum":[]}},{"name":"flow","in":"query","description":"Named input/output flow (default: quick_calculate)","schema":{"type":"string","enum":["quick_calculate"],"default":"quick_calculate"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"inputs":{"$ref":"#/components/schemas/Inputs"}},"required":["inputs"]}},"application/x-ndjson":{"schema":{"type":"string","description":"Table rows with tablePort, otherwise scenario envelopes"}},"application/vnd.apache.arrow.stream":{"schema":{"type":"string","format":"binary"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"Workbook outputs","content":{"application/json":{"schema":{"type":"object","properties":{"outputs":{"$ref":"#/components/schemas/Outputs"}}}},"application/x-ndjson":{"schema":{"type":"string","description":"Scenario results, one JSON envelope per line"}}}}}}},"/evaluate-batch":{"post":{"operationId":"evaluateWorkbookBatch","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scenarios":{"type":"array","items":{"type":"object","properties":{"id":{},"inputs":{"$ref":"#/components/schemas/Inputs"}},"required":["inputs"]}}},"required":["scenarios"]}},"application/x-ndjson":{"schema":{"type":"string","description":"Scenario envelopes, one per line"}}}},"responses":{"200":{"description":"Scenario results (including per-scenario errors)","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{},"outputs":{"$ref":"#/components/schemas/Outputs"},"error":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}},"application/x-ndjson":{"schema":{"type":"string"}}}}}}},"/ports":{"get":{"operationId":"describePorts","responses":{"200":{"description":"Workbook manifest and ports","content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"type":"object"},"ports":{"type":"array","items":{"type":"object"}}}}}}}}}},"/types.d.ts":{"get":{"operationId":"typeDeclarations","responses":{"200":{"description":"TypeScript Inputs, Outputs and Client declarations","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/v1/models/{slug}/{edition}/workbook.xlsx":{"get":{"summary":"Download catalog workbook or follow publisher redirect","description":"Download mode: publisher-redirect. Reference-only workbooks redirect to the publisher. The sha256 and bytes metadata pin the catalog file, which may be a sanitized derivative. When present, upstreamArtifact separately pins the publisher file. fio.yaml remains downloadable.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","enum":["dscr-loan-calculator"]}},{"name":"edition","in":"path","required":true,"schema":{"type":"string","enum":["2026"]}}],"responses":{"302":{"description":"Publisher redirect; no workbook bytes in response","headers":{"Location":{"schema":{"type":"string","format":"uri"}},"x-workbook-sha256":{"schema":{"type":"string"},"description":"92552d909da2728749904e91a6a18f872478c88e21669a9270118b0ea248863f"},"x-workbook-bytes":{"schema":{"type":"integer"},"description":"22984"}}}}}}},"components":{"schemas":{"Inputs":{"type":"object","properties":{"net_income":{"type":"number","minimum":0,"description":"Annual net income from the P&L in USD","default":42000},"depreciation_add_back":{"type":"number","minimum":0,"description":"Annual depreciation expense add-back in USD","default":28000},"amortization_add_back":{"type":"number","minimum":0,"description":"Annual amortization of intangibles add-back in USD","default":2000},"interest_add_back":{"type":"number","minimum":0,"description":"Existing loan interest expense add-back in USD","default":21500},"owner_salary_add_back":{"type":"number","minimum":0,"description":"Owner salary above market replacement add-back in USD","default":20000},"legal_settlement_add_back":{"type":"number","minimum":0,"description":"One-time legal settlement add-back in USD","default":12000},"related_party_rent_add_back":{"type":"number","minimum":0,"description":"Rent paid to related party above market add-back in USD","default":0},"existing_annual_debt_service":{"type":"number","minimum":0,"description":"Existing annual principal and interest debt service in USD","default":28800},"loan_amount":{"type":"number","minimum":0,"description":"Proposed loan principal amount in USD","default":450000},"annual_interest_rate":{"type":"number","minimum":0.0001,"maximum":0.3,"description":"Proposed loan annual interest rate percentage","default":0.0875},"term_years":{"type":"integer","minimum":1,"maximum":30,"description":"Proposed loan amortization term in years","default":10},"lender_minimum_dscr":{"type":"number","minimum":0.5,"maximum":5,"description":"Minimum debt service coverage ratio required by lender","default":1.25}},"required":[],"additionalProperties":false},"Outputs":{"type":"object","properties":{"total_add_backs":{"type":"number","description":"Sum of all itemized non-cash and non-recurring add-backs in USD"},"cash_flow_available":{"type":"number","description":"Cash flow available for debt service (net income plus add-backs) in USD"},"monthly_payment":{"type":"number","description":"Standard amortizing monthly payment on the proposed loan in USD"},"new_annual_debt_service":{"type":"number","description":"Annualized debt service on the proposed loan in USD"},"total_annual_debt_service":{"type":"number","description":"Combined existing and proposed annual debt service in USD"},"dscr":{"type":"number","description":"Debt service coverage ratio (cash flow available divided by total debt service)"},"verdict":{"type":"string","description":"Underwriting verdict comparing DSCR against lender minimum"},"cushion_above_minimum":{"type":"number","description":"Cash flow cushion above or shortfall below the lender minimum DSCR requirement in USD"},"max_new_annual_payment":{"type":"number","description":"Maximum annual payment available for new debt at the lender minimum DSCR in USD"},"max_supportable_loan":{"type":"number","description":"Largest loan principal supported at the proposed rate, term, and minimum DSCR in USD"}},"required":["total_add_backs","cash_flow_available","monthly_payment","new_annual_debt_service","total_annual_debt_service","dscr","verdict","cushion_above_minimum","max_new_annual_payment","max_supportable_loan"],"additionalProperties":false}}}}