Invoiceplane: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
Add information on setting up cron task
Line 49: Line 49:


Invoices can be send directly while editing them. It is also possible to create a common mail template which can be reused. Go to ''Settings → Mail templates''. To configure a default mail template, go to ''Settings → System settings → Invoices''.
Invoices can be send directly while editing them. It is also possible to create a common mail template which can be reused. Go to ''Settings → Mail templates''. To configure a default mail template, go to ''Settings → System settings → Invoices''.
=== Recurring invoices ===
{{Note|Parts of this instruction and module are not yet stable and will be available in the upcoming NixOS 22.11 release.}}
See [https://wiki.invoiceplane.com/en/1.5/modules/recurring-invoices upstream documentation] on how to configure recurring. invoices. This feature requires a cron task setup which queries the Invoiceplane backend every few minutes. This can be configured with the Invoiceplane module as follows
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.invoiceplane.sites."localhost" = {
  cron.enable = true;
  cron.key = "1234";
};
</nowiki>}}
Replace the cron key value with the one given in the Invoiceplane administration web interface.


[[Category:Web Applications]]
[[Category:Web Applications]]