Mismatch in Sales Generated via API when compared to Shopify Reports

Hi,

I’m trying to get the total sales via API but I can find a difference when compared to the Shopify Reports data,

While the number of orders remains the same, there’s a difference in sales.

Can anyone help me understand what am I doing wrong?

I’ve also subtracted the refund value from transactions but still, there’s a difference.

I’ve also read a few other questions regarding the same but didn’t get any solution

Links to similar posts
https://stackoverflow.com/questions/63031868/calculate-gross-sales-using-shopify-api

https://stackoverflow.com/questions/68874989/shopify-api-get-total-returns-refunds

https://community.shopify.com/c/shopify-apis-and-sdks/is-there-any-way-to-find-total-sales-through-order-api/m-p/695530

2 Likes

Same issue here, did anybody found a solution?