Can we get the amount with tax on each line item?

I would calculate it, but unfortunately in the discounts allocations I get discounts of removed items, and no way of telling if they are from removed items or not other than manually checking.

Hey @Edhem_NJORKA

You can get the tax amount for each line item using the taxLines field on LineItem objects.

Here’s what you’d query for:

lineItems {
  nodes {
    originalUnitPriceSet {
      shopMoney { amount }
    }
    taxLines {
      priceSet {
        shopMoney { amount }
      }
    }
  }
}