Required maintenance

Do I have to do the maintenance at 15,000 mile stated in Prius 2007 maintenance book? Dealership is charging $400. If I do not do it, will that render the basic warranty invalid?