RedCarpetUp / ledger

MIT License
1 stars 1 forks source link

Add customer refund #205

Closed raghavio closed 3 years ago

raghavio commented 3 years ago

When we have excess payment remaining i.e. prepayment or when we are asked to refund an activation fee, we have to pay the money back to the customer. That's called customer refund. It's also a type in v3_payment_requests_data. Have to implement that. For customer refund from prepayment, you reduce the amount from prepayment and also reduce the amount from rc_cash account. For fee, you will reduce the amount from the fee's revenue and gst accounts and also from rc_cash.