# Gross value is not matching with the sum of gross\_sales\_money

**URL:** <https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016>\
**Category:** Questions\
**Tags:** orders-api\
**Created:** [March 27, 2024, 4:14pm UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016 "2024-03-27T16:14:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mangnted](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mangnted](https://developer.squareup.com/forums/u/mangnted)\
**Post date:** [March 27, 2024, 4:14pm UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016/1 "2024-03-27T16:14:21Z")

</div>

Hi, I am trying to the the similar value as in report dashboard.

For Gross Sales the values was not matching.  
Date: 2024-03-26  
In dashboard: 2460.55  
From API: 2453.80

I am using this filter for orders search API

```auto
{ location_ids: ["ABCD"],
  query: {
     filter: {
        date_time_filter: {
             closed_at: {
                 start_at: "2024-03-26T00:00:00-07:00",
                 end_at: "2024-03-26T23:59:59-07:00"
             }
        }
     }
 },
  return_entries: false
}

```

Any idea on how to get the same value?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [March 27, 2024, 4:15pm UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016/2 "2024-03-27T16:15:10Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Search Orders](https://developer.squareup.com/docs/orders-api/manage-orders/search-orders)**
>
> Learn about searching orders, how filtering and sorting works, and about filtering orders by a time range.

[https://developer.squareup.com/docs/orders-api/how-it-works](https://developer.squareup.com/docs/orders-api/how-it-works)

> **Additional Documentation**
>
> [https://developer.squareup.com/docs/build-basics/common-data-types/working-with-dates](https://developer.squareup.com/docs/build-basics/common-data-types/working-with-dates)  
> [https://developer.squareup.com/docs/devtools/seller-dashboard](https://developer.squareup.com/docs/devtools/seller-dashboard)  
> [https://developer.squareup.com/docs/get-started/view-log](https://developer.squareup.com/docs/get-started/view-log)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![mangnted](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mangnted](https://developer.squareup.com/forums/u/mangnted)\
**Post date:** [April 1, 2024, 9:44am UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016/3 "2024-04-01T09:44:40Z")

</div>

Can you point out how to debug the issue? I have tried to match the timeframe but the result was not match. Others fields like Discounts, Tips seems to be matched.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 1, 2024, 4:20pm UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016/4 "2024-04-01T16:20:59Z")

</div>

What’s the `location_id`? 🙂

---

<div class="post-metadata">

**Author:** ![mangnted](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mangnted](https://developer.squareup.com/forums/u/mangnted)\
**Post date:** [April 2, 2024, 6:45am UTC](https://developer.squareup.com/forums/t/gross-value-is-not-matching-with-the-sum-of-gross-sales-money/14016/5 "2024-04-02T06:45:05Z")

</div>

Here’s the Location ID: L86JTNWFKC5PN
