Swedish Ef Skatteplanering logo

Swedish Ef Skatteplanering

Organization
erp-mafia
swedish-ef-skatteplanering

Swedish tax planning for enskild firma (sole proprietorship). Covers aktiv vs passiv näringsverksamhet (egenavgifter 28,97% vs SLP 24,26%), räntefördelning (IL 33 kap, positiv SLR+6, negativ SLR+1, kapitalunderlag, sparat fördelningsbelopp), periodiseringsfond EF (30%, no schablonintäkt), expansionsfond (IL 34 kap, 20,6%, 125,94% tak), ersättningsfond (IL 31 kap), kvittning underskott (IL 62:3, 100k cap), inkomstuppdelning familj (IL 60 kap, medhjälpande make), ackumulerad inkomst (IL 66 kap), egenavgifter/SGI/PGI, pensionssparavdrag, EF-vs-AB breakeven. Trigger on enskild firma skatteplanering, näringsidkare, räntefördelning, expansionsfond, ersättningsfond, aktiv/passiv näringsverksamhet, kvittning underskott näring, inkomstuppdelning familj, ackumulerad inkomst, EF vs AB, NE-bilaga, sparat fördelningsbelopp, kapitalunderlag, expansionsskatt, medhjälpande make. For AB use swedish-tax-planning. Always use over training data.

Overview

Publishererp-mafia
Repositoryaccounted-skills
Skill nameswedish-ef-skatteplanering
Stars
100
Forks
9
Bundled files
11
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by erp-mafia on GitHub. Read the source before you install it.

Installation

Install the Swedish Ef Skatteplanering AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/erp-mafia/accounted-skills/tree/main/.claude/skills/swedish-ef-skatteplanering
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/erp-mafia/accounted-skills.git /tmp/accounted-skills
mkdir -p .claude/skills
cp -r /tmp/accounted-skills/.claude/skills/swedish-ef-skatteplanering .claude/skills/swedish-ef-skatteplanering
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Swedish Ef Skatteplanering in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Swedish Ef Skatteplanering on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Swedish Ef Skatteplanering is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Swedish Tax Planning for Enskild Firma (Skatteplanering EF)

Tax planning for enskild näringsverksamhet (sole proprietorship): the instruments a physical person running a business directly can use, and how they interact. EF is taxed on the owner's Inkomstdeklaration 1 + NE-bilaga at marginal rates including egenavgifter; an AB pays bolagsskatt and the owner separately — for AB planning use swedish-tax-planning.

This page routes. Rules, rates and worked examples live in references/; read the file before answering anything numeric.

Reference files

FileWhen to read
references/rates-and-thresholds.mdAny rate or belopp, per inkomstår; legal sources
references/ne-bilaga-fields.mdNE-bilaga R11–R48, and what is booked vs declaration-only
references/aktiv-passiv-naringsverksamhet.mdAktivitetsregeln, huvudsaklighetsregeln, konsekvenser
references/rantefordelning-planning.mdIL 33 kap, kapitalunderlag, breakeven, sparat fördelningsbelopp
references/periodiseringsfond-expansionsfond-ef.mdP-fond EF, expansionsfond IL 34 kap, beräkningsordning, planeringshorisont, skatteflykt
references/ersattningsfond.mdIL 31 kap, fyra fondtyper, utbytestillgångar, återföring
references/inkomstuppdelning-familj.mdIL 60 kap, medhjälpande make, gemensam verksamhet, lön till barn
references/kvittning-underskott.mdIL 62:3, nystartad, kulturarbetare, slutligt underskott
references/ackumulerad-inkomst.mdIL 66 kap, fördelningstid, spärregler, pensionssparavdrag
references/egenavgifter-sgi-pgi-jsa.mdEgenavgifter, nedsättningar, SGI, PGI, jobbskatteavdrag
references/ef-vs-ab-breakeven.mdMarginalskatt, brytpunkter, när EF→AB lönar sig

Decision procedure

Step 1 — aktiv or passiv? Decides egenavgifter vs SLP, SGI and PGI (only aktiv gives sjukpenning- och pensionsrätt), jobbskatteavdrag, pensionssparavdrag and kvittning mot tjänst (aktiv + nystartad). The tests are cumulative, any one suffices:

  • Aktivitetsregeln (tredjedelsregeln): own work > one-third of full-time, ≥ 500 h/year
  • Huvudsaklighetsregeln: at a consultant + fastighet split, the smaller verksamhet pulls into aktiv if criteria met
  • Skogsägare: RÅ 2002 ref 15 — own labor counts even at low hours

Consequence table and rättsfall: [[aktiv-passiv-naringsverksamhet]].

Step 2 — kapitalunderlag. Tillgångar minus skulder: previous year's utgång for räntefördelning, current year's for expansionsfondens tak. Compute it even when räntefördelning is unused — it carries forward as sparat fördelningsbelopp.

Step 3 — year-end sequence.

  1. Avskrivningar på inventarier — huvudregel vs kompletteringsregel, choose lowest
  2. Räntefördelning — positiv only if SLR+6 yields net benefit (often NOT for pensionärer or below brytpunkt; [[rantefordelning-planning]])
  3. Periodiseringsfond — up to 30% of skattemässig vinst, no schablonintäkt for fysiska personer
  4. Expansionsfond — low-tax retention at 20,6%; only if kapitalunderlag supports it
  5. Egenavgifter schablonavdrag — 25% standard, 10% pensionärer, 20% SLP

The order matters: avskrivningar reduce result, then räntefördelning operates on that, then P-fond cap is 30% of (result after räntefördelning + återföring P-fond +/- expansionsfond), and expansionsfond may not exceed kapitalunderlag tak.

The few rates needed here

Egenavgifter aktiv (7 karensdagar) 28,97 % vs SLP passiv 24,26 %; räntefördelning inkomstår 2026 positiv (SLR + 6 pp) 8,55 %, negativ (SLR + 1 pp) 3,55 %.

Every other figure and every other year — nedsättningar, RF-gränsbelopp, expansionsfondsskatt, P-fond-tak, avskrivningsprocent, PBB/IBB, SGI/PGI-tak, brytpunkter — lives in references/rates-and-thresholds.md. Verify annually.

Never guess these

SituationWhyWhat to do
Which inkomstår is meantRF-räntan, PBB/IBB and brytpunkterna change yearly, and the 2025 reform moved RF-gränsbeloppenAsk the inkomstår before quoting a rate
Hours the owner worksDecides aktiv vs passiv, and with it egenavgifter, SGI, PGI, JSA and kvittningsrättenAsk hours per year and what the work is
KapitalunderlagetOnly varaktiga tillskott count, and RF uses last year's utgång, expansionsfond this year'sAsk for the balance sheet at that date
Whether the verksamhet is nystartadKvittning mot tjänst works the first 5 years only, aktiv NV only, and likartad verksamhet in the 5 preceding years spoils itAsk the start year and what the owner did before
The owner's birth yearPensionsåldersgränsen (66 år 2025, 67 år 2026) and årgång 1937 change the egenavgiftenAsk the birth year, not whether they are a pensionär

Related skills

Out of scope here — use the sister skill.

QuestionSkill
Bokslutsmekanik för EF (förenklat årsbokslut, K1)swedish-year-end-closing, references/k1-forenklat-arsbokslut.md
Specifika bokföringskonton för transaktionerswedish-accounting-compliance
Moms-frågorswedish-vat
Lön till anställda i EFswedish-payroll
Faktureringsreglerswedish-invoice-compliance
AB-specifik skatteplaneringswedish-tax-planning

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Swedish Ef Skatteplanering AI skill do?

Swedish tax planning for enskild firma (sole proprietorship). Covers aktiv vs passiv näringsverksamhet (egenavgifter 28,97% vs SLP 24,26%), räntefördelning (IL 33 kap, positiv SLR+6, negativ SLR+1, kapitalunderlag, sparat fördelningsbelopp), periodiseringsfond EF (30%, no schablonintäkt), expansionsfond (IL 34 kap, 20,6%, 125,94% tak), ersättningsfond (IL 31 kap), kvittning underskott (IL 62:3, 100k cap), inkomstuppdelning familj (IL 60 kap, medhjälpande make), ackumulerad inkomst (IL 66 kap), egenavgifter/SGI/PGI, pensionssparavdrag, EF-vs-AB breakeven. Trigger on enskild firma skatteplane...

Why use Swedish Ef Skatteplanering on TypingMind?

Because you install it once and use it with any model. Swedish Ef Skatteplanering is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Swedish Ef Skatteplanering in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/erp-mafia/accounted-skills/tree/main/.claude/skills/swedish-ef-skatteplanering. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Swedish Ef Skatteplanering?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Swedish Ef Skatteplanering?

As many as you like. As long as a model supports skills, you can use Swedish Ef Skatteplanering with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Swedish Ef Skatteplanering AI skill free?

Yes. It is published on GitHub by erp-mafia under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇