agentleFS
erp-mafiaerp-mafia/swedish-accounting-skills/.claude/skills/swedish-invoice-compliance/SKILL.md

swedish-invoice-compliance

Skill96 starsChanged 2 months agoMITView on GitHub

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.

2 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.