Set up workplaces and cantons
Hive Engine gives each employment contract a workplace. The contract’s canton comes from the workplace. For each canton where you have employees, you also store the family allowance fund, the SSL number and the employer rate. You set up both in the tab Cantons and workplaces.
The background is on the page Rules: workplaces and cantons. The family allowance amounts, the cantonal contributions and the effect of the IKV flag are described in the tutorial Family allowances and cantonal contributions. Hive Engine calculates withholding tax in all 26 cantons; the tutorial Withholding tax in all cantons shows how. FR, GE, TI, VD and VS work on the annual model. If a person works in another canton, you enter that canton’s SSL number here.
Before you start
- You have write access to Payroll. Without it, the tab shows “You can view this setup but not change it.”
- You have entered the family allowance fund under Payroll Settings → Insurance as an institution of type “Family allowance fund”. Otherwise the tab shows: “No institution of type “Family allowance fund” exists yet. Add one in the “Insurance” tab first.”
- You know the address of each workplace and its BFS municipality number.
- Time: about 10 minutes.
Step 1: Open the tab
Open Payroll Settings and the tab Cantons and workplaces. At the top is the section Workplaces with the list, below it Cantons in use.

Step 2: Add a workplace
If the list is empty it says: “No workplace yet. The first one you add becomes the head office.” Click Add workplace. In the dialog New workplace you fill in:
- Name
- Street and number
- ZIP
- City
- Canton
- BFS municipality number (1 to 4 digits)
- BUR number (optional) (8 digits)
Save stores the workplace (“Workplace saved”). All fields except the BUR number are required (“Pflichtfeld”, message in German). If the BFS municipality number does not have 1 to 4 digits, Hive Engine refuses (message in German): “Die BFS-Gemeindenummer hat 1 bis 4 Ziffern”. For the BUR number: “Die BUR-Nummer hat 8 Ziffern”. If a value is too long: “Dieses Feld darf höchstens {count} Zeichen lang sein”.
You choose the canton from the 26 cantons. Lowercase input is converted to uppercase.

Step 3: Head office and further workplaces
The first workplace you add becomes the Head office. There is always exactly one. With Make head office on another active workplace you swap it (“Head office changed”). An inactive workplace cannot be the head office (message in German): “Ein inaktiver Arbeitsort kann nicht Hauptsitz sein”.
Confirmations stay as they are when you swap. If the old head office is in a different canton than the new one and was never confirmed as a site, the pre-check shows this note for people there (message in German): “Der Arbeitsort {name} ({canton}) liegt ausserhalb des Hauptsitzkantons und ist nicht als dauerhafter Standort bestätigt: Lohneinstellungen → Kantone und Arbeitsorte”. Open it with Edit and tick This is a permanent site if it is one.
Confirm a site outside the head office canton
If a further workplace is in a different canton than the head office, you must tick This is a permanent site in the dialog. The help below it reads: “Home work and travelling do not count as a site, construction sites only from 12 months (Art. 9 FamZV).” Without the tick, Hive Engine refuses the save (message in German): “Dieser Arbeitsort liegt ausserhalb des Kantons des Hauptsitzes. Bestätigen Sie, dass es ein dauerhafter Standort ist (Art. 9 FamZV): Heimarbeit und Reisetätigkeit gelten nicht als Standort, Baustellen erst ab 12 Monaten.”
What counts as a site and what does not is on the page Rules: workplaces and cantons. In short: people who work from home or on the road do not get a workplace of their own. They belong to the head office or to the site they work from.
Hive Engine records who gave the confirmation and when. If someone later edits only other details, that record stays unchanged. If you change the workplace’s canton, the tick is cleared and Hive Engine asks again.
Own payroll and sector (NOGA)
On a workplace outside the head-office canton there is the checkbox Payroll is run at this workplace on its own. The help says: “Tick this if this site has its own payroll and sends its own withholding tax report. It decides in which canton cross-border commuters without a stay in Switzerland are taxed.” In the list the badge Own payroll appears. At the head office and in the head-office canton the checkbox is ignored (see Withholding tax in all cantons).
For cantons whose minimum wage depends on the sector (today Ticino) there is the field NOGA division (2 digits): “The minimum wage in this canton depends on the sector. Enter the first two digits of the NOGA code of the business at this workplace.” For another format Hive Engine reports “Die NOGA-Division hat 2 Ziffern” (message in German). The rules are on the page Rules: minimum wage.
Step 4: Edit or deactivate a workplace
Edit changes a workplace’s details. The Canton can no longer be changed once an employment contract is linked to the workplace (message in German): “Der Kanton ist festgelegt, solange ein Arbeitsvertrag mit diesem Arbeitsort verknüpft ist. Erfassen Sie bei einem Umzug einen neuen Arbeitsort”. If a site moves, you add a new workplace and switch the contracts. That keeps the contract history accurate.
Deactivate takes a workplace out of the selection (“Workplace deactivated”). It then shows as Inactive. This does not work
- for the head office (message in German): “Der Hauptsitz kann nicht deaktiviert werden. Bestimmen Sie zuerst einen anderen Hauptsitz”;
- while a running employment contract is linked to it (message in German): “Mit diesem Arbeitsort sind noch laufende Arbeitsverträge verknüpft”;
- if it is the last active workplace in the canton and running contracts without a workplace are still there (message in German): “In diesem Kanton gibt es laufende Arbeitsverträge ohne Arbeitsort, und dies ist der letzte aktive Arbeitsort dort. Wählen Sie bei diesen Verträgen zuerst einen Arbeitsort”.
Reactivate brings it back (“Workplace reactivated”).
Step 5: Setup per canton
Under Cantons in use appears every canton that has an active workplace, has a running employment contract (even without a workplace), has withholding-tax staff with that canton as their withholding tax canton, or already has a fund, sub-number, SSL number or IKV flag stored. If the list is empty it says: “No canton in use yet. Add a workplace first.” Each canton shows its Workplaces and, for the head office canton, the label Head office. For each canton you set:
- Family allowance fund: Choose the fund from the list. Without a choice it shows “No fund chosen”.
- Sub-number at the fund: If your fund assigns one.
- SSL number: The number the canton assigns for the withholding tax report. You register with the canton outside Hive Engine.
- Settled through the head office (IKV): This only applies to cantons other than the head office canton. For the head office canton Hive Engine refuses it (message in German): “Die Abrechnung über den Hauptsitz gilt nur für Kantone ausserhalb des Hauptsitzkantons”. The help reads: “Intercantonal agreement: the branch pays the allowances of its work canton and settles through the head office fund at that fund’s rates. The employer bears any difference between the two amounts.” Below it: “IKV only applies if the canton of the branch provides for it (Swissdec 8.2.4.2). Confirm this with the fund.” With the flag, the head office’s fund and employer rate apply (the card shows “Not used” for the canton’s own). The effect is described in the tutorial Family allowances and cantonal contributions.
Save canton stores the details (“Canton saved”). If you choose an institution that is not a family allowance fund, Hive Engine refuses (message in German): “Bitte wählen Sie eine Familienausgleichskasse aus der Liste”.

Employer rate with a date
The family allowance fund’s employer rate goes in the field Employer rate, family allowance fund (%). Below it Hive Engine shows the current rate: “Currently {rate} % since {date}”. If the canton has no rate of its own yet, the general rate applies and it says: “Currently {rate} %. This is the general rate, no rate is stored for this canton yet.” With no rate at all it says “No rate stored yet.”
You enter a new rate with the rate itself, the date under Effective from and Save rate (“Rate saved”). Hive Engine adds a new dated row for this and never changes the earlier rate. If something is missing it reports “Please enter the rate” or “Please enter the date the rate applies from”. More rules (messages in German):
- The rate is between 0 and 10 percent: “Der Beitragssatz muss zwischen 0 und 10 Prozent liegen”.
- The new date must be after the start of the current rate: “Der Beitragssatz gilt bereits ab {date}. Das neue Datum muss danach liegen, damit der bisherige Verlauf erhalten bleibt”.
- If the canton already had a rate with an end date, the new date must come after it: “Für diesen Kanton gibt es bereits einen Beitragssatz bis {date}. Das neue Datum muss danach liegen”.
You take the rate from your fund’s statement.
You cannot correct a wrong rate with the right date on this tab, because the new date must come after the current one. Go to the tab Parameters, remove the row fak_rate_employer for this canton with ×, and enter the rate here again with the same date.
Step 6: Choose the workplace on entry
In the entry, in the step Contract, you choose the field Workplace (“Choose a workplace”). The contract’s canton comes from the workplace. The list shows active workplaces only. If no workplace exists yet, it says: “No workplace has been set up yet. Add one under “Cantons and workplaces” in the payroll settings. This entry stays saved, you can continue afterwards.” The link Open “Cantons and workplaces” opens the tab in a new browser tab, so what you typed in the entry stays. If the list cannot be loaded, it says “Workplaces could not be loaded”.
When the details are prefilled from an earlier contract, this note can appear: “The earlier contract has canton {canton}. Please choose the matching workplace.” If the earlier contract’s workplace is inactive by now, it is not in the list, and Hive Engine does not choose another one for you. Below the field it says: “The earlier contract was at {name} ({canton}), which is no longer active. Please choose an active workplace.” The same applies in Change contract. If you save anyway, Hive Engine refuses (message in German): “Der gewählte Arbeitsort existiert nicht oder ist nicht aktiv”. Without a workplace Hive Engine reports (message in German): “Bitte wählen Sie einen Arbeitsort”.

The person’s canton: “Abroad”
In the step Personal Data is the field Canton, the person’s canton of residence. Besides the 26 cantons it has the option EX – Abroad, for people who live abroad. This is lawful, and the field is required. Workplace, withholding tax canton and parameters do not have the option: there you choose one of the 26 cantons (message in German): “Bitte wählen Sie einen der 26 Kantone aus der Liste”. For the person’s canton of residence the message is “Bitte wählen Sie einen der 26 Kantone oder «Ausland» aus der Liste”.
If you already have contracts: the first run after the update
If you had employment contracts before the update, Hive Engine prepared the setup during the update:
- For each canton with a contract there is a workplace named after the canton.
- The canton with the most real contracts (test people count last) became the Head office. It received the address from the company details. A value too long for its field stays empty. The BFS municipality number is empty because the company details do not know it. The other workplaces have no address.
- The contracts are linked to their workplace. A canton in lowercase was converted to uppercase. A contract with an invalid canton stays unlinked; the update does not stop because of it, but the pre-check blocks the person until you have chosen a workplace on the contract.
- If you have exactly one institution of type “Family allowance fund”, it is set as the fund for every canton. With none or several, the fund stays empty.
At the next Calculate, the run’s pre-check therefore checks the following.
This blocks approval. After each fix, calculate the run again (messages in German).
- Fund missing: “Für den Kanton {canton} ist keine Familienausgleichskasse hinterlegt (Lohneinstellungen → Kantone und Arbeitsorte)”. Add the fund under Insurance (if there is none yet), choose it in the tab Cantons and workplaces at the canton under Family allowance fund, and click Save canton.
- Employer rate missing: “FAK-Arbeitgeberbeitragssatz fehlt (Lohneinstellungen → Kantone und Arbeitsorte, Beitragssatz des Kantons)”. There is neither a rate for the canton nor a general one. Enter it at the canton under Employer rate, family allowance fund (%) with Effective from and Save rate.
- Invalid canton on the contract: “Der Arbeitsvertrag hat den ungültigen Kanton {canton}. Wählen Sie beim Arbeitsvertrag einen Arbeitsort (Vertrag ändern)”. The canton is not one of the 26, so you cannot set it up on the tab. In Change contract for the person, choose a Workplace, with a date no later than the run’s month.
- Family allowance amounts missing: “Familienzulagen: Parameter {key} für Kanton {canton} fehlt”. This hits a person with children in a canton with no amounts entered. Hive Engine ships the amounts of all 26 cantons. The message only comes up if the canton has no amount for this allowance. Enter the fund’s amount in the child’s decision, or in the tab Parameters with New parameter: Key as in the message, Canton (leave empty for national) and your fund’s amount.
These are notes under “Notes (approval is still possible)”. They do not block (messages in German):
- “Die Adresse des Arbeitsorts {name} ist unvollständig (Strasse, PLZ, Ort oder BFS-Gemeindenummer fehlt): Lohneinstellungen → Kantone und Arbeitsorte”. After the update this hits the head office because the BFS municipality number is empty. Complete the details with Edit.
- “Der Arbeitsort {name} ({canton}) liegt ausserhalb des Hauptsitzkantons und ist nicht als dauerhafter Standort bestätigt: Lohneinstellungen → Kantone und Arbeitsorte”. Open the workplace with Edit, tick This is a permanent site if it is one, and save.
- “Der Arbeitsvertrag ist mit keinem Arbeitsort verknüpft (Kanton {canton}). Arbeitsort erfassen unter Lohneinstellungen → Kantone und Arbeitsorte”. This applies to contracts that could not be linked. Add the workplace and correct the contract.
- “Für den Kanton {canton} gilt der allgemeine FAK-Arbeitgeberbeitragssatz, ein eigener Satz ist nicht hinterlegt. Prüfen Sie ihn anhand der Abrechnung der Kasse: Lohneinstellungen → Kantone und Arbeitsorte”. This appears only outside the head office canton, because the general rate is often not the fund’s rate there. If it is wrong, enter a rate of its own at the canton.
- “Für den Quellensteuer-Kanton {canton} ist keine SSL-Nummer hinterlegt (Lohneinstellungen → Kantone und Arbeitsorte)”. The number may still be pending, so the run may go on. Enter it as soon as you have it.

Troubleshooting
| Symptom | Cause | Solution |
|---|---|---|
| “Für den Kanton … ist keine Familienausgleichskasse hinterlegt” blocks the run | No fund is chosen for the canton. | In the tab Cantons and workplaces choose the fund and Save canton. |
| “FAK-Arbeitgeberbeitragssatz fehlt …” blocks the run | There is neither a rate for the canton nor a general one. | Enter the Employer rate, family allowance fund (%) with a date at the canton. |
| “Der Arbeitsvertrag hat den ungültigen Kanton …” blocks the run | The contract has a canton outside the 26. | In Change contract for the person, choose a Workplace. |
| “Familienzulagen: Parameter … für Kanton … fehlt” blocks the run | The canton has no amount for this allowance, and you have none of your own. | Enter the fund’s amount in the child’s decision, or in the tab Parameters with New parameter. |
| Wrong rate with the right date | The tab asks for a later date. | In the tab Parameters, remove the row with × and enter the rate again. |
| Note about the general rate | The canton is outside the head office canton and has no rate of its own. | Check it; if it is wrong, enter a rate of its own at the canton. |
| Note that the old head office is not confirmed | The head office was swapped, the old one was never confirmed as a site. | Confirm it with Edit if it is a permanent site. |
| “In diesem Kanton gibt es laufende Arbeitsverträge ohne Arbeitsort …” | Deactivating would leave no active workplace in the canton. | First choose a workplace on those contracts. |
| “Dieses Feld darf höchstens … Zeichen lang sein” | The value is too long. | Shorten it. |
| “Dieser Arbeitsort liegt ausserhalb des Kantons des Hauptsitzes. …” | The site is not confirmed as permanent. | Tick This is a permanent site if it is one. Otherwise do not add a workplace. |
| “Der Kanton ist festgelegt, solange ein Arbeitsvertrag …” | A contract is linked to the workplace. | Add a new workplace and switch the contract. |
| “Der Hauptsitz kann nicht deaktiviert werden. …” | The workplace is the head office. | First choose another one with Make head office. |
| “Mit diesem Arbeitsort sind noch laufende Arbeitsverträge verknüpft” | A contract with no end date, or an end date from today on, uses it. | Switch the contracts to another workplace. |
| “Die Abrechnung über den Hauptsitz gilt nur für Kantone ausserhalb des Hauptsitzkantons” | IKV set for the head office canton. | Remove the flag. |
| “Bitte wählen Sie eine Familienausgleichskasse aus der Liste” | The institution has another type. | Choose an institution of type “Family allowance fund”. |
| “Der gewählte Arbeitsort existiert nicht oder ist nicht aktiv” | The workplace is inactive or not yours. | Choose an active workplace or reactivate the old one. |
| Note about the SSL number | The withholding tax canton has no number. | Enter it when you have it. The run stays possible. |