Request a refund from a receipt, approve it, pay it out by cash, bank or Razorpay or convert it to a credit note, and apply credit to future invoices at the desk.
Finish first: Collect fees at the counter (record a fee payment)
You should see: The Request a refund dialog: "Up to ₹… can be refunded on this receipt. An owner or admin approves and pays it out." with Amount (₹), Pay back by (Cash, Bank transfer, Gateway (Razorpay) for online receipts) and Reason.
Accountants can request; only owners and admins can approve, reject and pay. A receipt older than 180 days or already reversed cannot be refunded.
You should see: A toast "Refund requested · Track it under Fees → Refunds." The receipt shows a blue banner "Refund of ₹… requested" with a link to Refunds.
You should see: Tiles Awaiting approval, Approved, to pay and Paid out; filters All, requested, approved, paid, rejected; a table with Requested, Student, Receipt, Amount, Mode, Reason, Status and Actions. The demo school has one requested and one approved refund.
You should see: "Refund approved" and the status becomes Approved with "by <your name>"; rejected rows show "Rejected: <reason>" under the reason.
You should see: The dialog Pay refund of ₹… with a checkbox Keep as credit note for future fees instead of paying out, Paid on and, for cash or bank, Reference (UTR / voucher). The button reads Mark paid, Refund via Razorpay for gateway refunds, or Create credit note when the checkbox is ticked.
You should see: "Refund paid" or "Refund kept as credit". The receipt now shows a yellow banner "₹… of this receipt has been refunded" and a Partly refunded badge when partial.
A gateway refund is sent to Razorpay and completes when the refund.processed webhook arrives. If Razorpay is not configured: "Razorpay is not configured; refund by bank transfer or cash instead."
You should see: The student card footer shows Credit balance ₹… and a button Apply credit ₹… next to Collect (visible when the student has open invoices).
You should see: A toast "Credit of ₹… applied · Receipt MPS/2026-27/000126" and an adjustment receipt opens. The ledger shows the credit note and the adjustment.