The error message your are getting is
Msg 170, Level 15, State 1, Procedure REP_Purchase_Monthly, Line 22
Line 22: Incorrect syntax near '@tempTax'.
You need the word SET before the assignment i.e.
SET @tempTax=@tempTax+@xtemp
You'll need the same fix on subsequent lines too