calculate_hra_exemption
Calculate HRA exemption under Section 10(13A) by comparing actual rent paid, 50%/40% of salary, and HRA received, taking the minimum eligible amount.
Instructions
Calculate House Rent Allowance (HRA) exemption under Section 10(13A).
Use when computing tax-exempt HRA component for salary structuring or income tax filing. Compares three conditions and takes minimum.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basic_salary | Yes | Monthly basic salary in rupees | |
| hra_received | Yes | Annual HRA received from employer in rupees | |
| rent_paid | Yes | Annual rent paid in rupees | |
| city_type | No | 'metro' (Delhi/Mumbai/Chennai/Kolkata) or 'non_metro' | non_metro |
| is_government_employee | No | True for government employees using simplified formula |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||