This can be solve using money balance, money balance concept is you add to your account the money that goes in to your account and subtract the money that goes out.
Net money = money in – money out
Net money = (100) –(100-30) = - $ 30
You lost $30 money not including the goods he bought by the stolen money