800 is what he is giving from his pocket right, 200 was the extra he gotWhen he completed the sale, he had got 1000 from friend ,gave 1000 fake note. So even with friend.Got 1000 fake note from lady. Gave cash and goods of 1000, so equal there as well.So he is at no loss at time of sale. Post sale, when he has to give friend 1000 , Thats his loss