Saved search formula numeric

Hi, I just want some help regarding my formula. I want to show the credit amount, but my formula has an invalid expression.

Case when {type} = ‘Journal’ then {debitamount} when {type} IN (‘Bill’ , ‘Bill Credit’ , ‘Expense Report’) Then {taxamount}*-1 OR {type} IN (‘Bill’ , ‘Bill Credit’ , ‘Expense Report’) then {creditamount} else {amount} end