summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-22 20:01:43 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-22 20:01:43 +0200
commita11dc0aaf7f99e9b606cf1676a04027f4435c596 (patch)
tree1c89c21bf31c54b567dee741d03500f73f3a9691 /docs
parent3f07edf64f74cab68cb379e49841fdf6b24674e9 (diff)
downloadbokf-078c219e84d5fbd05b6f3a2e00d4aa367d7b1551.tar.gz
bokf-078c219e84d5fbd05b6f3a2e00d4aa367d7b1551.zip
reports: VAT report skips the momsomföring and imported closingsv0.1.65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/PROTOCOL.md5
-rw-r--r--docs/STATE.md5
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md
index a28ff21..75ae963 100644
--- a/docs/PROTOCOL.md
+++ b/docs/PROTOCOL.md
@@ -492,7 +492,10 @@ like the blankett; box 48 positive as filed) and returns `{"org_nr",
bytes are ISO-8859-1, so write them verbatim to a `.xml` file. Both cover
the whole fiscal year; the ledger's
period can be narrowed with `from`/`to`. `report.vat` returns `{"from","to","boxes":[{"box":"05","label":"...","amount_ore":...}],"note"}`.
-Rules sharing a box are summed into a single entry. `box 49` is the sum of
+Rules sharing a box are summed into a single entry. The momsomföring
+itself (any voucher with a row on 2650) and SIE-imported `"Stäng ..."` year
+closings are left out, so a period that includes its own VAT settlement
+still reports the underlying boxes. `box 49` is the sum of
the moms boxes (`10`,`11`,`12`,`30`,`31`,`32`,`48`,`60`,`61`,`62`), so box 48
is signed like the blankett (ingående moms negative); underlag boxes do not
change what is payable.
diff --git a/docs/STATE.md b/docs/STATE.md
index db68efd..639d594 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -96,6 +96,11 @@ unit tests and the docs consistency check.
accounts' IB sums to that instead of 0). Merged together with
`eff/imported-closings`, whose "Stäng" skip now applies only to
`sie_import` vouchers. `test_core` has `ib_carry` and `imported_closings`.
+- **Momsrapport (2026-09-22, merged to `main`, not deployed)**:
+ `report.vat` (and `report.vat_eskd`) skips the momsomföring (vouchers with
+ 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`.
- **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)