Files
accounted/lib
Jakob Wennberg 6c79f21679 fix: INK2 rounding tolerance and clearer warnings (#197)
* fix: add rounding tolerance to INK2 balance check and clarify warnings

INK2/SRU rounds each ruta independently to whole kronor, so with 11+
rutor the accumulated rounding can produce a 1-2 kr difference that
triggered a false "balance sheet not in balance" warning. Add a 2 kr
tolerance. Also clarify the unclosed fiscal year warning to indicate
that generation still works.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: also warn when equity/liabilities exist but assets are zero

Address Greptile review feedback — the balance check guard should
trigger when either side has a non-zero total, not only when assets > 0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 17:04:48 +02:00
..
2026-03-21 00:47:54 +01:00
2026-02-24 16:06:36 +01:00
2026-02-23 19:05:16 +01:00
2026-04-07 10:30:20 +02:00
2026-02-23 19:05:16 +01:00
2026-02-24 10:02:13 +01:00
2026-02-13 14:00:46 +01:00