Enter opening figures
If you start payroll in Hive Engine in the middle of the year, the earlier months were run in your previous system. So that maximum amounts, the 13th month, the salary certificate and the declarations are right for the whole year, you enter for each person what was already paid until then. These are the opening figures.
When this applies
Opening figures exist only if First payroll period in Hive Engine under Payroll settings → General is a month after January. Otherwise the tab shows “Opening figures only apply if the first payroll month is not January.”
Opening figures are never booked and never paid out. They only add to the year totals that the salary certificate, the declarations and the 13th month read from the runs in Hive Engine.
Before you start
- You have write access to Payroll.
- You have the year-to-date report (payroll journal or yearly totals) of your previous system, up to and including the month before the first payroll month.
Step 1: Open the list
Open Payroll settings and the tab Opening figures. At the top, Real or Test selects whether you work on real or test employees. The list shows the employees with a status:
- Missing: The person had a contract before the first payroll month and nothing is entered yet.
- Entered: Opening figures exist.
- No earlier pay: You confirmed that the person received nothing earlier this year.
- Not needed: Nothing is required for the person. This applies if all their contracts ended before the first payroll month or they were never employed before it.
Next to it, Locked shows that a regular run is already finished for the person (see below).
Open takes you to the person’s entry.

Step 2: Who to enter and who not
Enter everyone who received pay earlier in the same year, before the first payroll month, and stays employed. A person whose contracts all ended before the first payroll month shows Not needed: your previous system issues their salary certificate. A person re-hired after the start needs opening figures.
If someone received nothing earlier this year, click No earlier pay this year on the person. You take it back with Withdraw “No earlier pay” as long as nothing is entered. Hive Engine refuses an entry with everything at 0 and points to this button (message in German): “Alle Beträge sind 0. Hat die Person in diesem Jahr vorher nichts erhalten, wählen Sie «Kein früherer Lohn in diesem Jahr».” If you save figures later, the confirmation is dropped.
People whose onboarding is not finished can only be entered after it.
Step 3: Enter the figures
The entry has these groups: Wage, Social insurance, Occupational pension, Withholding tax, 13th month and allowances and Salary certificate items. Take the amounts from your previous system’s report, summed from January to the month before the first payroll month. Social insurance days through the opening month are the days from the contract start (in the year) to the end of the month before the start, at 30 days per full month. If you leave the field blank, Hive Engine takes the value from the contract. A value you enter is used.
Note:
- Insurance rows from the real start: Date the person’s insurance rows from their real start, not from the first payroll month. The lists read them. If no insurance covers the opening month, Hive Engine warns.
- Contract from the real start: The contract starts on the person’s real entry date, not on the day you moved to Hive Engine, even if they were paid through another system before. On entry, Valid from is therefore empty and must be filled in. If it only starts with the first payroll month, Hive Engine refuses the save (message in German): “Kein Vertrag deckt die Monate vor dem ersten Lohnmonat im Jahr … ab. Korrigieren Sie den Beginn beim Vertrag der Person auf ihren wirklichen Eintritt und erfassen Sie die Werte danach.” Fix the date on the person’s contract with Correct start date. If you entered more social insurance days than the contract allows, Hive Engine warns. It also warns if the ALV-liable wage is above the ceiling for the days: that points to a contract start set too late.
- Blank is not 0: For 13th month basis, blank means the contract’s months count. Enter a value only if it differs, for example because of unpaid absences before the start. For UVG base wage and UVG supplementary base wage, blank means the figure is missing. The list then warns as soon as it has rows for the person. On save, Hive Engine warns about the UVG supplement only if you have set up a UVG supplementary insurer. Hive Engine proposes the AHV-liable wage for them. If it is right, adopt it with Use proposal. Enter a deliberate zero as 0.
- Kind of pay: For items 2.3, 3, 4, 7, 13.1.2 and 13.2.3, the Kind of pay (required) is needed as soon as you enter an amount. The text is printed on the salary certificate.
- Hourly staff: If the person has an hourly contract on 1 January of the next year and has opening figures in the year, the warning does not appear in this form but on the BVG year-change list under Year-end declarations. The list names the person and shows 0, because the months before the opening figures are not known by hour. Give the pension fund the salary directly.
- BVG plan with previous years: If the person’s BVG plan averages previous years, opening figures do not count there as variable pay, and the variable part next year would be too low. Hive Engine warns on save and on the BVG year-change list. Record the variable pay of these months under BVG prior years for the year of the opening figures. See Set up the BVG salary definition.
You can enter amounts with apostrophes, spaces and a comma, for example 70'000,50.
Save stores the figures (“Opening figures saved”). Under Please check, Hive Engine lists inconsistencies, for example an ALV-liable wage above the ALV base wage, withholding tax without a wage subject to withholding tax, a missing UVG base wage, an AHV-liable wage, ALV base wage, NBU base wage or KTG base wage that is 0 or blank with a gross wage entered, withholding tax above the gross wage, or a negative net wage. For retirees or people without NBU a basis can rightly be 0. There are two separate insurance warnings: either no insurance covers the opening month and the lists use the earliest insurance of the year, or no insurance is recorded in the year at all and the lists have nothing. These notices do not block saving. Below, As the salary certificate shows them lists the salary certificate figures including the opening figures.

Withholding tax on the annual model: sections
For a person who is taxed at source in FR, GE, TI, VD or VS in the year of the opening figures, the two totals need a split. On the annual model the wage to date sets the rate, and a change of canton or a return starts the period again. So for them the group Withholding tax shows, instead of the two fields, the block Withholding tax by canton and tariff code: “This person is taxed on the annual model. Enter the year so far in one section per canton and tariff code, without scaling to the level of employment. The totals of the sections replace the two figures for withheld tax and taxable wage.”
With Add section (and Remove section) you create one Section N per canton and tariff code, with these fields: Canton, Tariff code, From month, To month, Periodic wage, Aperiodic wage, Social insurance days, Hours and Withholding tax deducted. Someone with several employments also fills in Level of employment here (%) and Level of employment in total (%) (“Second job: only if the person has more than one employment”). The wage is that section’s wage, without scaling. Sections must not overlap and must not reach beyond the opening month. A section in a monthly-model canton holds only the canton and tariff code for restarting the period and adds nothing to the annual model.
Example: Geneva, January to May, tariff code A0N, periodic wage 20,000, 150 days, deducted 1,000. June then calculates on the year to date: 4,000 wage in 30 days, rate basis 4,000, at 7 % in the example a deduction of 680.
The sums of the sections (withholding tax deducted, wage subject to withholding tax) become the person’s two totals. If entered totals contradict the sections, Hive Engine refuses (in German): “Die Summe der Quellensteuer-Abschnitte ({withheld} abgezogen, {taxable} Lohn) stimmt nicht mit den erfassten Summen überein. Lassen Sie die Summen leer: Sie ergeben sich aus den Abschnitten.”
A section without canton, tariff code, from month or to month cannot be saved: “Section {N}: please fill in the canton, tariff code, from month and to month.”
Without sections the person shows the two totals unchanged, but read-only, with the warning “Withholding tax on the annual model: without the split by canton and tariff code the payroll run cannot calculate. Enter the sections.” The payroll run stays blocked until the sections are there.
On save, Hive Engine lists four warnings under Please check (they do not block the save):
- “A withholding tax section reaches months that no contract covers. The days of the year count and the rate comes out wrong if the person was not employed then. Please check the sections and the contract start.”
- “The days of the withholding tax sections are higher than the social insurance days of the opening figures. Please check the days.”
- “No tariff is imported for this tariff code in this canton. Check the code; the payroll run needs the tariff.”
- “Withholding tax on the annual model: without the split by canton and tariff code the payroll run cannot calculate. Enter the sections.”
For everyone else, also in Zurich, nothing changes.
When it locks
The lock is per person: once a regular payroll run of the year is finished for a person, their opening figures are locked. The list shows Locked next to them, and their entry says: “Locked: a regular payroll run of this year is already finished for this person. Saving is a correction and asks you to confirm. The figures can no longer be deleted.” An off-cycle run does not lock them, and neither does another person’s run. Test runs lock test employees only.
Delete opening figures is then disabled. No earlier pay this year stays available only while no figures are entered. A finished payroll run cannot be undone.
Correcting after the lock
If a figure was wrong, change it in the entry and click Save. Hive Engine asks: “A regular payroll run of this year is already finished for this person. Paid months stay as paid; later months catch up through the cumulative ceilings. You must check declarations and the salary certificate again. Save the correction?”
This means:
- Paid months stay: Wages, deductions and payments of finished runs do not change.
- Later months catch up: If, for example, you entered the ALV wage too high and the run was held at the ceiling because of it, the next run with pay counts the rest. The person then has a higher ALV deduction in that month. A correction after the last run of the year has no later month to catch up in; settle the rest with your compensation fund.
- Check again: Declarations you already downloaded then show “Figures changed since the download”. A released salary certificate does not change by itself.
Why the run blocks
If a person’s opening figures are missing, their regular payroll run cannot be released (the message is in German): “Eröffnungswerte fehlen: Vertrag vor dem ersten Lohnlauf, aber keine Werte erfasst. Erfassen Sie sie oder bestätigen Sie «kein früherer Lohn in diesem Jahr».” This applies even if other people have already been paid. Enter the figures or confirm that there was no earlier pay. Both remain possible for this person because they are not locked.
An off-cycle run stays possible but shows a notice (in German): “Eröffnungswerte fehlen: Vertrag vor dem ersten Lohnlauf, aber keine Werte erfasst. Der Sonderlauf ist möglich, aber Höchstbeträge und 13. Monatslohn dieser Person stimmen ohne frühere Monate nicht. Erfassen Sie die Werte oder bestätigen Sie «kein früherer Lohn in diesem Jahr».”
If you save, delete or confirm something for a person, their calculated runs that are not yet released go back to draft. Calculate them again afterwards. While a background step runs for one of those runs, Hive Engine refuses the save; try again afterwards.
If the contract starts in the first payroll month
If a person’s first contract starts exactly in the first payroll month, the run’s pre-check shows a warning (in German): “Der Vertrag beginnt im ersten Lohnmonat. Ist das der wirkliche Eintritt? War die Person schon vorher angestellt, korrigieren Sie den Vertragsbeginn und erfassen Sie die Eröffnungswerte. Sonst stimmen Lohnausweis und Höchstbeträge nicht.” For a real new hire, ignore it; the run stays possible.
If the person was employed earlier, open their contract, choose Correct start date and enter the date under Real entry date. It can only move to an earlier date and can’t be set back to a later one afterwards, so Hive Engine asks you to confirm. It isn’t possible while an exit is in progress. Tax and insurance rows with the same start move with it; later ones stay. Paid months stay as they were paid. Then enter the opening figures. If one of the person’s runs is already finished, the next run doesn’t block: the list shows Missing, the pre-check warns, and saving asks you to confirm. If there really was no earlier pay, for example because the date was set too early, choose No earlier pay this year. Missing and the warning then go away.
Changing the first payroll month
While opening figures exist, First payroll period in Hive Engine cannot be changed (message in German): “Der erste Lohnmonat kann nicht geändert werden, solange Eröffnungswerte erfasst sind. Löschen Sie diese zuerst.” Remove them with Delete opening figures and confirm “Delete the opening figures of this person?”. This works only while the figures are not locked. Opening figures of test employees do not count here.
If you leave the entry with Back to list without saving, Hive Engine asks: “You have unsaved changes. Leave without saving?”
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Tab shows “Opening figures only apply if the first payroll month is not January.” | The first payroll period is empty or January. | Check Payroll settings → General. |
| The first payroll run cannot be released | Opening figures are missing. | Enter them or choose No earlier pay this year. |
| Locked on a person | A regular run of the year is finished for them. | Correct and confirm the question. Deleting is no longer possible. |
| Save refuses with “Kein Vertrag deckt die Monate …” | The contract starts only with the first payroll month. | On the person’s contract, choose Correct start date and enter the real entry date. |
| Save refuses with “Alle Beträge sind 0.” | No amount is entered. | Choose No earlier pay this year. |
| A calculated run is back to draft | Opening figures were saved, deleted or confirmed. | Calculate the run again. |
| The first payroll period cannot be changed | Opening figures are entered. | Remove them first with Delete opening figures. |
| Warning on UVG base wage | The field is blank. | Enter a value or Use proposal. The UVG supplement warns on save only with a UVG supplementary insurer set up. |
| A person on the annual model shows the withholding tax totals read-only | No sections are recorded. | With Add section record the year so far per canton and tariff code. |