From be220f2b3e902f76cfded32c0abc7492f21d149f Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 16:13:13 +0200 Subject: tui: fakturering with invoice form, preview and send --- docs/PROTOCOL.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/PROTOCOL.md') diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 9789fc6..0f9b8e7 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -674,6 +674,20 @@ commands. Implemented screens (0.1.0-dev): against vouchers on the bank account, with suggestions; Enter matches the suggested voucher (or picks another), `u` unmatches, `a`/`Ctrl+N` imports a SEB CSV. Phase 1 never books anything. +- **Fakturor** — invoice list (`invoice.list`, newest first) with number, + date, customer, total and status (`utfärdad`/`krediterad`). Ctrl+N opens + the form, Enter the detail. The form has the customer picker, invoice/due + (due defaults from the customer's payment days) and delivery dates, er/var + referens and rows (beskrivning, antal, enhet, à-pris, moms, anm); `F5` + previews the real PDF (`invoice.preview`, nothing stored, no number + consumed), `Ctrl+Enter` issues (`invoice.issue`) and then asks + "Skicka faktura till ?". The detail shows header and rows; + `p` fetches the stored PDF (`invoice.pdf`) and `s` sends it + (`invoice.send`). +- **Kunder** — the customer register (name, address, postal code, city, VAT + number, e-mail, your reference, payment days, notes). Ctrl+N creates, + Enter edits (F5 validates with a dry run, Ctrl+Enter saves), `d` + archives/reactivates. - **Rapporter** — saldobalans, resultaträkning, balansräkning, moms, inkomstdeklaration (INK2/SRU), årsredovisning (K2 text draft) and kontolista (all accounts with type, moms treatment, SRU and status). -- cgit v1.3