Generate rent receipts
generate_rent_receiptsUse this when the user wants rent receipts for HRA (rent receipt format for India) as a print-ready PDF: one receipt per month for a financial year (April to March) or a date range, 2 or 3 per A4 page plus a summary page. Put the user's details into the fields (monthly_rent, tenant_name, landlord_name, property_address, financial_year or from/to, rent_changes, payment_mode); details is only a fallback for pasted text. Handles rent changes, part months by calendar days, amounts in words in the Indian system, Hindi and other Indian scripts, a revenue stamp box for cash above Rs 5,000, and a landlord PAN line when the year's rent is above Rs 1,00,000. Does not compute the HRA exemption or tax and does not take the landlord's PAN. Do not use for rent agreements or for tracking unpaid rent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_rent_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional last month or move-out date, e.g. "2026-03" or "10/03/2026". Default: 31 March of the same financial year. | |
| from | No | Optional first month or move-in date, e.g. "2025-04", "June 2025" or "15/06/2025" (day first). A date after the 1st makes a part-month receipt with rent by days. | |
| details | No | Fallback only: the user's details pasted as text, e.g. "Tenant: Rajesh Kumar; Landlord: Sunita Iyer; Rent: 15000; FY 2025-26; UPI". Prefer the fields above. | |
| prorate | No | Charge part months by days (default true). false charges the full month. | |
| rounding | No | Part-month rent rounding: "rupee" (default, nearest rupee) or "paise". | |
| page_size | No | "A4" (default) or "Letter". | |
| payment_day | No | Day of the month printed as the receipt date, e.g. 5 or "last". Default: the first day of each rent period. | |
| tenant_name | No | Tenant (employee) name as it should print, any script, e.g. "Rajesh Kumar" or "राजेश कुमार". | |
| monthly_rent | No | Monthly rent in rupees, e.g. 15000, "Rs 15,000", "₹18.5k" or "1.2 lakh". Required unless rent_changes gives every rent. | |
| payment_mode | No | How rent was paid: "cash", "UPI", "bank transfer", "NEFT", "cheque". Cash above Rs 5,000 gets a revenue stamp box. Default: a blank line to fill in. | |
| rent_changes | No | Rent changes inside the period: [{"from":"2025-10","rent":16500}], or text like "16,500 from October 2025" or "Apr-Sep 15000, Oct-Mar 16500". Text with any other number in it is refused; send objects then. | |
| landlord_name | No | Landlord name, e.g. "Sunita Iyer". | |
| financial_year | No | Indian financial year (April to March), e.g. "2025-26" or "FY 2025-26". Default: the current financial year. AY 2026-27 is read as FY 2025-26. | |
| receipt_prefix | No | Optional receipt number prefix, e.g. "RR-". Default numbers are per financial year, e.g. 2025-26/01. | |
| property_address | No | Address of the rented property, e.g. "Flat 302, Shanti Apartments, 14 MG Road, Bengaluru 560001". | |
| receipts_per_page | No | 2 or 3 receipts per page (default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| total | Yes | ||
| period | Yes | ||
| tenant | Yes | ||
| landlord | Yes | ||
| property | Yes | ||
| receipts | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| page_size | Yes | ||
| assumptions | Yes | ||
| receipt_count | Yes | ||
| total_in_words | Yes | ||
| financial_years | Yes | ||
| total_formatted | Yes | ||
| receipts_per_page | Yes | ||
| receipts_count_shown | No |