As you posted it, there's a comma missing between the first two elements in your SELECT
:
select
@Advance_payment = [advance_payment] @Balance = [Balance],
^^^^
|
here there should be a comma!
So try this instead:
select
@Advance_payment = [advance_payment],
@Balance = [Balance],
..... (rest of your statement) ....