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/PROTOCOL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/PROTOCOL.md') diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 75ae963..0b69d53 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -454,8 +454,9 @@ All reports are pure reads, respect locks, and return JSON rows. Amounts are öre. IB (ingående balans) for a balance account (asset, liability, equity) is all earlier history, including earlier years' `IB` vouchers, plus this year's `IB` vouchers; a P&L account (revenue, expense) restarts at zero at -every fiscal-year start, so its IB is only this year's `IB` vouchers and, -with a narrowed `from`, the year's movements before it. +every fiscal-year start, so its IB is only, with a narrowed `from`, the +year's movements before it; `IB` rows on P&L accounts (the balancing side of +an opening-balance adjustment) are ignored. `report.income_statement` (and therefore `sru.export` and the TUI resultatrapport) ignores the source system's `"Stäng ..."` closing vouchers in SIE-imported years (`source:"sie_import"`), where the P&L accounts are -- cgit v1.3