I have made a document template in order to create invoices with invoicelines. In the document template, a section is included with the total amount and VAT amount. This section has to be placed on the bottom of the document in spite of the number of invoicelines. A footer is not an option because these are dynamic labels. Is there an other possibility to fix this?
If I understand you correctly, you are only passing one object to the document template? So not multiple pages of various invoices? If so, then why not use a footer? You can actually use dynamic labels in footers, it's just that you will need to pass a specific object to use in that footer so this wouldn't work if you had multiple pages of invoices with a template grid.