"Thank you in advance" is a common phrase used to thank someone for a favor prior to that favor being performed.
While frequently used, we at Sapling find that it can come off as presumptuous and should generally not be used. Instead, a simple "Thank you" is sufficient, and following the completion of the requested task, offer another expression of gratitude.