Frequently asked questions about printed document templates

What parameters can be defined independently for sales document?

Sales documents, i.e. VAT invoices, pro forma forms and sales receipts, can be customized in the same way as printed documents. Templates for each type of document can be found in the section ‘’’MODERATION / Printed documents’’’.

In addition, the edition of the most common parameters of sales documents is in the '' ‘MODERATION / Printed documents’’ section and is fully reflected in the default sales document templates. There you can also edit:

  • language of printed documents - for each store separately,
  • numbering and prefixes for sales documents,
  • which columns will be displayed on sales documents,
  • way of grouping items on invoices,
  • the ability to print comments to the order on a sales confirmation document,
  • the logo that appears on the invoice,
  • additional texts on sales documents,.

Which font should I use in own document templates (HTML) to correctly display diacritics on PDF documents?

Currently, in order to display correctly diacritics on a PDF document, use the font "DejaVu Sans" in the HTML document template.

The PDF document generated from the list of products / orders is incorrect or contains only one of the items marked on the list.

In order for the PDF document generated from the list of products / orders to be in the correct form, do not include the following tags in the HTML document template: <!DOCTYPE>, <html>, <head>, <body>.

The generated PDF document has an incorrect table (shifted rows or columns) or the data in it overlaps.

In order for the generated PDF document to have a valid table, the <tbody> and <thead> tags should not be used in the HTML code.

The generated PDF document has no page numbering.

For your document to have page numbering, add the following HTML code to the template at the beginning:

    #footer { font-family: DejaVu Sans, sans-serif; height: 15px; }
    #footer .page { text-align: right; font-size: 12px; }
    #footer .page:after { content: counter(page); }
    <div id="footer">
    <p class="page"></p>

This is the page number node code, which is also included in the default templates. You can also modify the template to include elements contained in this block.