How can I display the Total under Amount in the Print Form Template? In the DocumentForm, the Total uses FooterDataPath = Object.InvoiceListDetail.TotalAmount.
totals from the first screenshot are not connected with the totals from the third screenshot. Actually, when printing forms, the totals are calculated by a separate function. You can see how to implement it in some ready-made document, for example, in Sales Invoice or SalesOrder.