traveller's cheque

Traveler's cheque

Q: A person comes to my shop with a traveller's cheque (a traveller's cheque is considered as cash because it is bought in lieu of cash) worth R5000 and he buys items worth 1000 and I take that check and give him 4000 back. Will this transaction be jaaiz?