Swedish accounting compliance

From erp-mafia/swedish-accounting-skills · View interactive version

Swedish accounting compliance is an AI agent skill from the GitHub repository erp-mafia/swedish-accounting-skills. Swedish accounting law and compliance reference for developers building accounting software. Use this skill whenever working on features that touch Swedish bookkeeping rules, tax compliance, chart of accounts, financial reporting, or regulatory requirements. Triggers include any mention of BFL, BFNA

How to use this skill

Skill file

<!-- SPDX-License-Identifier: MIT; Copyright (c) Accounted contributors. Generated mirror; edit the Accounted source. -->

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)

Verifikationer (BFL 5 kap 6-7§)

A verifikation must contain:

  1. Datum för affärshändelsen
  2. Datum för verifikationen (if different)
  3. Vad affärshändelsen avser (description)
  4. Belopp
  5. Motpart (when applicable)
  6. References to underlag (kvitto, faktura etc.)
  7. 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, and it must be recorded when the rättelse was made and who made it. You can never silently overwrite. BFL permits two tracks:

  1. Särskild rättelsepost (storno + correcting verifikation referencing the original): always allowed, and the only track once the period is closed or locked or lies behind the company's lock date. A filed VAT or AGI declaration restricts neither track: while the period is open, both stay available, and Accounted shows every change to a filed period so the declaration gets corrected.
  2. Rättelse in the same verifikat (strike-and-replace of lines, or correcting the verifikation's text/date per BFL 5 kap 9 §): allowed while the period is open and unlocked, provided the original remains readable (struck lines stay visible) and who/when is recorded immutably. Fortnox and Visma implement this track; in Accounted it is the correct_entry_metadata / correct_entry_lines_inline RPC envelope logging to journal_entry_rattelse_log.

A correction path that erases the original without a trace violates the law under both tracks.

Arkivering (BFL 7 kap)

Momssatser (current as of 2026)

IMPORTANT: From 1 April 2026, livsmedel drops from 12% to 6% (tillfälligt, Prop. 2025/26:55). Restaurang/servering stays at 12%. The reversion to 12% from 1 Jan 2028 is already enacted (SFS 2026:119). Software must handle both dates.

Fakturakrav (ML 17 kap)

A momsregistrerad seller's faktura must contain:

  1. Utfärdandedatum
  2. Löpnummer (unique, unbroken series)
  3. Säljarens momsregistreringsnummer
  4. Köparens momsregistreringsnummer (if reverse charge or EU)
  5. Säljarens och köparens namn och adress
  6. Varans/tjänstens art, omfattning, mängd
  7. Datum för leverans/tillhandahållande
  8. Beskattningsunderlag per skattesats
  9. Tillämpad skattesats
  10. Momsbelopp
  11. Eventuell hänvisning till undantag

Förenklad faktura (max 4000 SEK inkl moms) has reduced requirements.

Key thresholds (2026)

System documentation (BFL 5 kap 11 §, BFNAR 2013:2 kap 9)

Bokföringssystem must have (kapitel 8 is arkivering; this is kapitel 9, verified against BFN's consolidated text 2026-08-21):

  1. Systemdokumentation (p. 9.2-9.15): kontoplan, samlingsplan, arkivplan, verifikationsnummerserier, verifieringskedjor, behandlingsregler, informationsflöden
  2. Behandlingshistorik (p. 9.16): every bokföringspost with registreringsdatum, and changes to the system that affect processing (kontoplan, behandlingsregler such as automatkonteringar and percentages, program versions) with dates; p. 9.15 asks the systemdokumentation to say where and how it is produced

Your software must produce or support both. This is not optional.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.