Skip to content

Rules: withholding tax in the cantons

The steps are in the tutorial Withholding tax in all cantons. This page separates what the source says from what is a rule of Hive Engine. Where we cannot name a source for a rule, it says so explicitly, see Rules without a named source. The sources come from our research; we name no date for when they were checked, see Sources.

Hive Engine’s principle: where a figure would certainly be wrong, it refuses; where the facts are unknown, it warns; it does not block a lawful case. It never guesses a tax rate we cannot back up: if a canton’s tariff is missing, the run blocks.

Which cantons Hive Engine calculates

What the source says. FR, GE, TI, VD and VS tax on the annual model, all other cantons on the monthly model (ESTV circular 45, items 6 and 7; Swissdec 6.0, 10.6.1).

What is a rule of Hive Engine.

  • It calculates in all 26 cantons. On the monthly model in 21: AG, AI, AR, BE, BL, BS, GL, GR, JU, LU, NE, NW, OW, SG, SH, SO, SZ, TG, UR, ZG, ZH.
  • It calculates FR, GE, TI, VD and VS on the annual model, see The annual model. There the rate is set from the projected annual income, and each month is settled against what was deducted so far. A month can even be negative. The cantons are stored one by one and with a date, so a later change of model in a canton is only a data change.
  • A missing tariff blocks the run, and so does a missing collection commission. Hive Engine does not guess a rate.
  • No church tax on withholding tax in GE, NE, TI, VD and VS (ESTV, “Auskunftsstellen, Bezugsprovisionen, Kirchensteuer 2026”). The tariff code always ends in N there, and the question disappears from the step.
  • The collection commission follows the canton, as before. The cantons set it between 1 and 2 per cent of the total withholding tax (Art. 88 para. 4 DBG, see Sources).

Which canton taxes

What the source says. The withholding tax canton is the canton of residence. If the person lives abroad, it is the weekly-stay canton, otherwise the seat of the employer or a site with its own payroll (Swissdec 6.0, 10.4.1).

What is a rule of Hive Engine. Every withholding tax row has a residence setting:

Where the person livesWithholding tax canton
Lives in SwitzerlandThe canton of residence from the address. Any other choice is an error. An address abroad (EX) does not fit.
Stays in Switzerland during the week, family abroadThe weekly-stay canton, chosen by hand.
Lives abroad and commutes daily (cross-border commuter)The canton of the person’s workplace if it has its own payroll, otherwise the head office’s canton.

Whether a workplace has its own payroll is something you say on the workplace (Payroll is run at this workplace on its own). It is only asked outside the head-office canton.

Existing people on update. Until now Hive Engine set the withholding tax canton to Zurich without comparing it to the address. Someone living in another canton may have been taxed in Zurich. On update Hive Engine sets Lives in Switzerland for everyone (Lives abroad and commutes daily where the address is abroad) and changes no canton and blocks nothing. The pre-check warns for everyone whose withholding tax canton differs from the canton of residence. That is our decision; a script lists these people per tenant. The warning stays until you correct the tax details. At a re-entry the rule applies anew and refuses the previous canton.

From when a change counts: the following month

What the source says.

  • A move of canton or municipality and a change of the tariff code count from the following month, whenever they were reported (Swissdec 6.0, 10.4.2 and 10.6.2; examples M23, M46).
  • The canton of Zurich uses the following month for the start and end of withholding tax liability. Whoever receives the settlement permit or marries a person with Swiss citizenship or a settlement permit is assessed in the ordinary way: “Die Quellensteuer ist ab dem auf die Erteilung der Niederlassungsbewilligung oder die Heirat folgenden Monat nicht mehr geschuldet.” (§ 10 para. 2; in German). After divorce or separation from such a spouse the other is taxed at source “auf Beginn des auf die Scheidung oder Trennung folgenden Monats” (§ 11 para. 2) (Quellensteuerverordnung I of the canton of Zurich, LS 631.41, §§ 10 and 11, in this version in force since 1 January 2021, retrieved from lexfind.ch on 2 November 2026). The canton’s page on persons liable to withholding tax says the same: on a settlement permit, Swiss citizenship or marriage to such a person, one leaves withholding tax liability “ab Folgemonat”; after separation, divorce or the death of such a spouse one pays withholding tax again “ab dem Folgemonat” (zh.ch, Quellensteuerpflichtige Personen).
  • We also name the following-month principle from the canton of Luzern’s guidance on withholding tax 2019 and from the St. Gallen tax administration’s FAQ.
  • For naturalisation and moving abroad we found no direct source. Hive Engine treats them like an end of liability: you record the change, and the tax changes from the following month. If in doubt, ask the tax office.

What is a rule of Hive Engine.

  • What counts is the row in force on the person’s first working day of the month. A new row dated 15 May does not count in May, but in June. A row dated the 1st counts in the same month because it is already in force on the first working day.
  • Which date to enter: the date of the event (marriage, birth) under Date of the event. Hive Engine puts the row on the 1st of the following month and keeps the day of the event, also for a marriage on the 1st: June still counts with the old code, July with the new one. If the event is before the person joined, the joining row takes the details and keeps its date.
  • A row that starts before a move stays in the canton and municipality of that time. The comparison with the address is with the address of that time, which move rows record. Later rows take only what changed, for as long as they still hold the old value. A marriage on 5 March, entered on 5 July after a move on 1 May: April in the old canton with the new code, from May in the new canton with the new code.
  • Someone who joins in a month where they were not employed on the 1st counts with the row at joining. Someone who returns in the same month in which they were employed on the 1st counts with the row of the 1st; the new row counts from the next month. If there is no row on the first working day, Hive Engine takes the later one in the month, because no tax at all would be wrong.
  • Move. Canton and municipality apply from the 1st of the month after the move-out. You enter the Move-out date. A Correction (only the municipality number was wrong) changes the row in place, without a date. A change of canton is never a correction. If the person moves within the canton in a closed month, the new municipality applies from the next open month, since nothing was reported wrongly. If they move to another canton, the row keeps its true date and the closed months are corrected.
  • A move by a person on a weekly stay or living abroad changes only the address.
  • A move to a country outside Switzerland sets the canton to the head office’s or that of the workplace with its own payroll; if neither exists, Hive Engine refuses.
  • If the new canton has no SSL number, Hive Engine warns (Swissdec 6.0, 10.2.1).

The rate basis

The tax rate does not come from the month’s wage but from the rate basis (satzbestimmender Lohn; Swissdec: QST-SB-Lohn).

What the source says (Swissdec 6.0, 10.6.1, 10.6.1.1, 10.6.1.2, 10.6.5):

  • Periodic pay is scaled to a whole month in a part month with 30 / days; non-periodic (one-off) pay is added as it stands.
  • The 13th monthly salary counts with the month’s periodic pay, also with 30 / days. Circular 45 allows both routes (FAQ no. 6, scaling on days or on 360 days); Swissdec takes this one.
  • Which wage types are periodic follows the Lohnausweis figure: figures 1, 2 and 7 periodic, 3, 4 and 5 one-off, 6 and anything unclear periodic. Holiday payout and overtime at exit are one-off (sheet “Salary” of Swissdec’s examples).
  • Family allowances are periodic. In practice only one employer pays them, in full even in a part month. Swissdec 10.6.1.3 says (in German): “In diesen Fällen führt die Hochrechnung zu einem überhöhten Steuersatz. Bei Differenzzahlungen ist die Hochrechnung jedoch korrekt.” and: “Führt die Hochrechnung zu einem überhöhten Steuersatz, so kann die qsP das satzbestimmende Einkommen korrigieren lassen und bis zum 31. März des Folgejahres eine Neuberechnung der Quellensteuer oder eine nachträgliche ordentliche Veranlagung bei der zuständigen kantonalen Steuerbehörde beantragen.” (qsP: person liable to withholding tax.)

What is a rule of Hive Engine.

  • Periodic are the base pay, the 13th salary (wage type 1100, generated or entered by hand), every wage type marked “periodic” and, where it enters the wage, what a fund pays. Every wage type has the field Withholding tax: periodic pay (Automatic, Periodic, Not periodic (one-off)). It is fixed for system wage types and editable for your own.
  • New wage type 1540 Back pay of family allowances: one-off. Back pay for months already settled belongs here. This rests on Swissdec M39; whether a wage type of its own is needed is not stated there.
  • Family allowances in a part month: All family allowances go the periodic route. If an allowance is paid in full in a part month (for example the birth allowance 1520), it is still scaled, and the rate is overstated, as the text accepts. A monthly allowance that Hive Engine itself pro-rates scales back to the full amount. The person can have the rate recalculated by 31 March of the following year; they apply to the cantonal tax office.
  • Hourly staff in a part month: Scaled with 30 / days as well. This is new (Swissdec M14.1).
  • 13th monthly salary: It no longer counts with amount x 360 / days earned (previously ticket #114) but with the month’s periodic pay. This changes amounts, see below.
  • A 13th salary as a Nachzahlung is scaled (10.6.5).
  • A manual wage type 1100 on a contract that pays the 13th automatically would pay twice. The pre-check warns.

What changes in Zurich

The amount for a Zurich person with no move, no other employment and no 13th salary in a part month stays the same (we compared a full year with a December 13th, a bonus, an allowance and a correction against the old calculation). Only the following changes. The figures are Swissdec’s examples, not employees. Approved lines stay as they are; it only affects runs not yet approved.

CaseTax before / afterReason
Exit on 31 May, 13th salary (M5)1’623.50 / 1’292.00the 13th counts with the monthly pay
Exit on 15 June (M17)1’098.25 / 1’063.75same
Exit on 15 October, raise (M20)2’163.33 / 2’428.83rises
Joined 1 May, 13th in December (M47)1’033.33 / 825.00Someone who joins on the 1st and never has a part month is affected too
Manual 13th in the exit month (M18)390.00 / 403.00now counts as periodic
Hourly, joined 15 June (M14.1)0.00 / 70.52the part month is scaled
Marriage on 26 May (M23)205.00 / 475.00new code only from June

So it affects everyone with an automatically paid 13th salary who is employed for fewer than 360 days in the year, in both directions, and all hourly joiners and leavers. The old route was not unlawful either (circular 45, FAQ no. 6): the amounts are different, not wrong.

Other employment

What the source says. If a part-time person has another job or replacement income, the rate basis is scaled to their total level of employment. If the level is unknown, it is scaled to 100 % (Swissdec 6.0, 10.6.4.1; KS 45 items 6.4 and 7.3.2; examples M6 to M11). For hourly staff the level of employment is the month’s hours over the company’s usual hours (10.6.4.1; M9, M10); lost hours from daily allowances count (10.6.4.3). If no level can be determined, the median applies (10.6.4.2). The total may exceed 100 % (KS 45 FAQ 8).

What is a rule of Hive Engine.

  • Each person has Other employment with three answers: none, known with a percentage, unknown. It is asked for part-time and hourly staff. Existing people are on none; the pre-check warns for part-time and hourly staff until someone has answered the question.
  • Periodic pay is divided by this contract’s level and multiplied by the total level, then with 30 / days, and then one-off pay is added. Known: this contract plus the stated %. Unknown: 100 %; a level above 100 % is not reduced. A known level of 0 % counts as no other job.
  • Hourly pay: The hours are the quantities of wage types 1010, 1020 and 1030 (hourly wage, public holiday, holiday). The lost hours on the daily allowances 1600, 1610 and 1620 are added; you enter them in the allowance dialog (Lost hours (optional)). The company’s usual hours are the weekly hours from People → Settings x 52 / 12 (182 at 42 hours). The level stays unrounded. The example in the text (858.00, 3 hours and 32 lost hours, 60 % elsewhere) gives 3,534.96 with us; the text rounds the percentages and gives 3,535.07. Swissdec’s examples M9 and M10 only match with unrounded levels.
  • Median: ESTV publishes it every year per canton (record 13 of the tariff file, code MED). Hive Engine imports it with the tariffs. It applies when, with another job, no level can be determined: a contract without a level of employment, hourly pay without usual company hours, or without hours in the month. If the wage is below the median, the rate basis is the median (it already includes 100 %), otherwise the wage. If the median is missing, Hive Engine uses the wage without scaling and the pre-check warns.
  • A Nachzahlung after exit builds on the level with which the exit month’s line was taxed (kept on the line), not on today’s details.
  • The person has the right to have the rate recalculated by 31 March of the following year if it came out too high (Swissdec 10.6.1.3, see above). A retroactive answer to Other employment triggers a correction (see below).

The annual model (FR, GE, TI, VD, VS)

What the source says.

  • On the annual model each month’s wage is taxed at the rate that corresponds to the person’s annual income (ESTV circular 45, item 7; Swissdec 6.0, 10.6.1). The revision of withholding tax and circular 45 apply from 1 January 2021; the information letter of the canton of Aargau names FR, GE, TI, VD and VS as the annual-model cantons. We could not find which item of the circular names the date for the annual model itself, see Sources.
  • The calculation runs per person, canton and year (the “period”). The rate basis is the periodic wage to date, divided by the social insurance days to date, times 360, plus the aperiodic wage to date; the result divided by 12 (Swissdec 6.0, 10.6.1). For every tariff code that occurred in the period, the withholding-tax wage to date of that code counts times that code’s rate at today’s rate basis. The sum, less everything already deducted in the period, is the month’s deduction (10.6.1 and 10.6.2). It can be negative.
  • The 13th month’s pay counts with the periodic pay and is projected to 360 days (KS 45 item 7.3.1, FAQ no. 6). With other employment, each month’s periodic wage is projected to the total level, the aperiodic one is not (10.6.4.1; examples Y6 to Y11). Hourly pay that is paid monthly calculates with social insurance days like any other wage (examples Y9, Y10, Y14, Y15); the 2,160 hours apply only to pay that is paid weekly or daily (10.6.4).
  • A month in employment without pay still has a line, because the period settles; the amount can be negative (example Y14.1, March; Swissdec 6.0, 10.8). Outside employment there is no line.
  • Re-entry in the same year and canton: The values of the earlier period flow in (10.6.7). Change of canton: It is treated like an exit and an entry, with no settlement between the cantons. That holds as well when the person returns to an earlier canton in the year (10.6.7 and 10.6.8; examples YM43, MY44, Y46).
  • Payments at and after the exit (10.6.5): What falls due at the exit is taxed as in the exit month; what falls due only after it is taxed alone, on the exit year’s periodic wage plus the payment (examples Y1.2, Y1.4, Y14.1, Y35 to Y38).

What is a rule of Hive Engine.

  • The rate and the calculation are kept on the line. Each line records the model, the rate basis and the rate. The stored median (ESTV record MED) is monthly; the annual model takes it times 12 where the year’s rate basis needs it (KS 45 FAQ no. 12).
  • Rounding: The year to date governs. Hive Engine calculates the tax to date to the Rappen and subtracts what was already deducted. A single month can therefore differ by a Rappen from Swissdec’s monthly row.
  • Switch between the models (examples YM43, MY44): The period on the annual model simply ends, with no closing settlement; in the monthly-model canton the monthly formula applies from the following month. The other way round, a new period starts on the annual model from the following month, with days, wages and amounts withheld from zero.
  • A new period also starts at every change of canton (also between two annual-model cantons, example Y46) and in the new calendar year.
  • Collection commission in a negative month: It is given back with the same sign, as corrections already do. At 2 % with a deduction of 1,200 in January and −144 in February, it is 24.00 and −2.88.
  • Weekly pay (example Y13) and foreign working days are not calculated on the annual model, as on the monthly model.

An example

Geneva, June. From January to May the person earned 20,000 periodic in 150 days, and 1,000 was deducted. In June, 4,000 in 30 days comes on top.

  • Periodic wage to date: 24,000 in 180 days. 24,000 / 180 x 360 / 12 = 4,000. That is the rate basis.
  • The tariff gives 7 % for 4,000 in the example. The tax to date is 24,000 x 7 % = 1,680.
  • The June deduction is 1,680 − 1,000 = 680.

If the rate falls later or a wage is cut, the tax to date can be below what was deducted. Then the month is negative: the person gets the difference back with the pay, as a Withholding tax refund from the annual settlement. The figures are from a test, not from a person; the 7 % is the test’s rate, not the current tariff.

Late changes: the correction

What the source says. A tariff code changed retroactively, or a report to the wrong canton, is reversed month by month, in the following month’s report, until 31 March of the following year (Swissdec 6.0, 10.11.1, 10.11.1.1, 10.11.1.2; examples M40, M41, M42). The values of the first correction count as “old” if the same month is corrected again (end of 10.11.1.2, M42). Someone who merely disagrees with the tariff code goes to the cantonal tax office (10.11.1.1).

What is a rule of Hive Engine.

  • Triggers: a tax row reaching into an already approved month (canton, tariff code, switch between withholding tax and ordinary taxation, answer to Other employment), and a change of canton into closed months. A wage error stays with the payroll correction (+) / (−); this is only about tax details. A month is only corrected if this change actually affects it.
  • Preview and confirmation: Before saving you see each month with old and new tax. Nothing is saved without your confirmation.
  • Settlement: The difference appears in the next open payroll run as Quellensteuer-Korrektur (and the collection commission). Old amount negative, new positive. The old canton reports the reversal, the new one the new amount. The current month is not corrected.
  • Chain: A month can be corrected several times. Each correction starts from the values of the last one (M42).
  • Deadline 31 March of the following year: Hive Engine checks it when saving, calculating and approving, each time with the tenant’s date today. If the deadline has passed by approval, the month is no longer settled; the difference then changes, and the four-eyes principle asks for a recalculation. If only some months are in time, these are corrected and the late ones are named. If all are late, Hive Engine refuses the save.
  • A leaver: If the person has no further payroll run, the correction stays open. A block in the report and an item in the year-end checklist show it; a Nachzahlung without items subject to withholding tax settles it and needs an exit case. A Nachzahlung with taxable items for a month with an open correction is blocked by the pre-check so the order is right.
  • Negative net pay: If the correction asks for more than the pay allows, the approval refuses and names the correction. The way out is an item with wage type 1920 (advance), which carries the difference over to later payroll runs. Until then it stands as an open advance on account 1140. Hive Engine does not automate collecting it.
  • What is refused on the monthly model (cannot be calculated reliably): a month with a Nachzahlung after exit; a month whose run kept no rate basis, no QST wage or no tariff code; a median month in another canton; a month previously taxed in the ordinary way for a person with other employment (the level cannot be rebuilt); a month with no imported tariff or no collection commission. Opening months are not corrected and are named. Hive Engine then points to the cantonal tax office. This can block a lawful case; it is our decision to refuse rather than guess. For the annual model see the section right below.

Corrections on the annual model

What the source says. The annual model has the same correction scenarios and the same deadline, 31 March of the following year (Swissdec 6.0, 10.11.1 and 10.11.1.1; examples Y40, Y40.1, Y41, Y42). A correction in January sets the previous year right at the previous year’s basis (Y41).

What is a rule of Hive Engine.

  • Triggers: a late tariff code, a late change of canton, other employment reported late, a change between a monthly-model and an annual-model canton, and the change from ordinary taxation to withholding tax. Preview, confirmation and settlement in the next open run work as on the monthly model.
  • Old and new: “Old” is what the month reported (the tax on its line, or for a second correction the new amount of the first). “New” is the month calculated again as the annual model calculates a month: on the year to date in today’s canton, with the earlier months as they are now reported, and on its own rate basis. A new tariff code leaves that basis as it was; a new canton restarts the period.
  • The money lies where it belongs: The old amount comes out of the old period, the new amount goes into the new one. A month of the previous year stays in the previous year, the previous year ends at its year’s tax, and the new year is untouched.
  • Change between the models: Into a monthly-model canton Hive Engine uses the monthly tariff on the monthly rate basis, rebuilt from the pay kept on the line. Into an annual-model canton it calculates the month in the newly started period.
  • Ordinary taxation, now at source: “Old” is 0. The period is built from the pay kept on the line, also with other employment.
  • A Nachzahlung is calculated but not yet approved: It does not stand in the way of the correction. It is recalculated at approval and settles a waiting correction itself. Only an approved Nachzahlung leaves a month uncorrected.
  • What cannot be calculated again does not block the save. The change is saved; the month stays as it was reported, or at the correction already waiting for it. This affects a month with an approved taxable Nachzahlung, a month without a kept withholding-tax wage and a month without a known old tariff code. The months after it keep calculating on it. A missing tariff or collection commission still blocks the save.
  • A Nachzahlung after the exit settles a waiting correction of the exit month itself and reads the corrected values. The order and rate-basis blocks now apply to monthly-model months only.

The message after the save names each month with its own text and then, for example: “Die Änderung ist gespeichert. Nicht korrigiert wird {Monat}: Dieser Monat bleibt, wie er gemeldet wurde, und die Monate danach rechnen auf ihm weiter. Bitte klären Sie das mit dem zuständigen kantonalen Steueramt.” (message in German). For several months: “Nicht korrigiert werden {Monate}: Diese Monate bleiben, wie sie gemeldet wurden, und die Monate danach rechnen auf ihnen weiter.” If the earlier correction stays for a month: “Nicht neu korrigiert wird {Monat}: Für diesen Monat bleibt die zuvor erfasste Korrektur bestehen, und die Monate danach rechnen auf ihr weiter.” In the confirmation dialog it starts with “Die Änderung wird gespeichert.” The sentence about the tax office appears only where the month’s own text does not already contain it.

Salary certificate item 12

What the source says. Item 12 is the “Totalbetrag (brutto) der Quellensteuern … im entsprechenden Kalenderjahr vom Bruttolohn in Abzug gebracht” (Lohnausweis guidance 2026, margin note 48; in German). On a refund or a negative total the guidance says nothing.

What is a rule of Hive Engine. The correction counts in the year in which it was deducted, a Nachzahlung in the year of payment. On the annual model, item 12 is what the calendar year deducted, negative months included: a refund month lowers it. Item 12 can therefore become negative in a year: Hive Engine keeps the figure and warns on release (“Ziffer 12 ist negativ …”, message in German). Checking the certificate is up to you.

The report per canton

What is a rule of Hive Engine. The Withholding tax (QST) report comes as By canton (one document per canton and month) and as Whole month. By canton it shows the SSL number, employer, per person municipality, tariff code, level of employment, wage, rate basis and tax, totals with “of which corrections of earlier months”, the collection commission and the amount you have to pay. A change of canton appears as an exit in the old canton and as an entry in the new one. A line keeps the canton, tariff code and municipality it was approved with; a move recorded later does not change the report of a closed month. A line on the annual model also shows the model, the rate, the aperiodic wage, the withholding-tax wage to date over all tariff codes and for the line’s own tariff code, and the withholding tax deducted to date. The CSV export has these columns only in a month that has such a line. A Nachzahlung shows no rate if it joins two steps; its amount is always the line’s. A correction appears with old and new as on the monthly model.

Copies of the salary certificate for the cantons

What the source says. BS, BE, FR, JU, NE, SO, VD and VS require a direct copy; in LU it is voluntary (Lohnausweis guidance 2026 margin note 74; Art. 162 LICD (FR); Art. 145 LI (JU); Art. 195 LCdir (NE); Art. 135 LF (VS); vd.ch). When it is needed depends on the canton: BE for staff living in Bern (sv.fin.be.ch); VS for staff living in Valais (letter of the cantonal tax administration of Valais of 23 December 2025); BS where the seat or a site is in the canton, wherever staff live (bs.ch); SO for employers with staff in the canton (steuerbuch.so.ch). FR, JU, NE and VD name no criterion (fr.ch, jura.ch, ne.ch, vd.ch). Deadlines the cantons state: VD 28 February, FR mid-February, VS 20 February (for the 2025 certificates). The others state none. The certificate goes to the canton of residence, for people abroad to the head office; a move does not split it, it goes to the last canton (Swissdec 6.0, 9.1.4 and 9.1.7).

What is a rule of Hive Engine. The Salary certificates page shows under “Copies for the cantonal tax offices {year}” the certificates per canton, a mark (Copy required, Copy voluntary, No copy needed), the canton’s rule, its deadline (as the canton’s statement, we do not compute it) and the source. A canton appears if staff live or work there or you have a workplace there. Where a canton names no criterion, “residence or workplace in the canton” applies. A copy may therefore be marked that the canton does not ask for. Hive Engine sends nothing; you mark what you have sent with Send copy.

What remains different from Swissdec

Swissdec publishes examples for the monthly calculation (Annex 1, version of 6 March 2026). We recalculated all 53 examples. All those not on the list below match to the Rappen using the example’s own tariff. The figures were copied from the example sheets; we do not keep the files themselves.

Not implemented (the gap list):

  • A 13th monthly salary paid more than once a year is not generated automatically (M3, M4, M18, M19, M24). Shares you enter by hand (wage type 1100) calculate correctly.
  • The old and new lines in the report for pay after exit (M35, M36, Swissdec 10.6.5). The amounts match; it is the form of the report, which comes with ELM.
  • 5-Rappen rounding (Swissdec 5.1.1). Swissdec’s examples do not round the withholding tax. We round to the Rappen.
  • Sending by ELM. It needs certification.
  • Foreign working days and cross-border tariffs (M19.1, M31, M32, M33, M33.1, M38.1). People living abroad are taxed in the right canton with an ordinary tariff code.
  • Staff leasing with weekly pay (M12, M13).
  • Agriculture, withholding tax on pensions, capital payments and replacement income as cases of their own; the automatic municipality from the postcode (Swissdec 10.4.1; the BFS number stays manual).

The annual model. Swissdec publishes its own examples for it (Annex 1, withholding tax calculation year, edition of 6 March 2026). There are 60; we recalculated 52, and all 52 match to the Rappen with the tariff of the example, with the exceptions named below. Weekly pay (Y12, Y13) and foreign working days (Y19.1, Y31, Y32, Y33, Y33.1, Y38.1) were not recalculated; they are not implemented. What we do differently, or where no example helps:

  • Rounding: The year to date governs (see above). In five months of the examples our monthly row is a Rappen below Swissdec’s row; the position to date matches. Y38’s example calculates with 6,666.67 instead of 6,666.666…, so there we allow the Rappen.
  • Nachzahlung after the exit: The text says the aperiodic payments of the year of payment determine the rate. The examples (Y1.2, Y1.4) take only the month’s wage. We follow the examples. In Y1.2 that is a rate of 19.6 % instead of 21.0 % in May; the year’s amount stays the same because the re-entry settles it. A payment that falls due only after the exit counts as aperiodic for the months after, whatever the wage type says.
  • Two parts in one Nachzahlung: If payments at and after the exit fall in different years, codes or cantons, Hive Engine refuses because one line holds only one of them. Two Nachzahlungen solve it.
  • Correction: new is the month calculated again (not wage times new rate). On all examples that is the same. It differs where the rate basis moves between the corrected months. Example: November 4,000 and December 6,000, tariff code B0N from November, reported in January. Calculated again: November 120, December 380, and 2026 ends at its year’s tax of 500. With “wage times new rate” 524 would stand. That is our reading of “at that year’s basis”.
  • Correction: old is what the month reported, not wage times rate. After a late change of canton the old canton thus gives back exactly what it still holds for the months.
  • A late change between annual-model cantons starts a new period in the new canton, like a change in time (10.6.8). No example shows it.
  • A change between the models, ordinary taxation to withholding tax and other employment reported late in closed months have no example. We calculate them as above. With other employment, the level moves only the rate basis and not the withholding-tax wage; Swissdec 10.11.1 says it “möglicherweise” changes it too.
  • A month that cannot be calculated again does not abort the save (see above). The period then does not end at its year’s tax.
  • Collection commission in a negative month: Neither Swissdec nor KS 45 says how it follows the amount. We give it back with the right sign.

What we read differently or only partly do:

  • A correction because of foreign working days does not exist (see the gap list).
  • The rate basis kept on the line is rounded to the Rappen, while the calculation itself works unrounded. At the exact start of a tariff bracket a correction can read a different rate than a recalculation would.
  • We apply the median rule to a part month literally (no scaling with the days); the text says nothing about it.
  • Family allowances in a part month: the overstated rate stays (text 10.6.1.3); the person has the route via the tax office.

Rules without a named source

These rules are our decision, not a documented requirement:

  • Hours in the level of employment: For hourly pay, holiday and public-holiday hours count too, so that pay and level rest on the same hours.

  • Collection commission in a correction: The new canton’s rate for the corrected month and today’s submission method apply. If no commission was booked for the old month, it counts as 0. If the rate is missing, Hive Engine refuses. Swissdec says nothing on this.

  • Only months the change actually affects: Otherwise a late month, or an error from before this feature, would come back on every save.

  • A month with no wage, no tax and no rate basis is neither corrected nor refused.

  • Deadline when saving and when settling: Whether writing or reporting is the deadline is not in the text. An open correction whose deadline has passed is no longer settled; the pre-check warns and names the tax office.

  • Opening months are not corrected, only named.

  • A leaver: That the correction stays open and a Nachzahlung without taxable items settles it is our choice. A Nachzahlung only to settle needs an exit case.

  • A correction that changes the rate basis blocks a later taxable Nachzahlung, because that builds on the recorded level. An open correction past the deadline points to the tax office instead of the order.

  • Hourly pay in a part month: The company’s usual hours are reduced by days / 30. No Swissdec example sheet covers this.

  • Today’s hours on a retroactive answer: When an hourly month is rebuilt, today’s usual company hours apply because the line did not keep them.

  • Median in another canton: A month with a median can only be corrected in the same canton.

  • Switch from ordinary taxation to withholding tax: 10.11.1.1 allows this in principle; we calculate it unless the person has other employment.

  • Wage types 1310, 1210 and 1540 as one-off, all family allowances as periodic: This is our matching of the names on Swissdec’s sheet “Salary” and our reading of 10.6.1.3.

  • The row of a month with no row on the first working day: taking the later one in the month.

  • A move within the canton into a closed month: applies from the next open month.

  • Existing people without an answer are on “none”.

  • Copies: Assigning staff to a canton uses today’s address because there is no address history; for SO the work canton of the year’s last contract; for BS every certificate if you have an active workplace there.

  • A marriage on the 1st counts from the following month: That is how we read “following month” in Swissdec 10.6.2 and in Zurich; that a canton means exactly this for the 1st, we state without a source.

  • Annual model, opening figures: Without the split by canton and tariff code, a person’s first payroll month on the annual model cannot be calculated. Hive Engine refuses rather than guess from the two totals.

  • Annual model, a month without a line: We give a month in employment without pay a line, as Swissdec 10.8 says; the contract decides the employment.

  • Collection commission in a negative month and the cases in the list above for which Swissdec has no example (late changes between the models, ordinary to source, other employment reported late): our reading.

Limits of Hive Engine

  • Hive Engine does not check whether a person is rightly liable to withholding tax.
  • It checks the canton of residence only against the address and the workplaces, not against the residents’ register.
  • It cannot tell whether a change is a real change of circumstances or a dispute about the tariff code.
  • It sends nothing to a tax office.

Sources

The information comes from our research for these rules. We name no check date, except where stated above.

  • Swissdec, guidelines for payroll data processing 6.0 (edition of 6 March 2026): 5.1.1, 9.1.4, 9.1.7, 10.2.1, 10.4.1, 10.4.2, 10.6.1, 10.6.1.1, 10.6.1.2, 10.6.1.3, 10.6.2, 10.6.4.1, 10.6.4.2, 10.6.4.3, 10.6.5, 10.6.7, 10.6.8, 10.8, 10.11.1, 10.11.1.1, 10.11.1.2; Annex 1, withholding tax calculation month (version 20260306)
  • ESTV, circular 45 (withholding tax), items 6, 6.4, 7, 7.3.2, and FAQ nos. 6, 8, 12
  • ESTV, “Auskunftsstellen, Bezugsprovisionen, Kirchensteuer 2026”
  • Canton of Zurich, Quellensteuerverordnung I (LS 631.41), §§ 10 and 11; zh.ch, Quellensteuerpflichtige Personen
  • Canton of Luzern, Wegleitung zur Quellensteuer 2019; canton of St. Gallen, tax administration FAQ on withholding tax
  • Lohnausweis guidance 2026, margin notes 48 and 74
  • Annual model: Swissdec 6.0, 10.6.4, 10.6.7, 10.6.8, 10.8 and Annex 1, withholding tax calculation year (version 20260306); ESTV circular 45, items 7 and 7.3.1
  • Circular 45 and the revision of withholding tax from 1 January 2021, annual model in FR, GE, TI, VD and VS: canton of Aargau, information letter “Revision der Quellenbesteuerung des Erwerbseinkommens” (28 October 2020), https://www.ag.ch/media/kanton-aargau/dfr/dokumente/steuern/quellensteuer/quellensteuer-arbeitgebende/qust-merkblaetter-publikationen/info-quellensteuerverfahren-2021.pdf; canton of Aargau, withholding tax tariffs (“Kreisschreiben Nr. 45 ESTV (gültig ab 1.1.2021)”), https://www.ag.ch/de/themen/steuern-finanzen/steuern/qellensteuern-abwickeln/quellensteuertarife. We did not find the item of circular 45 that names the date for the annual model itself.
  • Collection commission: Art. 88 para. 4 DBG (as of 1 January 2025): the payer of the taxable income receives a collection commission of 1 to 2 per cent of the total withholding tax, set by the competent tax authority (with Art. 100 para. 3 DBG and Art. 37 para. 3 StHG).
  • Copies: Art. 162 LICD (FR); Art. 145 LI (JU); Art. 195 LCdir (NE); Art. 135 LF (VS); sv.fin.be.ch; bs.ch; steuerbuch.so.ch; letter of the cantonal tax administration of Valais of 23 December 2025; fr.ch; jura.ch; ne.ch; vd.ch

What’s next