From 678d9a58be42c9375511c402642fd621029172c5 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sat, 19 Sep 2026 00:01:25 +0200 Subject: sru: INK2 report view in the TUI; voucher list tweaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sru.export now returns the emitted fields as ink2/ink2r/ink2s arrays plus from/to, so Rapporter -> Inkomstdeklaration (INK2/SRU) renders the declaration as a table with the official fältnamn before saving; unmapped accounts are listed in the view. The voucher list puts the verifikat id before the date, widens the column gaps and adds an inner margin. --- docs/PROTOCOL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index b864d10..20617db 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -405,7 +405,9 @@ via the official BAS ranges; INK2S takes the derived årets resultat and skatt plus `adjustments[]{code,amount_ore}` for manual tax adjustments and computes 7670/7770; INK2 carries 7104/7114 and the optional 8040-8045 flags. Non-zero accounts without a mapping abort with `INVALID_ARGS` -unless `ignore_unmapped:true`. +unless `ignore_unmapped:true`. The result also carries `from`/`to` and the +emitted whole-krona fields for display: `ink2[]`, `ink2r[]`, `ink2s[]` with +`{code,amount}`, plus `unmapped[]` when `ignore_unmapped` was used. `report.vat_eskd` builds Skatteverket's `eSKDUpload` Version 6.0 XML for the period ending at `to` (whole kronor, öre truncated -- cgit v1.3