"Thank you" is much more professional then the casual "Thanks", I think also "Thank You" gets the point across how thankful you truly are.
It depends on your relationship with someone.
If you have a very professional relationship, then you should say "thank you". But if you have casual relationship, "thanks" is just fine.