This feature is available in the enterprise version of the payroll product.
To upload past salaries for employees, go to Product configurations and under Upload data click on Upload salaries. Then click on the Download Sample Sheet in CSV format.
Save the downloaded file and fill in the details in the correct format in the file. After entering all employee data in the CSV file, upload the file from your computer. Click Upload.