aboutsummaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index f481524..7f90303 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -110,6 +110,17 @@ unit tests and the docs consistency check.
exactly on the filed 2025/26 UB; only öre diffs remain in history (2512
1,63, 2099 1,07, moms 0,56). 2021/22 was reopened for V 25 and must be
closed again by the owner.
+- **Whole-krona rounding (2026-09-22, not deployed)**: the SRU export and
+ the TUI årsredovisning round every account to whole kronor
+ (`util_round_kr`) and sum those, so their lines, totals and INK2 fields
+ agree to the krona (the SRU export used to truncate each field, the
+ årsredovisning rounded each line). The balance sheet's rounding krona goes
+ to Balanserat resultat / 7302, and 2099 is replaced by the year's result
+ in both. The årsredovisning's "Stäng" skip never matched (`strncmp` with 7
+ bytes for the 6-byte "Stäng"), so imported years showed a zero result; it
+ now follows the server rule (SIE-imported only) via the new `source` field
+ on `report.general_ledger` rows. The total "Summa eget kapital,
+ avsättningar och skulder" no longer counts 2099 on top of the result.
- **Mail configuration**: Makandra AB (org 2) has **no** `smtp_*` settings
in bokf, so `invoice.send` there is `SMTP_NOT_CONFIGURED` (fine if
invoices are sent elsewhere — set them up when wanted). Mock AB (org 1)