Hi @Bryan-Square , I wasn’t sure if I should open another issue or continue on this one, but the thing that we found, based on our prior experience, might be related to the Apportioned Services topic.
Recently, we stopped using the workaround described above, as Square seems to resolve the issue and now properly return the catalog_object_id
of taxes when the sale is related to the appointment services.
Unfortunately, after making this shift, we started notice some occurrences of missing catalog_object_id
in some orders, potentially related to appointment services, even though, the majority of the orders returns the catalog_object_id
.
For example, based on this order:
{
"id": "5bbpUZKTM8jyT0VMxJkQkMpeV",
"location_id": "LFQ21VWDKFHA2",
"line_items": [
{
"uid": "baeb396d-4c4f-4a95-a5f1-a5b2b36d7bd4",
"catalog_object_id": "FE4H7WQ6HOTCR4O74AI7Y6PG",
"catalog_version": 1631443425453,
"quantity": "1",
"name": "264.14 - GS - FULL CLIP and Wash",
"variation_name": "Regular",
"base_price_money": {
"amount": 9000,
"currency": "AUD"
},
"gross_sales_money": {
"amount": 9000,
"currency": "AUD"
},
"total_tax_money": {
"amount": 818,
"currency": "AUD"
},
"total_discount_money": {
"amount": 0,
"currency": "AUD"
},
"total_money": {
"amount": 9000,
"currency": "AUD"
},
"variation_total_price_money": {
"amount": 9000,
"currency": "AUD"
},
"applied_taxes": [
{
"uid": "3521d169-f574-41f0-b7df-46db181190b1",
"tax_uid": "c75a229a-5afe-4e09-aa47-9e41819f7c5f",
"applied_money": {
"amount": 818,
"currency": "AUD"
}
}
],
"item_type": "ITEM"
}
],
"taxes": [
{
"uid": "c75a229a-5afe-4e09-aa47-9e41819f7c5f",
"name": "GST",
"percentage": "10",
"type": "INCLUSIVE",
"applied_money": {
"amount": 818,
"currency": "AUD"
},
"scope": "LINE_ITEM"
}
],
"created_at": "2021-09-23T04:19:46Z",
"updated_at": "2021-09-23T04:19:46Z",
"state": "COMPLETED",
"total_tax_money": {
"amount": 818,
"currency": "AUD"
},
"total_discount_money": {
"amount": 0,
"currency": "AUD"
},
"total_tip_money": {
"amount": 0,
"currency": "AUD"
},
"total_money": {
"amount": 9000,
"currency": "AUD"
},
"closed_at": "2021-09-23T04:19:46Z",
"tenders": [
{
"id": "LdWNQSRu6BvRtMqjxnx2XDxouaB",
"location_id": "LFQ21VWDKFHA2",
"transaction_id": "5bbpUZKTM8jyT0VMxJkQkMpeV",
"created_at": "2021-09-23T04:19:44Z",
"amount_money": {
"amount": 9000,
"currency": "AUD"
},
"processing_fee_money": {
"amount": 198,
"currency": "AUD"
},
"customer_id": "H1B1Y5R7714SD6X08AGZTH8PKG",
"type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "3660",
"fingerprint": "sq-1-E4SnuqE8c1xyFJ4HOCd-Z3INRMcCblqP3zF_Ez3_uWyHOpQJ6zhMcgQEp7CUt7Fq8g"
},
"entry_method": "KEYED"
},
"tip_money": {
"amount": 0,
"currency": "AUD"
}
}
],
"total_service_charge_money": {
"amount": 0,
"currency": "AUD"
},
"return_amounts": {
"total_money": {
"amount": 0,
"currency": "AUD"
},
"tax_money": {
"amount": 0,
"currency": "AUD"
},
"discount_money": {
"amount": 0,
"currency": "AUD"
},
"tip_money": {
"amount": 0,
"currency": "AUD"
},
"service_charge_money": {
"amount": 0,
"currency": "AUD"
}
},
"net_amounts": {
"total_money": {
"amount": 9000,
"currency": "AUD"
},
"tax_money": {
"amount": 818,
"currency": "AUD"
},
"discount_money": {
"amount": 0,
"currency": "AUD"
},
"tip_money": {
"amount": 0,
"currency": "AUD"
},
"service_charge_money": {
"amount": 0,
"currency": "AUD"
}
},
"customer_id": "H1B1Y5R7714SD6X08AGZTH8PKG"
}
We can see that the taxes
array is missing the catalog_object_id
, when similar orders like YwCnODosEGgbtZe2rMDybX1eV
, created, according to the customer, in the same source, properly includes the property.
Might I know what is the key factor that decides whether the order will have the catalog_object_id
or not? Is it something that can be fixed/adjusted by Square, or the workaround will still be required?
Thank you.