To do this task
Go to the Reports menu, click Employees & Payroll and then click any one of the following reports: Payroll Item Detail or Payroll Detail Review or Employee Withholding (depending on the type of report you wish to run).
Click the Customize Report button in the top left corner.
In the Columns section of the Display tab, scroll and click to select Class.
Pay employees by class