- 🇨🇦Canada mastap
In Canada the regulation states that taxes are calculated on the SUM of ALL the items that are taxable.
Which means that you don't assign tax to items, nor to line items.You simply add up ALL the amounts (product, services and shipping) that are taxable for a said tax code.
THEN you calculate the taxe on this sub total.
Then you round at THIS level.
that's it. done. you have the legal amount to tax