Set off and carry forward losses
compute_loss_setoffApply current-year and brought-forward losses in statutory order and report section-wise set-off, carry-forward expiry, and Schedule CYLA/BFLA/CFL rows for tax computation.
Instructions
Apply current-year and brought-forward losses in statutory order (s.70 within a head, s.71 across heads with the Rs 2,00,000 house-property cap and no business loss against salary, then ss.71B/72/73/74 oldest first) and report each step with its section, income by head after set-off, what is carried forward with the last year it can be used (house property 8, business 8, speculative 4, capital 8 years), what expired, what s.80 forfeits on a late return, and Schedule CYLA/BFLA/CFL rows. forComputeTax goes into compute_tax or tax_summary field for field, with nothing added (do not also pass houses there).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"regime": "<regime>",
"filedByDueDate": "<filedByDueDate>"
},
"name": "compute_loss_setoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fy | No | Fiscal year, e.g. '2025-26' (AY 2026-27); '2026-27' is tax year 2026-27 under the Income-tax Act 2025 | 2025-26 |
| regime | Yes | Tax regime: no house-property loss crosses heads under the new regime (s.115BAC(2)); run once per regime to compare | |
| business | No | Business or profession other than speculation (F&O included), net: profit or a NEGATIVE loss, in INR | |
| speculative | No | Speculative business (intraday equity), net: profit or a NEGATIVE loss, in INR | |
| capitalGains | No | Capital gains and losses of the year | |
| otherSources | No | Income from other sources at normal rates, in INR | |
| salaryIncome | No | Gross salary before the standard deduction, in INR | |
| houseProperty | No | Income from house property for all houses together, in INR: positive income or a NEGATIVE loss (compute_house_property totals.income) | |
| broughtForward | No | Losses brought forward from earlier years: one entry per kind and origin year, from last year's Schedule CFL | |
| filedByDueDate | Yes | The return for THIS year is filed by the s.139(1) due date. If not, s.80 stops this year's business, speculative and capital losses from being carried forward (house property survives, s.71B). list_tax_years `status` says whether the date has passed. | |
| housePropertyType | No | Which kind of house a house-property LOSS comes from; 'letOut' for a figure from compute_house_property (its caps are already applied) |