Selling and Accounting for Gift Cards in ERPNext

Hey fellow ERPNexters,

I’m in a bit of a pickle with managing gift cards in our business. We sell gift cards (money upfront, no further cash when redeemed).

Does ERPNext have a feature that can handle the sale and redemption of gift cards? If so, how does the accounting for this happen in the system?

I’ve noticed the ‘Coupon Code’ DocType is pretty handy, but I’m wondering if there’s a way to integrate this with accounting for proper gift card handling - including selling and accounting for them.

If this isn’t a built-in feature, any workaround tips, guides, or best practices would be greatly appreciated!

Thanks in advance!

Best,
Khaled