Can clergy deduct trips when they have to participate or attend ceremonies? Say they are asked to say a prayer or read scripture.

I am newly ordained and not sure what all the rules are. I took a trip  to DC as I was asked to participate in a Christmas concert reading scripture. This was as a volunteer but I could see taking similar trips and officiating at ceremonies such as a wedding and getting remunerated.