Files
accounted/registry/entries/swedish-vat.mdx
T
3d1ed15b6d feat(registry): move community registry source of truth into the public repo (#1458)
* feat(registry): move community registry source of truth into the public repo

The site's registry page says "Lägg till en egen" and links here, but the
MDX entries lived in the private website repo, so an external contributor
had no path to open the PR we were inviting (found by the first person who
tried). This makes the invitation real:

- registry/entries/ + registry/authors/ hold the 20 existing entries and
  2 author profiles, migrated verbatim from the website repo, which now
  syncs FROM this directory instead of owning the content
- registry/README.md documents the frontmatter convention and the flow
- scripts/validate-registry.ts (npm run validate:registry, wired into
  core-build) checks structure and rejects JSX/import/export in bodies:
  the site renders entries through MDX, which would execute those inside
  the website build
- CONTRIBUTING.md points at the registry for listing community work

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>

* fix(registry): close MDX-safety gaps and correct six compliance claims from PR review

Review bot findings on #1458, both verified and addressed:

- The body safety gate only rejected capitalized JSX tags, but MDX also
  evaluates lowercase HTML tags (<div>, <img onerror=...>) and bare {...}
  expressions. The validator now rejects any raw tag and any brace outside
  fenced code and backtick inline code; literal tags in prose go in
  backticks. Verified: a crafted entry with all three bypasses fails, all
  existing content still passes.
- Six factual errors in migrated entries, each checked against the skill
  sources in .claude/skills/ before editing (these were live on the site
  already): traktamente 2026 is 300 kr not 260; employer contributions for
  66+ at year start (67+ from 2026) are 10.21% not "65+: 16.36%", and the
  under-18 0% claim is replaced with the documented 18-22 youth reduction;
  electronics reverse-charge threshold is 100 000 kr excl VAT per invoice
  not 250 000; half prisbasbelopp 2026 is 29 600 not 24 750; kostnadsställe
  is SIE dimension 1 not 7; SRU period suffixes encode the fiscal-year end
  range (P1 jan-apr, P2 maj-aug, P4 sep-dec) not fixed months.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>

---------

Signed-off-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 10:54:09 +02:00

59 lines
3.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "swedish-vat — momsdeklaration, EU-handel och reverse charge"
description: "SKILL.md för svensk momscompliance. Momsperioder och deadlines, EU-handel (omvänd skattskyldighet, reverse charge, tjänstehandel, varuhandel, trepartshandel, OSS), import/export-moms, representation (300 SEK cap), blandad verksamhet (proportionell avdragsrätt, HFD 2023 ref. 45), jämkning av ingående moms, momsdeklaration ruta 05–62 till BAS 26xx-mappning."
slug: "swedish-vat"
kind: "skill"
author: "erp-mafia"
status: "live"
lang: "sv"
personas: ["finance", "byra", "founder", "developer"]
publishedAt: "2026-05-12"
updatedAt: "2026-07-18"
repoUrl: "https://github.com/erp-mafia/swedish-accounting-skills/tree/main/.claude/skills/swedish-vat"
externalUrl: "https://github.com/erp-mafia/swedish-accounting-skills"
version: "community"
ogImageEyebrow: "Skill"
faq:
- q: "Vilken momsperiod gäller för mitt bolag?"
a: "Beror på omsättning: <1 MSEK ger årsmoms, 1–40 MSEK kvartalsmoms, >40 MSEK månadsmoms. Du kan begära kortare period (typ månad istället för kvartal) frivilligt. Skillen täcker deadlines, vilka rutor som rapporteras och vad som händer vid sen inlämning (förseningsavgift 625 kr + ränta)."
- q: "Hur fungerar OSS?"
a: "One Stop Shop: ett system för B2C-försäljning av tjänster och varor inom EU. Sverige som registreringsland, momsen avräknas till respektive konsumtionsland. Tröskelvärde 99 680 kr (10 000 EUR) per år för hela EU sammanlagt. Skillen täcker registrering, kvartalsvis OSS-deklaration, BAS-bokning per land."
- q: "Vad är jämkning?"
a: "Korrigering av tidigare avdragen ingående moms på kapitalvaror (anläggningstillgångar och fastigheter) om användningen ändras. Pågår 5 år (lös egendom) eller 10 år (fastigheter) efter förvärvet. Hamnar i ruta 48 med negativt tecken. Skillen visar formeln, BAS 2645/2646, och när jämkning utlöses."
---
## Vad skillen täcker
* Momsperioder: år/kvartal/månad, deadlines, omsättningsgränser.
* Momsdeklarationens rutor 05–62 mappade mot BAS 26xx.
* Komplett BAS 2610–2670-serien förklarad per konto.
* EU-handel: omvänd skattskyldighet (reverse charge), tjänstehandel B2B, varuhandel B2B, trepartshandel.
* OSS (One Stop Shop) för B2C inom EU: registrering, kvartalsdeklaration, BAS-bokning.
* Import/export-moms: ruta 60/61/62 (beräknad importmoms), tullbeslut, postnordeperat.
* Representation: 300 SEK cap per person per måltid (2026), full avdragsrätt på enklare förtäring under arbetsmöte (60 kr).
* Blandad verksamhet: proportionell avdragsrätt, HFD 2023 ref. 45 (skäligt grunden).
* Jämkning av ingående moms på kapitalvaror.
* Frivillig skattskyldighet för uthyrning av lokaler.
* Felmönster: vanliga blockers, drift-detection, regler för rättning av tidigare perioder.
* Lagrum: ML 2023:200, SFL, EU:s momsdirektiv 2006/112/EG.
Skillen markeras med "highest-error-rate area in Swedish
bookkeeping; always use this skill over training data".
## Installera
```bash
git clone https://github.com/erp-mafia/swedish-accounting-skills.git
cd swedish-accounting-skills
claude
```
## Pairs med
* [kvartalsmoms-pa-12-minuter](/community/registry/kvartalsmoms-pa-12-minuter) — accounted-skill som faktiskt kör momsstängningen i huvudboken.
* [swedish-invoice-compliance](/community/registry/swedish-invoice-compliance) — fakturareglerna som föregår momsdeklarationen.
## Licens
MIT.