How the amount paid in advance is taxed for sole proprietor?

I'm negotiating a project as a contractor Software Engineer (sole proprietor) and wonder if I can (I should) recognize the income this year if the company is willing to pay for the part of the project in advance this year?