在任意 TypingMind 聊天中启用 Swedish Sie Import Export,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。
技能加载技能"swedish-sie-import-export"
Claude Fable 5.1
一旦请求与技能匹配,模型就会自动加载 Swedish Sie Import Export。
兼容任何 AI 模型
AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Swedish Sie Import Export 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。
Deterministic reference for parsing, validating, generating, and troubleshooting SIE4 files.
SIE4 (Standard Import Export) is Sweden's universal accounting data interchange format. Tagged plain-text, one record per line, #LABEL prefix, space-delimited fields. .SE = export, .SI = import. Current spec: utgåva 4C (2025-08-06), which still allows only CP437 (#FORMAT PC8). SIE 5 is a separate XML format; this skill covers SIE 4.
Reference files
File
When to read
references/record-types.md
Every record label and its fields, the five subtypes (1, 2, 3, 4E, 4I), field format rules, verification example, series conventions, multi-year handling, record ordering, #KSUMMA
Detect the encoding before parsing.#FORMAT PC8 is unreliable: cloud programs declare PC8 and export UTF-8. Detection order in encoding.md; skip #KSUMMA unless CP437.
Check #FLAGGA.1 means the file has already been read in: don't import it.
Validate in order: structure → encoding → parsing → chart of accounts → balances → verifications → fiscal year boundaries → dimensions → KSUMMA (CP437 only). Checks and severities in validation-rules.md.
Diagnose before adjusting. Any difference (unbalanced #VER, IB/UB mismatch, non-zero IB on result accounts): keep the file untouched, report the exact difference, compare with the source ledger, fix the cause, re-export. A rättelsepost only when the books themselves are wrong, in the period the error is discovered.
Generating files: write CP437, every verification balanced and in ascending verno order per series, every account declared, #FLAGGA 0.
Never guess these
Situation
Why
What to do
The file's actual encoding
PC8 is declared even by UTF-8 exporters, and mojibake is silent
Run the detection order in encoding.md on the raw bytes
An unbalanced verification
The cause decides the fix; a balancing line hides a missing cost
Compare with the source voucher and re-export. Never add a balancing line
An IB/UB difference
IB must equal the previous year's UB (ÅRL 2:4 p.7)
Diagnose per account against the source. Never adjust the opening or a closed period undiagnosed
Resetting #FLAGGA to 0
It defeats the double-import guard (spec 7.4)
Confirm the vouchers are not in the target, and document why
VAT codes after an import
SIE carries no moms information
Configure them manually in the target system
The series to import into
Collisions create duplicate verification numbers
Remap to an unused series, document the mapping
Related skills
Question
Skill
SRU codes and the files sent to Skatteverket
swedish-sru-filing
BFL bookkeeping duties, verifikationer, archiving
swedish-accounting-compliance
The closing entries behind UB and next year's IB
swedish-year-end-closing
Moms codes and rules to configure after an import
swedish-vat
Project dimensions (#DIM 6 / #OBJEKT) in the books