swedish-payroll
Skill96 starsChanged 2 months agoMITView on GitHub
Swedish payroll (lön & arbetsgivaravgifter) compliance reference. Covers AGI filing, sociala avgifter (31.42%), skatteavdrag/skattetabeller, förmånsbeskattning (bil/kost/friskvård), semesterlöneskuld, OB/övertid, traktamente, utlägg/milersättning, F-skatt/A-skatt, BAS 7xxx mapping, brutto/nettolöneavdrag, löneväxling, and sjuklön. Trigger on lön, payroll, AGI, arbetsgivaravgifter, skattetabell, förmåner, semesterlön, traktamente, F-skatt, sjuklön, löneväxling, BAS 7xxx, or booking salary/vacation pay/sick pay in a Swedish context. Always use over training data.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- erp-mafia/accountededited, first seen Oct 8, 2026
- erp-mafia/swedish-accounting-skillsword for word, first seen Sep 18, 2026
Other versions2 projects use a version of this.
Word for word · 1
- erp-mafia/swedish-accounting-skills★ 96100% same
Edited · 1
- erp-mafia/accounted★ 40375% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- swedish-accounting-complianceSkill
- swedish-asset-accountingSkill
- swedish-cash-registerSkill
- swedish-daily-bookkeepingSkill
- swedish-ef-skatteplaneringSkill
- swedish-financial-reportingSkill
- swedish-industry-byggSkill
- swedish-industry-ehandelSkill
- swedish-industry-restaurangSkill
- swedish-industry-saasSkill
- swedish-industry-vardSkill
- swedish-inventorySkill
- swedish-invoice-complianceSkill
- swedish-project-accountingSkill
- swedish-sie-import-exportSkill
- swedish-sru-filingSkill
- swedish-tax-planningSkill
- swedish-vatSkill
- swedish-year-end-closingSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Read multiple reference files when a question spans domains (common).
- Distinctive: line 46
No avgifter required if total annual compensation from one employer < 1,000 SEK.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Swedish Payroll Compliance
Developer-facing compliance reference for building Swedish payroll software. This skill answers questions about statutory rates, filing obligations, benefit valuations, BAS account mappings, and calculation logic so you can verify your implementation is correct.
How to use this skill
This skill has a router structure. The SKILL.md contains the most critical rules and rates you need constantly. Detailed reference material lives in references/. Read the relevant reference file when you need depth on a specific area.
Reference files
| File | When to read |
references/agi-filing.md | Questions about arbetsgivardeklaration (AGI), XML schema, field codes (fältkoder), filing deadlines, corrections, penalties, Skatteverket API submission |
references/social-charges.md | Questions about arbetsgivaravgifter component breakdown, age-based reductions, egenavgifter, växa-stöd, forskningsavdrag, youth discount, thresholds (PBB/IBB/SGI) |
references/tax-tables.md | Questions about skatteavdrag, skattetabeller, column system, jämkning, sidoinkomst, statlig inkomstskatt brytpunkt, Skatteverket tax table data format |
references/benefits.md | Questions about förmånsbeskattning: bilförmån (all 3 formula generations, miljöbil reductions), kostförmån, friskvård, KPO, telefon/internet, bostadsförmån |
references/vacation-pay.md | Questions about semesterlön, semesterlöneskuld, procentregeln, sammalöneregeln, semestertillägg, sparade dagar, intjänandeår, BAS 2920/7090 accounting |
references/ob-overtime.md | Questions about OB-tillägg, övertid, Arbetstidslagen limits, CBA divisors, mertid, kompensationsledighet |
references/travel-expenses.md | Questions about traktamente (domestic/international), tremånadersregeln, meal reductions, utlägg vs kostnadsersättning, milersättning, körjournal |
references/f-skatt.md | Questions about F-skatt vs A-skatt vs FA-skatt, verification workflow, employer liability, Skatteverket Företagsuppgifter API |
references/bas-7xxx.md | Questions about BAS kontoplan 7xxx salary accounts, balance sheet accounts (2710/2730/2920), standard monthly journal entry flow |
references/deductions-lonevaxling.md | Questions about nettolöneavdrag vs bruttolöneavdrag processing order, löneväxling (1.058 factor), pension deductibility caps |
references/sick-pay.md | Questions about sjuklön, karensavdrag calculation, day 2-14 at 80%, läkarintyg, återinsjuknande, Försäkringskassan day 15+, högkostnadsskydd |
Read multiple reference files when a question spans domains (common).
Core rates and rules (always in context)
Arbetsgivaravgifter: 31.42%
Total rate unchanged since 2009. Calculated on full gross salary + taxable benefits with no cap. Age tiers:
| Birth year condition | Rate |
| Born 1937 or earlier | 0% |
| Born 1938–1958 (2025 and 2026) | 10.21% (only ålderspensionsavgift) |
| Standard (all others) | 31.42% |
| Temporary youth: turned 18 but not 23 at year start, 2026 = born 2003–2007 (pay from Apr 1, 2026 to Sep 30, 2027) | 20.81% on salary up to 25,000 SEK/month (Lag 2026:100) |
No avgifter required if total annual compensation from one employer < 1,000 SEK.
AGI filing deadline
12th of month following pay period (17th in Jan/Aug for turnover ≤40 MSEK). Late = 625 SEK; 1,250 SEK if the declaration was due under a föreläggande (SFL 48:6).
Skatteavdrag lookup chain
kommun → total skattesats → round to table number (29-42) → select column (1-6 by employee category) → look up gross salary bracket → withholding amount. Sidoinkomst: flat 30%.
Semesterlön
Procentregeln: 12% of semesterlönegrundande income. Sammalöneregeln: regular pay + 0.43% semestertillägg per day (many CBAs use 0.8%). Intjänandeår: Apr 1 - Mar 31 by law (often calendar year via CBA).
Sjuklön (day 1-14)
Karensavdrag = 20% of one week's sjuklön (80% of weekly pay). Day 2-14: 80% of lost pay. Läkarintyg from day 8. Återinsjuknande within 5 days = same period continues.
Traktamente (domestic)
2024-2025: 290 SEK/hel dag. 2026: 300 SEK/hel dag. Halv dag = 50%. After 3 months same location: 70%. After 2 years: 50%.
Key thresholds 2026
| Parameter | Value |
| Prisbasbelopp (PBB) | 59,200 SEK |
| Inkomstbasbelopp (IBB) | 83,400 SEK |
| Max PGI (7.5 × IBB) | 625,500 SEK |
| Pension ceiling (8.07 × IBB) | 673,038 SEK |
| SGI ceiling (10 × PBB) | 592,000 SEK |
| Friskvård tax-free cap | 5,000 SEK/year |
| Milersättning (own car) | 25 SEK/mil |
| Statlig skatt skiktgräns | 643,000 SEK/year |
| Statlig skatt brytpunkt | 660,400 SEK/year |
BAS 7xxx quick reference
| Range | Category |
| 7010-7090 | Löner kollektivanställda + semester |
| 7210-7290 | Löner tjänstemän/företagsledare + semester |
| 7321-7332 | Traktamente + bilersättningar |
| 7381-7385 | Förmåner (bostad, kost, bil) |
| 7410-7460 | Pensionskostnader |
| 7510-7533 | Arbetsgivaravgifter + SLP |
| 7571-7699 | Försäkringar + övriga personalkostnader |
Standard monthly journal entries
- Gross salary: Debit 7210 / Credit 2710 (tax) + Credit 1930 (net pay)
- Employer avgifter: Debit 7510 / Credit 2730
- Vacation accrual: Debit 7290 / Credit 2920
- Avgifter on accrual: Debit 7519 / Credit 2940
- Pension premiums: Debit 7410 / Credit 2440/2740
- SLP on pensions: Debit 7533 / Credit 2514
Processing order for gross-to-net
bruttolöneavdrag → förmånsvärden (reduced by nettolöneavdrag) → tax base → skattetabell lookup → net pay → nettolöneavdrag → utbetalat belopp. Arbetsgivaravgifter calculated on gross after bruttolöneavdrag but before nettolöneavdrag.
Löneväxling factor
For every 1 SEK salary reduction: pension contribution = 1.058 SEK. Flag if post-reduction salary drops below ~56,087 SEK/month (8.07 × IBB / 12 for 2026).
F-skatt verification
A-skatt: withhold tax + pay avgifter. F-skatt: neither. FA-skatt: split. No F-skatt stated: withhold 30% + full avgifter. Verify via Skatteverket before first payment.
Rate update schedule
Rates shift annually with PBB, IBB, and SLR. Subscribe to Skatteverket's annual publications each December. Bilförmån formulas use SLR from November 30 of prior year (floor 0.50%). Kostförmån tied to PBB. Traktamente normalbelopp published annually. PBB 2027: SCB has calculated 59,600 SEK; not yet formally set by the government.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

