From 1e2ef668ff1274273ba3433421366ef39ab0af01 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 15:25:27 +0200 Subject: invoice: allow setting the bankgiro, document wave 1 --- docs/STATE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index 428bb79..8c6eaa3 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -148,6 +148,16 @@ check. 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). + **Wave 1 done 2026-09-20**: schema v9 (`customers`, `invoice_sequence`, + `invoices`, `invoice_rows`, widened `vouchers.source` with a table + rebuild), the PDF renderer (`src/invoice.c`, 2.2 % raw pixel diff vs the + Google Sheets original — all structure exact; only Arial-vs-Helvetica + glyphs differ), and `customer.*`, `invoice.sequence_get/set`, + `invoice.preview/issue/list/get/pdf`. Issue is atomic: number + PDF + attachment + voucher (D 1510/K 3xxx+26xx, `source:"invoice"`) + links. + Settings `invoice_receivable_account`, `invoice_revenue_account`, + `invoice_bankgiro`. **Open detail: invoice 1 (Andrabygg) carries a Swish + QR image — decide whether the generator should support one.** ## Pending decisions -- cgit v1.3