Why an order's tax doesn't have catalog_object_id assigned?

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

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

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.

Hello, any update regarding the ticket?

:wave: 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. :slightly_smiling_face:

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