I have a tax pro for this very reason, but my understanding is that you have a choice on how you want the tax treatment -- you can deduct it now as a business expense or over five years as R&D, which gives you a better tax deduction in the long run but fewer up front benefits. But at the end of the day I pay the tax guy to worry about it for me.