If I invoice a customer in March 2004 and receive payment in June 2005, which tax year (tax return) should this be recorded in?

Many Thanks

James