From bbdbb32c28a7b37da8caee60cd3756720fe88f4f Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Tue, 22 Sep 2026 21:53:13 +0200 Subject: reports: ignore IB rows on P&L accounts; bokfctl --dry-run Co-Authored-By: Claude Opus 5.5 --- docs/STATE.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index 5e9dc04..754bd9b 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -100,6 +100,13 @@ unit tests and the docs consistency check. a 2650 row) and SIE-imported `Stäng` closings. Makandra's 2025/26 report was all zeros because V107 (Momsdeklaration) and V109 were counted; the rules themselves were fine. `test_core` has `vat_settlement`. +- **IB rows on P&L accounts (2026-09-22, not deployed)**: after `v0.1.65`, + Makandra's 2026/27 `IB 1` (an agent's delta from 2026-09-18, computed + against the old IB rule) showed its balancing P&L rows as P&L opening + balances and double-counted aktiekapital (2081 −50 000, 1940 25 000). + Reports now ignore `IB` rows on P&L accounts; the aktiekapital double + needs the IB delta 2081 D / 1940 K 25 000 in 2026/27 (dry-run ok, awaiting + the owner). `bokfctl --dry-run` sets the request's `dry_run`. - **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) -- cgit v1.3