Assuming the repurchased share price is the same as the original sold share price, assign the buyback of shares to your Treasury Stock asset account. Then, if the new member's price is the same, assign your Treasury Stock asset account to the deposit/invoice. If there's a difference in share price, then it's get more involved and a journal entry is the easiest way to record it IMO. If the cash paid is less than the original issue price, credit the difference to Paid-in Capital - Share Repurchase (equity). If the cash paid is more than the original issue price, debit the difference to Paid-In - Share Repurchase, but only if there is already a credit in that account. Otherwise, debit Retained Earnings for the difference.