Adding Coupon instance to Sales Invoice structure

Hi,

I want to add the option of selling gift cards to customers.
Every card has a unique card number. So if a customer i.e. buys a 100€ gift card this number (as article number) and the amount will be set in the system.

If the receiver of the gift card then buys products for 80€, the invoice states “gift card” as payment method.
But how can I implement the function of lowering the gift card amount according to customers’ purchases?
I somehow need to see that there is an amount of 20€ left on this card when I type in the card number.

I hope that someone can help me with this issue.

2 Likes

Hi, is this something that is possible with erpnext? Or is this feature-request on the development roadmap?

1 Like