#31 queries check if transaction is from type expense or receipt