summaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-18 22:16:32 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-18 22:16:32 +0200
commite9fc91dbc8314a25a0d71b7ee4344d3fc4ccfd5e (patch)
treed5c14087df9db17c63b5be5cada4f11592c493b3 /docs/STATE.md
parent251eb8c54c77029f0b43aa987ea50c44016147f3 (diff)
downloadbokf-e9fc91dbc8314a25a0d71b7ee4344d3fc4ccfd5e.tar.gz
bokf-e9fc91dbc8314a25a0d71b7ee4344d3fc4ccfd5e.zip
attachments: link/unlink from the TUI, multi-voucher linksv0.1.29
The voucher detail can attach a file to an existing voucher (^F) and the underlag picker (f) can remove a link (d, confirmed). The Underlag inbox links a highlighted item to a voucher picked from a list (k). attachment.link and attachment.unlink are new write commands (dry-run, audited); unlinked files return to the inbox. The same content may now link to several vouchers — only the same voucher/attachment pair is a CONFLICT, matching the table's primary key.
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 0e5d36e..517e62a 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -82,10 +82,10 @@ server/protocol/ledger only.
## Pending decisions
-- Link attachments after posting (API already supports
- `attachment.put {voucher_id}`): proposed TUI actions — `Ctrl+F` in the
- voucher detail to upload+link, and selecting an inbox item and pressing a
- key to link it to a voucher picked from a list. Waiting for a go-ahead.
+- Attachments are complete: download (voucher detail `f`, Underlag `Enter`,
+ SHA-256 verified, text inline), attach to an existing voucher (`^F`),
+ remove a link (`d` in the `f` picker) and link an inbox item to a voucher
+ (`k`).
- Next backend milestone: **bokslut automation** vs **K2/SRU** (eSKD is
done: `report.vat_eskd` + `s = spara eSKD` in the momsrapport).
- Moms `report_rules` seed is a corrected starter mapping (schema v3), but