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

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.

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.

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: