| 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). | |