Let's say customer have an account, for which he paid for an year (with discounts you offered him for an year).
And after few months he wishes to upgrade his account.
How much he should pay? (considered that he bought account with discounts, and has used some of it)