Invoice

Enhanced invoice features

This bundle has the following features:

  • Automatic generation of a PDF with all contained timesheets
  • Configuration of a global language, which is used to format all invoices data (money, date, time).

You configure both settings via the global System > Settings screen or from the “Invoice settings” screen.

Automatic timesheet PDF

When creating a new invoice, another PDF will be created, which contains a summary grouped-by-project (on the first page) and the list of all contained timesheets (on the following pages).

The file can be downloaded on the invoice archive listing page, from the Timesheet action in the dropdown.

You could generate the same PDF using the export function in Kimai, but that requires manual steps:

  • changing to the export
  • filtering the exact same timesheets
  • creating the export
  • renaming the file to match the invoice

The used “export template” for this feature can be configured.

This feature needs to be activated by choosing an export template. By selecting the empty entry it can be deactivated again.

Data format language

In the core system of Kimai, you configure the language for an invoice via its template. Then this language is used for translations and also for the formatting of data.

This behavior might not be desired if you export invoice data e.g. to JSON and use that as input for further processing. Or if you translate your invoice to english for cross-country sales but still want to use your countries formats.

Without choosing a language the default behaviour is used.

Additional formats

This plugins ships renderer for other invoice template formats, such as:

  • JSON: with the file extension .json.twig
  • XML: with the file extension .xml.twig
  • PlainText: with the file extension .txt.twig

You can find pre-made templates for these renderer at https://github.com/kimai/invoice-templates/tree/main/data-transfer

Top