You are asking 'requirement of project' from us. :doh:
Here, have a look at the various discussions on the same:
Google result[
^]
Start by providing basics of payroll. Get equipped with knowledge of what all are needed and how it works. Implement it and add features one-by-one.
Try out. Post specific issue if you face any.