diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-18 21:35:10 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-18 21:35:10 +0200 |
| commit | 251eb8c54c77029f0b43aa987ea50c44016147f3 (patch) | |
| tree | 2bf4284ce2daab191d48579a6c5a84882060d398 /docs/STATE.md | |
| parent | 64c0d5d79b31dafcbdb68ff938a92bd6f136d4a7 (diff) | |
| download | bokf-251eb8c54c77029f0b43aa987ea50c44016147f3.tar.gz bokf-251eb8c54c77029f0b43aa987ea50c44016147f3.zip | |
eskd: generate the momsdeklaration file (eSKDUpload 6.0)v0.1.28
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.
Diffstat (limited to 'docs/STATE.md')
| -rw-r--r-- | docs/STATE.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/STATE.md b/docs/STATE.md index b158de8..0e5d36e 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -86,15 +86,16 @@ server/protocol/ledger only. `attachment.put {voucher_id}`): proposed TUI actions — `Ctrl+F` in the voucher detail to upload+link, and selecting an inbox item and pressing a key to link it to a voucher picked from a list. Waiting for a go-ahead. -- Priority between **eSKD moms filing** and **bokslut/K2+SRU** for the next - backend milestone (eSKD was suggested first). +- Next backend milestone: **bokslut automation** vs **K2/SRU** (eSKD is + done: `report.vat_eskd` + `s = spara eSKD` in the momsrapport). - Moms `report_rules` seed is a corrected starter mapping (schema v3), but there is still no command/TUI to edit rules per org; add one before filing if the mapping needs adjustments (SCHEMA.md §10 promises owner editing). ## Backlog (prioritized, from COMPLIANCE.md §10 and the audit) -1. eSKD file generation for momsdeklaration. +1. ~~eSKD file generation for momsdeklaration.~~ `report.vat_eskd` (eSKDUpload + 6.0, ISO-8859-1, whole kronor) with a save action in the TUI momsrapport. 2. Bokslut automation (avskrivningar, periodiseringsfond, skatt, resultatdisposition). 3. K2 årsredovisning document + SRU files (INK2/INK2R/INK2S). |
