aboutsummaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 517e62a..5be11e7 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -86,8 +86,8 @@ server/protocol/ledger only.
SHA-256 verified, text inline), attach to an existing voucher (`^F`),
remove a link (`d` in the `f` picker) and link an inbox item to a voucher
(`k`).
-- Next backend milestone: **bokslut automation** vs **K2/SRU** (eSKD is
- done: `report.vat_eskd` + `s = spara eSKD` in the momsrapport).
+- Next backend milestone: **K2/SRU** (INK2/INK2R/INK2S + årsredovisning);
+ bokslut.post is done server-side, its TUI screen pending.
- 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).
@@ -96,9 +96,13 @@ server/protocol/ledger only.
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).
+2. Bokslut automation: `bokslut.post` is in (entries/avskrivningar,
+ periodiseringsfond, skatt at a given rate, resultatdisposition, dry-run
+ plan, audited) and the resultatrapport separates bokslutsdispositioner
+ and skatt per K2. TUI screen still to do.
+3. K2 årsredovisning document; ~~SRU files (INK2/INK2R/INK2S)~~ done as
+ `sru.export` (official 2025P4 field tables, BAS mapping, TUI save in
+ Rapporter -> Inkomstdeklaration).
4. `audit.verify` must also verify the **voucher** hash chain (today only the
audit chain is verified).
5. ~~`report.general_ledger` and `report.voucher_list`~~ implemented
@@ -113,6 +117,10 @@ server/protocol/ledger only.
9. Password change, user disable, TOTP.
10. Bank import/reconciliation (CSV first, then PSD2), invoicing/reskontra,
AGI/payroll if employees.
+11a. Imported history years whose SIE contains the source's P&L closings
+ ("Stäng intäktskonton/kostnadskonton") net to zero in the income
+ statement (Kapitas 2022-2026). The importer should skip those closing
+ verifications (keeping the resultatdisposition) or mark them; decide.
11. ~~SIE import only into an empty fiscal year; consider broader import.~~
Chronological multi-year import works (CRLF, `#RAR 0`, zero rows, `#IB`
rule handled); each year must still target an empty fiscal year. Note: