summaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/STATE.md b/docs/STATE.md
index 8ba7ba6..97d0e8d 100644
--- a/docs/STATE.md
+++ b/docs/STATE.md
@@ -135,6 +135,19 @@ check.
voucher and stay in the list. Later: `bank_rule.*` pattern suggestions
and "skapa verifikat från transaktion". TUI screen **Bankavstämning**
under Bokföring.
+20. **Menu IA (2026-09-20)**: one top-level section per workflow domain
+ (Bokföring, Fakturering, Lön, …), Register owns master data, Rapporter
+ owns read-only output, Räkenskapsår its own, and a feature adds at most
+ one section. Sections stay stable; screens come and go inside them.
+21. **Invoicing (2026-09-20, design)**: `docs/INVOICING.md` is the chapter.
+ bokf owns invoices end to end: customer register, a global
+ always-increasing number series in `invoice_sequence` (start 17761),
+ `OCR = number + MOD10`, a one-page PDF reproducing the Google Sheets
+ original (Helvetica + Comfortaa outlines, no new deps), issue = number +
+ PDF attachment + voucher + link in one transaction, F5 preview of the
+ real PDF without consuming the number, and SMTP sending with the
+ password encrypted in the DB (AES-256-GCM, `BOKFD_SECRET_KEY`).
+ Implementation waves: schema v9 + PDF, SMTP, TUI (Fakturering).
## Pending decisions