I can't find any reference to tax in the atomicOrder API, and it doesn't seem to handle tax the same way as the older order APIs.
Specifically, when passed the following basic info:
{ "orderCart": { "lineItems": [ { "quantity": 1, "item": { "id": "8SFWVR7Z3CNW0", "name": "Avo Go Go" } } ], "groupLineItems": true } }
It creates the order, but it is adding the tax amount to the Order Total rather than treating it as a standard inclusive VAT.
https://sandbox.dev.clover.com/r/3ZYH51H69KEJ2
How can I make this cater for tax properly?
Are there any differences in approach required for the US, Canada and the EU/GB?