Mix hourly rate and fixed rate tasks within projects

Mix hourly rate and fixed rate tasks within projects

some of our services are billed on an hourly rate while others are fixed price per unit. The billing type is determined as one or the other when setting up a project but we need a mix of tasks using both billing methods in a single project. Is there a way to have a mix of tasks within a project where some are billed using hourly rate and others fixed price per unit?