When we export to PDF or Print Preview any quote, invoice or purchase order none of the following values appear:
${Invoices.Sub Total}
${Invoices.Tax}
${Invoices.Grand Total}
This is even in default templates never modified by us as purchase orders.
This worked for more than a year and we didn't change anything for this to happen