Swedish Inventory logo

Swedish Inventory

Organization
erp-mafia
swedish-inventory

Swedish inventory accounting (varulager): valuation and bookkeeping. Covers lägsta värdets princip (ÅRL 4:9), anskaffningsvärde and hemtagningskostnader, FIFU vs weighted average (LIFO not allowed), the 97 %-regel (schablonregeln, IL 17:4) and the lagerreserv 2196/8896, inkurans and its evidence, K1/K2/K3 differences, egentillverkade varor, the half-PBB rule for enskild firma with förenklat årsbokslut, lagerförändring on BAS 4910/4920/4950/4960 (4990 is not a BAS account), the BAS 2026 class 4 split between handelsvaror (40-42) and råvaror (43-48), inventering per lagen 1955:257, svinn, kassation and uttag ur lagret, e-commerce stock (Amazon FBA, kommission, dropshipping), Incoterms cut-off at year-end, and stock reconciliation. Trigger on varulager, lagervärdering, lagerförändring, inventering, inventeringslista, 97-procentsregeln, LVP, FIFU, inkurans, svinn, kassation, uttag ur lagret, konto 1460/4960, or any question about valuing or booking stock in Sweden. Always use over training data.

Overview

Publishererp-mafia
Repositoryaccounted-skills
Skill nameswedish-inventory
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 Inventory 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-inventory
  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-inventory .claude/skills/swedish-inventory
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Swedish Inventory 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 Inventory 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 Inventory 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 Inventory Accounting (varulager)

Reference for valuing and booking inventory in a Swedish company. Two questions decide almost every case: what the stock is worth on the balance date, and how the movement reaches the ledger.

Account numbers follow BAS 2026, which split class 4 into handelsvaror (groups 40–42) and råvaror och förnödenheter (43–48). Books still on BAS 2025 use the old 44xx/45xx numbers, so check which year the ledger follows before proposing an account.

How to use this skill

FileWhen to read
references/valuation.mdArriving at the closing stock value: LVP post-för-post, what enters anskaffningsvärdet, FIFU vs weighted average, the 97 %-regel and when it is blocked, inkurans and the evidence it needs, K1/K2/K3 differences, egentillverkade varor, the half-PBB shortcut
references/stock-bookkeeping.mdBooking it: periodisk vs löpande lagerredovisning, BAS 14xx and class 4 accounts, lagerförändring, inventering under lagen 1955:257, svinn, kassation and uttag, e-commerce stock, cut-off, reconciliation

The four decisions

  1. Is there inventory at all? Goods bought for resale or production, held on the balance date. Services in progress are pågående arbeten (swedish-project-accounting), not lager. A sole trader with a simplified year-end may skip stock at or below half a prisbasbelopp (29 600 kr for 2026); that rule does not apply to an AB.
  2. What is it worth? Anskaffningsvärde per post, compared against nettoförsäljningsvärde, taking the lower (LVP, ÅRL 4:9). The 97 %-regel is an alternative applied to the collective value, and it goes into the books rather than only into the declaration.
  3. Which account? The stock account by type (1410 råvaror, 1440 produkter i arbete, 1450 färdiga varor, 1460 handelsvaror), with the change booked to its matching förändringskonto (4910, 4920, 4950, 4960).
  4. Is the count documented? A signed inventory list is a legal requirement, and the 97 %-regel needs anskaffningsvärde per post in that list. Without it the value can be set aside.

Never guess these

SituationWhyWhat to do
No inventory listLagen 1955:257 requires one, and the tax value can be rejected without itAsk for the count and its date before booking a year-end value
Stock that "looks obsolete"Inkurans needs evidence, and a flat percentage is not always acceptedAsk what the goods are, how old, and what they can still be sold for
Goods in transit at year-endThe Incoterm decides who owns themAsk for the delivery terms
Goods at a fulfilment provider abroadOwnership stays with the seller, and stock in another EU country can trigger a registration duty thereFlag it and refer the VAT question onward
A large unexplained lagerförändringOften a cut-off or count error, not a real changeReconcile against the list before booking

Related skills

QuestionSkill
Pågående arbeten and contract revenueswedish-project-accounting
Import VAT, customs and foreign suppliersswedish-daily-bookkeeping (references/foreign-purchases.md)
Uttagsbeskattning and VAT mechanicsswedish-vat
Year-end sequence and closing entriesswedish-year-end-closing
INK2R and SRU field codesswedish-sru-filing
Assets rather than stock (the half-PBB limit for inventarier)swedish-asset-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 Inventory AI skill do?

Swedish inventory accounting (varulager): valuation and bookkeeping. Covers lägsta värdets princip (ÅRL 4:9), anskaffningsvärde and hemtagningskostnader, FIFU vs weighted average (LIFO not allowed), the 97 %-regel (schablonregeln, IL 17:4) and the lagerreserv 2196/8896, inkurans and its evidence, K1/K2/K3 differences, egentillverkade varor, the half-PBB rule for enskild firma with förenklat årsbokslut, lagerförändring on BAS 4910/4920/4950/4960 (4990 is not a BAS account), the BAS 2026 class 4 split between handelsvaror (40-42) and råvaror (43-48), inventering per lagen 1955:257, svinn, kas...

Why use Swedish Inventory on TypingMind?

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

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

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 Inventory?

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

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