Jacek,
Here is what I am "getting" from your post and June's comments.
You deal with Companies who may have Departments and/or Sections (some organizational units)
Such Units have Employees.
The Employees get paid for Work done in a time/Pay period.
At some future point, there is a realization that there was an error in the Employee's pay record/pay slip/pay check.
You want to correct the Employee's Pay record and identify the Cause of the error.
?? Could it be the Employee who notices the error? Or
?? Is it always the Company (or some other organization)??
The Employee's pay rate is known.
The length of the Employee's Pay period is known.
So the Employee's Gross Pay can be calculated.
The appropriate Taxes/Deductions are known.
So the Employee's Net Pay can be calculated.
In order to "correct" the Pay record in error, you need to know
- the original amount
- the revised amount
- the reason for the error
Here is a fact sheet (specific to Australia) but parts will be relevant to your situation.
Code:
What information must be included on the pay slip?
Pay slips must contain details of the payments, deductions, and superannuation contributions for each pay period.
The following information must be included on all pay slips issued to each employee as prescribed by the
Fair Work Act 2009 and the Fair Work Regulations 2009.
A pay slip must include all of the following:
the employer's name
the employer's ABN (if any)
the employee's name
the date of payment
the pay period
the gross and net amount of payment
any loadings, monetary allowances, bonuses, incentive-based payments, penalty rates, or other
separately identifiable entitlement paid.
Additionally, where relevant, a pay slip must include any of the following:
If the employee is paid an hourly pay rate, the ordinary hourly pay rate and the number of
hours worked at that rate and the amount of payment made at that rate
If the employee is paid an annual rate of pay (salary), the rate as at the last day
in the pay period
Any deductions made, including the name, or the name and number, of the fund or the
account of each deduction
If the employer is required to make superannuation contributions for the benefit of the employee:
the amount of each contribution the employer made or is required to make during the pay period
the name, or name and number, of any superannuation fund into which the contributions
were made or will be made.