<@UKXE099NK> for something like this you could use...
# advancedpdf
m
@SalesSuite for something like this you could use one template and selectively show or hide subtotals using a custom field and Freemarker logic (
<#if...>
)