diff options
Diffstat (limited to 'docs/PROTOCOL.md')
| -rw-r--r-- | docs/PROTOCOL.md | 6 |
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 |
