aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 15:59:06 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 15:59:06 +0200
commit079f780e0a4d014dbb89d5976a3084a957b9e50d (patch)
tree7cac9eac315c52dbea416ed26a15fc8c770eedc8
parent67363129286674cd6845960646891b4a23fc928c (diff)
downloadbokf-079f780e0a4d014dbb89d5976a3084a957b9e50d.tar.gz
bokf-079f780e0a4d014dbb89d5976a3084a957b9e50d.zip
docs: document the invoice_our_ref setting
-rw-r--r--docs/PROTOCOL.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md
index 95c2369..9789fc6 100644
--- a/docs/PROTOCOL.md
+++ b/docs/PROTOCOL.md
@@ -372,7 +372,7 @@ resolved rows in a dry run.
| Command | Args | Notes |
|---|---|---|
| `settings.get` | — | effective org settings (defaults included); secret values replaced by `_set` flags |
-| `settings.set` | `key`, `value?` | known keys: `default_series`, `attachment_dir`, `bank_account`, `invoice_receivable_account`, `invoice_revenue_account`, `smtp_host`, `smtp_port`, `smtp_user`, `smtp_from`, `smtp_reply_to`, `smtp_security`, `smtp_password` |
+| `settings.set` | `key`, `value?` | known keys: `default_series`, `attachment_dir`, `bank_account`, `invoice_receivable_account`, `invoice_revenue_account`, `invoice_bankgiro`, `invoice_our_ref`, `smtp_host`, `smtp_port`, `smtp_user`, `smtp_from`, `smtp_reply_to`, `smtp_security`, `smtp_password` |
`default_series` (1–8 characters, e.g. `A`, `V-`, `A `) is used when
`voucher.post` carries no `series` and as the default series for new
@@ -627,7 +627,9 @@ is the idempotency key).
supports `dry_run`, which validates and renders but takes no number and
writes nothing. `invoice.pdf` returns the stored document as base64
(`JVBERi0` after decoding is the PDF magic). When the setting
-`invoice_bankgiro` is present it is printed in the document's Bankgiro field.
+`invoice_bankgiro` is present it is printed in the document's Bankgiro field;
+`invoice_our_ref` (up to 64 characters) prefills the invoice form's "Vår
+referens".
`invoice.send` mails the stored PDF to the customer's `email` (or the `to`
override) with subject `Faktura <number>` and a Swedish body. It needs the