To change a transaction from Paid to Unpaid, you need to reverse the payment records linked to it:
- 🧾 For Purchase Bills → Delete the Payment entry associated with the bill.
- 💳 For Sales Invoices → Delete the Collection entry linked to the invoice.
By removing these records, the system will automatically mark the bill or invoice as Unpaid again.