This template tries to match the requirements of the DIN 5008 norm.
You can customize this template by overriding it to change variables and overriding blocks.
In your template you can change variables to adjust this template to your needs. Below is a list of possible variables with a brief explanation of their function.
Example for overriding a variable:
{% extends '@invoice/din5008-invoice.pdf.twig' %}
{% set accentColor = '#483D8B' %}
Sets url of the header logo.
Sets color for header background, table header font color and the color of the footer separator line.
Sets the used font family of the invoice. Please make sure that the font is available for mpdf. Refer to the officail Kimai documentation for more information.
Sets an introduction text that is displayed before the invoice positions.
Sets the sender address that is displayed in the address window.
Set if fold and hole marks are printed
If you need more advanced customization you can override the used blocks.
Example:
{% extends '@invoice/din5008-invoice.pdf.twig' %}
{% block invoice_styles %}
{{ parent() }}
<style type="text/css">
.header {
border-bottom: 5px solid #fff;
}
</style>
{% endblock %}