Free shipping set to "320 kr" gives free shipping available if items in cart is 320kr+80kr(VAT 25%) order total 400kr
No problem there.
But I have a MOD to hide the flat rate option if free shipping is available.
However, if the cart items is above 320(included VAT, 256+64) the flat rate is removed

So if coustomer is trying to buy items between 320 and 400 kr(inlucded VAT) there is no shipping option available.
I use this method for hiding the flat rate: https://isenselabs.com/posts/free-shipp ... pencart-3x
I have tried playing around with order totals and the sort order of sub-total, VAT and shipping. Does not seem to make any diffrence.
The store VAT is based on the address of the shop, not customer billing/shipping address(if that could have some influence?).
If you would like to have a look: nya(dot)vattenfilterbutik(dot)se (no clickable link as I dont want the site do index from anywere at this point)
Sidenote: is there a way to have shipping cost after VAT in order total but still apply VAT to shipping? Would look better in cart.