Yes!
The credit has been calculated by the current price of the subscription and the percentage of your subscription that's remaining. Your new purchase includes all the same features, so the original subscription will be canceled and credited against this new purchase.