Earning Types define the different types of employee earnings used by the Payroll module.

Create Earning Type #
- Navigate to Payroll – Lists – Earning Types
- Open Earning Types.
- Create a new type.
- Specify the name.
- Set up the formula for calculating the salary. If it is a fixed amount, leave this field blank.
- Specify Payroll Liability and Expense accounts.
- Assign a Payroll Time Code to use this type of earning in Personnel Order, Timesheet, and Payroll documents.
- If this earning type is used as the main salary for your employees, check the Base Salary box, if it is used for additional payments or allowances, leave this box unchecked..
- Included in the base for personal income tax: determines whether the earning type is included in the Personal Income Tax calculation base.
- Included in the base for deductions: determines whether the earning type is included in the Deductions calculation base.
- Save.

Formula Editor #
Formula Editor allows calculation formulas to be configured for earning types.
The Formula Editor provides access to:
- Payroll Calculation Parameters;
- logical operators;
- arithmetic operators;
- mathematical functions;
- templates.

Salary Amount and Calculation Formulas #
The formula of an Earning type determines what the Salary amount in the Personnel Order and the Payroll document means, and how the employee’s base salary is calculated. Before you set up the formula, decide how your employees are paid: by a rate per day, by a rate per hour, or by a monthly salary.
Daily rate #
Formula: [Salary amount] × [Worked days]
The Salary amount is the payment for one working day. The monthly amount depends on the number of days worked, so a month with more working days results in a higher salary.
Example: the rate is 1,000 per day.
✦ A month with 22 working days, all days worked: 1,000 × 22 = 22,000.
✦ A month with 20 working days, all days worked: 1,000 × 20 = 20,000.
Hourly rate #
Formula: [Salary amount] × [Worked hours]
The Salary amount is the payment for one hour. Each hour is counted separately, so the employee is paid only for the hours actually worked, including on days when they worked less than a full day.
Example: the rate is 125 per hour. In a month with 22 working days, the employee worked 8 hours on 21 days and left 2 hours early on 1 day (6 hours): 125 × (21 × 8 + 6) = 125 × 174 = 21,750.
We recommend recording the hours worked in the Timesheet document.
Monthly salary prorated by days #
Formula: [Salary amount] / [Standard days] × [Days worked]
The Salary amount is the monthly salary. It is divided by the number of working days in the period according to the work schedule and multiplied by the number of days actually worked. A fully worked month is always paid in full, regardless of the number of working days in the month.
Example: the monthly salary is 22,000.
✦ A month with 22 working days, 20 days worked: 22,000 / 22 × 20 = 20,000.
✦ A month with 20 working days, all days worked: 22,000 / 20 × 20 = 22,000.
Monthly salary prorated by hours #
Formula: [Salary amount] / [Standard hours] × [Worked hours]
The Salary amount is the monthly salary. It is divided by the number of working hours in the period according to the work schedule and multiplied by the hours actually worked.
Example: the monthly salary is 22,000. The standard is 176 hours (22 days × 8 hours), and the employee worked 174 hours: 22,000 / 176 × 174 = 21,750.
Comparison #
| Formula | Salary amount means | Full month, 20 working days | Full month, 22 working days | 22-day month, one day with 6 of 8 hours worked |
|---|---|---|---|---|
| Daily rate (1,000) | Pay for 1 day | 20,000 | 22,000 | 22,000 |
| Hourly rate (125) | Pay for 1 hour | 20,000 | 22,000 | 21,750 |
| Monthly salary by days (22,000) | Pay for the month | 22,000 | 22,000 | 22,000 |
| Monthly salary by hours (22,000) | Pay for the month | 22,000 | 22,000 | 21,750 |
How Days Worked Are Counted #
When the formula uses days, each day is counted as a whole unit. Any day with time worked counts as one full working day, even if the employee worked only 1 hour that day. The employee is therefore paid for the full day.
If you need to pay only for the hours actually worked during a day, use a formula based on hours: either the hourly rate or the monthly salary prorated by hours.
The number of days and hours worked is taken from:
- the Timesheet document, if the Timesheet functionality is enabled;
- the Work Schedule, if the Timesheet functionality is disabled. In this case, days of absence are excluded only if they are entered in a Personnel Order (for example, Sick Leave or Unauthorized Absence) and the absence type is added to the Displacing calculation types of the base salary Earning type (see Displacing Calculation Types).
Displacing Calculation Types #
In the Additional tab, you can configure displacing calculation types. These are earning types that take priority over the employee’s basic salary.
For example, an employee cannot receive their regular salary while on sick leave. In this case, Sick Leave should be added as an displacing calculation type.

The same applies to Unauthorized Absence: to exclude the days of absence from the employee’s worked days, add Unauthorized Absence as a displacing calculation type for the base salary Earning type. Otherwise, the absence entered in a Personnel Order will not reduce the number of days in the Payroll document.