# Why an order's tax doesn't have catalog\_object\_id assigned?

**URL:** <https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119>\
**Category:** Questions\
**Tags:** orders-api\
**Created:** [July 30, 2021, 2:56pm UTC](https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119 "2021-07-30T14:56:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://developer.squareup.com/forums/u/Maciej)\
**Post date:** [July 30, 2021, 2:56pm UTC](https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119/1 "2021-07-30T14:56:35Z")

</div>

Hi,  
I’m seeking some information regarding the difference between two orders of one of ours customers.

The first one was closed at 2021-05-19 09:45:24 UTC. It had a “Hairline and Parting” line item with the GST tax assigned. We couldn’t find the _catalog\_object\_id_ property on it.  
[https://jsoneditoronline.org/#left=cloud.43c4027a14dc4f639327f2ec07701e0b](https://jsoneditoronline.org/#left=cloud.43c4027a14dc4f639327f2ec07701e0b)

The second one was closed at 2021-07-30 01:50:59 UTC. It also has a “Hairline and Parting” line item. It originates from the same catalogue (It has the same _catalog\_object\_id_), it had also GST tax assigned, but in opposition to the first, we could find the _catalog\_object\_id_ of the tax.  
[https://jsoneditoronline.org/#left=cloud.51b51b9c6fbc45279eba00321c8c3a3e](https://jsoneditoronline.org/#left=cloud.51b51b9c6fbc45279eba00321c8c3a3e)

And there is a question. Could you please inform us, why this first order doesn’t contain _catalog\_object\_id_ of the tax? Isn’t it some sort of a bug? Or maybe this tax was historically created explicitly on order without defining _catalog\_object\_id_? Basically, any information for “Why this order doesn’t have _catalog\_object\_id_” would benefit us.

Ps. We used your testing API (/explorer/square/orders-api/search-orders) for retrieving the data to make sure that it wasn’t a bug on our side.

I really appreciate any help you can provide.

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://developer.squareup.com/forums/u/Maciej)\
**Post date:** [August 11, 2021, 2:29pm UTC](https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119/2 "2021-08-11T14:29:57Z")

</div>

Hello, any update regarding the ticket?

---

<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:** [August 16, 2021, 9:40pm UTC](https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119/3 "2021-08-16T21:40:01Z")

</div>

👋 Thanks for bringing this to our attention, and you’re not crazy! This is a bug. The source of the discrepancy is that the carts originated from different clients. The one with the catalog\_object\_id came from a mobile client, whereas the one without it came from our web client. We are working on a fix. 🙂

---

<div class="post-metadata">

**Author:** ![Maciej](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Maciej](https://developer.squareup.com/forums/u/Maciej)\
**Post date:** [August 18, 2021, 11:20am UTC](https://developer.squareup.com/forums/t/why-an-orders-tax-doesnt-have-catalog-object-id-assigned/3119/4 "2021-08-18T11:20:38Z")

</div>

Hi, thanks for the response. I’ll be waiting for the updates 🙂
