Application · Payroll & Social Insurance
AI in Social Insurance: Automating AHV/IV/EO, BVG, Withholding Tax & Swissdec ELM
Where AI usefully supports Swiss payroll (AHV, ALV, BVG, UVG, withholding tax, Swissdec ELM) – and where calculation must stay deterministic.
Researched & fact-checked by: DuneDive LLC · As of: 2026-06
What this is about
Swiss payroll combines several mandatory social insurances and tax obligations in a single payroll run: AHV/IV/EO (old-age, survivors' and disability insurance plus loss-of-earnings compensation), ALV (unemployment insurance), occupational pension under the BVG (second pillar), mandatory accident insurance under the UVG, and – for foreign employees without a settlement permit – withholding tax (Quellensteuer). Each component has its own assessment base, thresholds and recipients.
The technical glue is the unified payroll reporting procedure ELM (the Swissdec "Lohnstandard-CH" standard). It lets you record payroll data once in certified payroll software and transmit it electronically to multiple recipients: compensation funds (AHV), cantonal withholding-tax authorities, UVG insurers, BVG pension institutions and the Federal Statistical Office (BFS). This "record once – report to all" principle is the core of ELM.
AI does not fundamentally change this picture: the actual contribution and tax calculation follows fixed, legally defined formulas and tariffs. AI operates before and after – in triage, data preparation and plausibility checks. This article draws a clear line between where AI helps and where it has no place.
Why it matters
Payroll is error-prone and liability-relevant. Incorrect contributions lead to back-claims from the compensation fund, correction filings, frustrated employees and – for withholding tax – forfeited collection commissions. Fiduciary firms carry real client risk here because they are responsible for the payroll on the client's behalf.
At the same time, much of the work is not the calculation itself but the preparation: recording mutations (joiners and leavers, workload changes, marriage, religious affiliation, permit changes), assigning documents, determining withholding-tax tariff codes, spotting implausible values. This is where most errors arise – and exactly where AI can save time without touching the regulated calculation.
For a Swiss fiduciary or SME context, data location is also central: payroll data is sensitive personal data. Sensible AI support must therefore go hand in hand with a clear separation of deterministic calculation, traceable logging and privacy-compliant operation.
Where AI helps – and where it doesn't
Deterministic and without AI: The actual contribution calculation stays rule-based. In 2026, AHV/IV/EO together amount to 10.6 % of the AHV-liable salary (5.3 % each for employer and employee), ALV is 2.2 % up to the ceiling of CHF 148,200. The 2026 BVG thresholds (entry threshold CHF 22,680, coordination deduction CHF 26,460, upper limit CHF 90,720, BVG minimum interest rate 1.25 %) and the withholding-tax tariffs are defined by law or by canton. Such values belong in certified payroll software with fixed formulas – not in a language model that "estimates" numbers.
AI in triage: Incoming documents and employee emails (new employment contract, sickness or accident report, marriage certificate, permit copy) can be classified, assigned to the right person and mutation type, and turned into a task list. This replaces manual sorting, not the professional review.
AI in plausibility checks: Before ELM transmission, an assistant can flag anomalies – missing coordination deduction for part-time, a withholding-tax tariff code that doesn't match marital status, a BVG salary without pension-fund assignment, a wage sum deviating sharply from the previous month. The AI proposes and explains; a human decides and approves.
AI for explanation and search: A RAG-backed assistant can answer questions about leaflets, guidelines and cantonal tariff rules and cite its sources – useful for finding the right rule without "inventing" it.
Example flow: AI-assisted payroll run
- 01Document intake: AI classifies incoming documents and emails (joiner, leaver, workload, marital status, permit) and assigns them to employees and mutation types.
- 02Mutation proposal: The system creates a task list with proposed master-data changes; the clerk reviews and confirms.
- 03Recording in certified payroll software: Confirmed mutations flow into the Swissdec-certified payroll software, which deterministically calculates AHV/IV/EO, ALV, BVG, UVG and withholding tax.
- 04Plausibility check: Before closing, the AI flags anomalies (e.g. missing coordination deduction, tariff-code conflict, unusual wage sum) with reasoning.
- 05Human sign-off: The responsible person reviews the flags, corrects where needed and approves the payroll run.
- 06ELM transmission: The certified software reports the data via ELM to the compensation fund, withholding-tax authority, UVG insurer, BVG institution and BFS – recorded once, sent to all recipients.
- 07Logging and archiving: Proposals, decisions and filings are logged traceably and archived in an audit-proof manner.
When it makes sense
AI support pays off when a fiduciary firm manages many payroll mandates with high mutation volumes: ongoing joiners and leavers, frequent workload changes, mixed document sources (email, PDF, portal uploads) and multiple cantons for withholding tax. That's where triage and pre-checking deliver the biggest leverage.
It also makes sense where recurring plausibility errors only surface late today – for example at year-end wage declaration or ELM transmission. An upstream plausibility check moves error detection forward.
A prerequisite is always Swissdec-certified payroll software as the calculating and reporting authority. AI is the layer before and after – feeding the system clean inputs and checking its outputs, without calculating or reporting itself.
When not to use it
AI must never take over the contribution or tax calculation. Contributions, coordination deductions, coordinated salary, retirement credits and withholding-tax amounts are fixed by law, ordinance and cantonal tariffs. These values must be derived deterministically from the applicable tables – a language model reproducing percentages or tariff entries "from memory" is a source of error here, not a tool.
Equally, AI should not autonomously trigger the ELM filing or replace professional sign-off. Legal responsibility for the correctness of the payroll and the filings remains with the fiduciary or employer. AI proposals are drafts for review, not final decisions.
Data protection also calls for caution: payroll data is especially sensitive. It does not belong, unchecked, in just any external cloud service. Anyone using AI should know and contractually secure the data flow, storage location and logging. This article is not legal or tax advice; the current official sources and the specific case are decisive.
FAQ
May AI calculate the social-insurance contributions?
No. Calculating AHV/IV/EO, ALV, BVG, UVG and withholding tax follows fixed statutory rates, thresholds and cantonal tariffs and must be done deterministically from the applicable tables – typically in Swissdec-certified payroll software. AI supports triage and plausibility checks but does not calculate itself.
What is Swissdec ELM and what is it for?
ELM (unified payroll reporting procedure) is the Swissdec "Lohnstandard-CH" standard. It lets you record payroll data once in certified software and transmit it electronically to multiple recipients – compensation funds, withholding-tax authorities, UVG insurers, BVG institutions and the BFS. This avoids duplicate entry and reduces transmission errors.
Do I need to change anything in my payroll software for 2026?
ELM 5.0 has been in force for several years and is already widely adopted (140+ certified products). For withholding-tax filings covering the 2026 salary year, ELM 5.0 (or higher) has been mandatory since 1 January 2026. ELM 4.0 is still accepted for 2025 salary-year withholding-tax corrections until 31 March 2026; for all other domains (AHV/FAK, UVG, federal statistics, etc.) ELM 4.0 can be used until 30 June 2026 at the latest, after which only ELM 5.0 or higher is permitted. Swissdec has also announced ELM 6.0 for 2026. Clarify the exact dates and support for this next standard with your software vendor; the official Swissdec information is decisive.
How does AI handle data protection for payroll data?
Payroll data is especially sensitive personal data. Responsible AI use requires that the data flow and storage location are known and secured, ideally with data kept in Switzerland, a dedicated RAG knowledge base instead of open models, and traceable logging. Responsibility for the payroll stays with the fiduciary or employer.
Related topics
Sources
- Swissdec – Lohnstandard-CH (ELM) · 2026-06
- Swissdec – Abschaltung ELM 4.0 · 2026-06
- Informationsstelle AHV/IV – Merkblatt 2.01 Beiträge AHV/IV/EO · 2026-06
- BSV – Finanzierung der beruflichen Vorsorge (BVG-Grenzbeträge) · 2026-06
- ESTV – Schweizerische Quellensteuer (QST) · 2026-06
- Kanton Zürich – Quellensteuerabrechnung mit ELM · 2026-06