Install
$ agentstack add skill-erp-mafia-swedish-accounting-skills-swedish-accounting-compliance ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Swedish Accounting Compliance
Developer-facing compliance reference for building Swedish accounting software. This skill answers questions about what the law requires 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 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/bfl-bfnar.md | Questions about bokföringslagen (BFL), BFNAR, K1/K2/K3, ÅRL, bokföringsskyldighet, verifikationer, arkivering, räkenskapsår, systemdokumentation | | references/skatteverket.md | Questions about moms/VAT, arbetsgivaravgifter, skattedeklaration, F-skatt, skattekonto, Skatteverket API integration, AGI | | references/bas-kontoplan.md | Questions about BAS chart of accounts, account numbering, account classification, mapping transactions to accounts | | references/sie4.md | Questions about SIE file format, import/export, data exchange between systems | | references/changes-2025-2026.md | Questions about recent or upcoming regulatory changes, new rules, updated amounts/thresholds |
Read multiple reference files when a question spans domains (common).
Core principles (always in context)
Bokföringsskyldighet (BFL 2 kap)
Every aktiebolag, handelsbolag, and ekonomisk förening is bokföringsskyldigt. Enskild firma with fysisk person is bokföringsskyldig. The obligation cannot be delegated: even if someone else does the bokföring, the företagare is legally responsible.
Löpande bokföring (BFL 5 kap)
- Affärshändelser shall be bokförda in both grundbok (journal) and huvudbok (ledger)
- Kontanta in/utbetalningar: senast nästa arbetsdag
- Övriga affärshändelser: so snart det kan ske, which in practice means within the calendar month following the month the event occurred
- Every affärshändelse requires a verifikation
Verifikationer (BFL 5 kap 6-7§)
A verifikation must contain:
- Datum för affärshändelsen
- Datum för verifikationen (if different)
- Vad affärshändelsen avser (description)
- Belopp
- Motpart (when applicable)
- References to underlag (kvitto, faktura etc.)
- Verifikationsnummer (unique, in unbroken series per räkenskapsår)
Verifikationer must be numbered in a systematisk serie without gaps. If a verifikation is corrected, the original must be preserved and the correction linked.
Rättelse (BFL 5 kap 5§)
A rättelse of a bokföringspost must be documented so that both the original and the corrected post are visible. You cannot simply overwrite. Implement as: new correcting verifikation referencing the original.
Arkivering (BFL 7 kap)
- Räkenskapsinformation must be preserved for 7 years after the end of the calendar year the räkenskapsår ended
- Since 1 July 2024: no requirement to keep paper originals after digitization (BFL 7 kap 6§ updated)
- Digital storage must ensure the information cannot be altered (immutability requirement)
- Must be accessible in Sweden (or within EU/EEA with Skatteverket notification)
Momssatser (current as of 2026)
- 25% - standard rate (most goods and services)
- 12% - food/restaurants, hotels, some cultural events
- 6% - books, newspapers, public transport, cultural/sports events, livsmedel (temporarily from 1 April 2026 to 31 Dec 2027)
- 0% - certain financial services, healthcare, education, insurance
IMPORTANT: From 1 April 2026, livsmedel drops from 12% to 6% (tillfälligt, Prop. 2025/26:55). Restaurang/servering stays at 12%. Software must handle the transition date and the eventual reversion.
Fakturakrav (ML 17 kap)
A momsregistrerad seller's faktura must contain:
- Utfärdandedatum
- Löpnummer (unique, unbroken series)
- Säljarens momsregistreringsnummer
- Köparens momsregistreringsnummer (if reverse charge or EU)
- Säljarens och köparens namn och adress
- Varans/tjänstens art, omfattning, mängd
- Datum för leverans/tillhandahållande
- Beskattningsunderlag per skattesats
- Tillämpad skattesats
- Momsbelopp
- Eventuell hänvisning till undantag
Förenklad faktura (max 4000 SEK inkl moms) has reduced requirements.
Key thresholds (2026)
- Prisbasbelopp: 59 200 kr
- Inkomstbasbelopp: 83 400 kr
- Inventarier av mindre värde: halvt prisbasbelopp = 29 600 kr (exkl moms)
- Förenklat årsbokslut: omsättning normalt 3 anställda, >1.5 MSEK balansomslutning, >3 MSEK nettoomsättning (two consecutive years)
System documentation (BFNAR 2013:2 kap 8)
Bokföringssystem must have:
- Systemdokumentation: describes the system, how it works, its controls
- Behandlingshistorik: log of changes, who did what, when
Your software must produce or support both. This is not optional.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: erp-mafia
- Source: erp-mafia/swedish-accounting-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.