When generating the invoice, rates are considered in the following hierarchy: Task Assignments, Tasks, Projects, and User.

During invoice generation, the system first checks for the rate in Task Assignments. If no rate is found there, it then looks in Tasks.

If the rate is still not found in Tasks, the system searches in Projects. If the rate field is blank in Projects, then it looks for the price in the TT user.