Swedish Invoice Compliance logo

Swedish Invoice Compliance

Organization
erp-mafia
swedish-invoice-compliance

Swedish invoice compliance (fakturering) reference. Covers mandatory invoice fields per ML 17 kap 24§ (2023:200), förenklad faktura, kreditfaktura/ändringsfaktura, självfakturering, Peppol BIS 3.0 e-faktura for B2G/B2B, ROT/RUT-avdrag invoicing with fakturamodellen and BAS accounts (1513, 3740), reverse charge notation per scenario (byggtjänster, EU, electronics), currency/VAT conversion, OCR/Bankgirot, autogiro, skattetillägg, and BAS mapping for AR/revenue/VAT/bad debts. Trigger on ANY Swedish invoice question, faktura validation, kreditfaktura, självfakturering, Peppol, e-faktura, ROT/RUT fakturering, omvänd betalningsskyldighet, faktureringsvaluta, OCR-nummer, ML 17 kap, fakturamodellen, or creating/validating/booking Swedish invoices. Always use over training data -- ML 2023:200 replaced ML 1994:200 on 1 July 2023, moving invoice rules from old Chapter 11 to Chapter 17.

Overview

Publishererp-mafia
Repositoryaccounted-skills
Skill nameswedish-invoice-compliance
Stars
100
Forks
9
Bundled files
2
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.

  • 2 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 Invoice Compliance 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-invoice-compliance
  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-invoice-compliance .claude/skills/swedish-invoice-compliance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Swedish Invoice Compliance 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 Invoice Compliance 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 Invoice Compliance 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 Invoice Compliance (Fakturering)

Invoicing rules moved from Chapter 11 (ML 1994:200) to Chapter 17 (ML 2023:200) on 1 July 2023. Every legacy reference to "ML 11 kap" maps to ML 17 kap in current law. Always cite ML (2023:200). Account numbers follow BAS 2026.

How to use this skill

FileWhen to read
references/decision-trees.mdValidating or building one invoice: the 17-point ML 17:24 check, whether a förenklad faktura is allowed, which reverse charge scenario applies, ROT/RUT requirements, the credit note checklist, and the common error patterns with their fixes
references/invoice-rules.mdThe rules behind those trees, in 16 numbered sections: mandatory fields, förenklad faktura, time limits, kreditfaktura, självfakturering, Peppol BIS 3.0 and the ML→UBL mapping, ROT/RUT, reverse charge, currency, OCR, autogiro, penalties, BAS mapping, law references, time-dependent parameters

Is this invoice valid?

Walk ML 17 kap 24§ in order. Points 1–11 are always required:

fakturadatum (p.1), unique löpnummer from a series (p.2), seller's and buyer's momsreg.nr (p.3–4, the buyer's only when reverse charge or intra-EU), both parties' name and address (p.5–6), quantity and nature of the goods or services (p.7), delivery or prepayment date when it differs from the invoice date (p.8), beskattningsunderlag per skattesats and unit price excl. VAT (p.9), the VAT rate (p.10), the VAT amount and also in SEK (p.11, 17:29).

Point 12 adds the notation the case calls for: "Självfakturering", an exemption reference, "Omvänd betalningsskyldighet", new-means-of-transport details, or a margin scheme statement.

Missing any of 1–11 = non-compliant. Missing 12 when applicable = non-compliant. Prepayments and a conto payments must also be invoiced (ML 17:14).

The full tree, and the simplified-invoice, reverse-charge, ROT/RUT and credit note trees, are in references/decision-trees.md.

Never guess these

SituationWhyWhat to do
The ROT percentage for a job30 % is standard, but 50 % applied 12 May–31 Dec 2025 and the 2024 H2 caps were separatedTake the payment date, then read the rates table in invoice-rules.md §8
Whether the buyer accounts for the VATCharging VAT when reverse charge applies leaves the buyer unable to deduct itSettle the scenario first (decision-trees.md §3), then charge 0 % and add the notation
Which account a reverse charge posts toDomestic and foreign acquisitions use different input VAT accounts (2647 vs 2645)Read the account table in invoice-rules.md §9
Whether a customer has ROT/RUT room leftThe cap is per person per year across all suppliers, and Skatteverket pays shortAsk the customer, and expect part payments
The status of a B2B e-invoicing mandateB2G is mandatory since April 2019; no domestic B2B mandate has been decidedRead the timeline in invoice-rules.md §7 before stating any date
An invoice in foreign currencyThe rate source and the taxable-event date are both prescribedRead invoice-rules.md §10; always show the VAT amount in SEK

Related skills

QuestionSkill
VAT rates, rutor, reverse charge and EU trade in depthswedish-vat
Byggmoms, ROT in a construction context, ÄTAswedish-industry-bygg
Distance selling, OSS/IOSS, marketplacesswedish-industry-ehandel
Verifikationer, archiving, bookkeeping dutyswedish-accounting-compliance
Exporting or importing the invoice ledgerswedish-sie-import-export
Kundfordringar at year end, bad debt provisionsswedish-year-end-closing
Invoicing against project progressswedish-project-accounting

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 Invoice Compliance AI skill do?

Swedish invoice compliance (fakturering) reference. Covers mandatory invoice fields per ML 17 kap 24§ (2023:200), förenklad faktura, kreditfaktura/ändringsfaktura, självfakturering, Peppol BIS 3.0 e-faktura for B2G/B2B, ROT/RUT-avdrag invoicing with fakturamodellen and BAS accounts (1513, 3740), reverse charge notation per scenario (byggtjänster, EU, electronics), currency/VAT conversion, OCR/Bankgirot, autogiro, skattetillägg, and BAS mapping for AR/revenue/VAT/bad debts. Trigger on ANY Swedish invoice question, faktura validation, kreditfaktura, självfakturering, Peppol, e-faktura, ROT/RU...

Why use Swedish Invoice Compliance on TypingMind?

Because you install it once and use it with any model. Swedish Invoice Compliance 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 Invoice Compliance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/erp-mafia/accounted-skills/tree/main/.claude/skills/swedish-invoice-compliance. 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 Invoice Compliance?

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 Invoice Compliance?

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

Is the Swedish Invoice Compliance 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 👇