From 251eb8c54c77029f0b43aa987ea50c44016147f3 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Fri, 18 Sep 2026 21:35:10 +0200 Subject: eskd: generate the momsdeklaration file (eSKDUpload 6.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit report.vat_eskd builds the ISO-8859-1 XML from report.vat: whole kronor with öre truncated like the blankett, box 48 positive as filed, MomsBetala computed from the whole-krona boxes, and an optional upplysning converted from UTF-8, XML-escaped and capped at 300 characters. The TUI momsrapport gains "s = spara eSKD", prompting for a path and writing the bytes verbatim. Verified against the FY2027 Kapitas report: 05=703200, 10=175800, 20=1453, 30=851, 48=1030, 49=175621. --- docs/COMPLIANCE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/COMPLIANCE.md') diff --git a/docs/COMPLIANCE.md b/docs/COMPLIANCE.md index a152cd4..abc6247 100644 --- a/docs/COMPLIANCE.md +++ b/docs/COMPLIANCE.md @@ -153,7 +153,8 @@ approval by any authority — none exists. 1. Ledger core + protocol + CLI + TUI (MVP). 2. SIE round-trip test suite and migration dry-run against files exported from Fortnox/Visma/BL. -3. eSKD file for momsdeklaration; AGI file for payroll. +3. ~~eSKD file for momsdeklaration~~ (`report.vat_eskd`, upload in + Skatteverket's e-service); AGI file for payroll. 4. K2 årsredovisning document generation + SRU files for INK2. 5. Invoicing and reskontra; bank import (CSV, then PSD2). 6. Peppol e-invoicing, if still relevant when it is due. -- cgit v1.3