does anybody know of a way to detect whether tax t...
# advancedpdf
a
does anybody know of a way to detect whether tax total is just 'Tax Total' (e.g. US sales tax) vs 'GST/HST' (for Canada tax) within freemarker? or do i just need to use a combination of country/subsidiary to detect?
found a Suiteanswers article that just uses currency to detect, guess i'll use that
bah currency really doesn't work, going to have to be by subsidiary i think
c
Shouldnt you be able to detect the type of tax the tax code is using?
For CA GST is distinct from PST / QST so you should be good on that subtotal
a
Yeah I was sort of hoping that the taxtotal vs tax2total labels would show properly but they don't. I'm using nexuscountry now to detect it which I think is best
c
tax2total is always PST
We suspect it was created to benefit Avalara in the early days of NS
a
Oh interesting
I think taxtotal was the real culprit now that you mention it
c
anyway the sum is coming from the calculation and its derived from the tax item which itself has a tax type
check the Tax Type on the code and the simple name may reveal what you want
and for people reading this its applicable to Legacy Tax. I believe SuiteTax still subtotals by tax type