This manual explains how to correctly create and validate calculation formulas in FirstBIT software, following 1C calculation logic.
It is intended for HR, Payroll, Finance, and ERP users who configure salary, allowance, overtime, or commission calculations.

1. Key Principles of Formula Creation due to system logic

When creating formulas in FirstBIT software, always follow these core principles:

  1. Period-based calculation
    All calculations are performed for a defined period (usually one month).

  2. Proportional accrual
    Amounts must be calculated proportionally based on:

  3. Consistency of units

  4. Separation of norms and actuals

  5. No double counting
    A formula must never reduce or increase the same amount twice (e.g. by both absence days and absence hours).

2. Parameter Reference Table


ParameterDescriptionCorrect UseDo NOT Use When
Absence DaysNumber of absent working daysReducing day-based paymentsCalculating hourly salary
Absence HoursNumber of absent hoursReducing hour-based paymentsCalculating day-based salary
Days In PeriodTotal days in the periodDenominator for proportional logic Replacing Norm Days without reason
Days WorkedActual worked daysMonthly salary prorationHour-based formulas
Fixed AmountFixed valueAllowances, bonuses, deductionsWithout proration logic if required
Hours WorkedActual worked hoursHourly salary calculationDay-based salary
Hours Worked by JobsHours per job/projectMulti-job or project payrollSimple single-job payroll
Norm DaysStandard working daysMonthly salary baseHour-based calculations
Norm Days by ScheduleNorm days per employee scheduleShift / flexible schedulesFixed schedules
Norm HoursStandard working hoursHourly & overtime baseDay-based formulas
Overtime HoursHours beyond normOvertime calculationRegular salary
Sales AmountTotal sales valueTurnover-based commissionMargin-based commission
Sales MarginProfit from salesMargin-based commissionTurnover-based commission
TariffSalary rate (daily/hourly/monthly)Base of all calculationsWhen unit does not match formula

3. Recommended Formula Patterns

3.1 Monthly Salary (Day-Based)

Tariff × Days Worked / Norm Days

3.2 Hourly Salary

Tariff × Hours Worked

3.3 Salary with Absence (Days)

Tariff × (Norm DaysAbsence Days) / Norm Days

3.4 Salary with Absence (Hours)

Tariff × (Norm Hours − Absence Hours)

3.5 Overtime Calculation

Tariff × Overtime Hours × Overtime Coefficient

3.6 Fixed Allowance with Proration

Fixed Amount × Days Worked / Norm Days

3.7 Sales Commission

Sales Amount × Commission Rate

or

Sales Margin × Commission Rate


4. Frequent Formula Errors (and How to Avoid Them)

 Mixing Days and Hours

Incorrect:

Tariff × Hours Worked / Norm Days

Correct:
Use hours with Norm Hours, days with Norm Days.


 Using Absence Days and Absence Hours Together

This leads to double reduction.

Choose one unit only, based on how the salary is calculated.


 Using Days In Period Instead of Norm Days

This may distort salary calculations.

 Use Norm Days unless there is a documented business reason.

 Incorrect Tariff Unit

Example:

 Always match tariff unit with calculation unit.


Fixed Amount Without Proration Logic

This may overpay or underpay in partial months.

 Clearly define whether the amount should be prorated.


5. How to Self-Check a Formula (Before Saving)

Use this checklist:

Step 1: Identify the Base

Step 2: Check Unit Consistency

Step 3: Validate Absences

Step 4: Test Edge Cases

Step 5: Compare Full vs Partial Month

If the result matches expectations, the formula is correct.

6. Conclusion

Correct formula creation in FirstBIT software requires:

Following this User Guide ensures:



Thank you for being FIRSTBit customer!