Same service charge appearing twice in an order
Hello,
I ran into a case where the same service charge was applied to a check twice (json payload below - service charge guid is 75dc1d65-1a6c-497c-9b5a-8ca2c615b9aa). I have not been able to reproduce this myself through the emulator. Is this an expected outcome or is this a bug? If this is expected, how can I test applying the same service charge twice to a single check?
'appliedServiceCharges': [{'appliedTaxes': [{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': 'ae5e58db-7c60-4e76-9804-a02ac7bb12e2',
'name': 'CA COUNTY '
'TAX',
'rate': 0.0025,
'taxAmount': 0.0,
'taxRate': {'entityType': 'TaxRate',
'guid': '67b00ea5-1ae7-41e7-94e4-098d0382d119'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': 'a0927596-8c51-4f5a-904f-93d050c5a0a8',
'name': 'CA STATE '
'TAX',
'rate': 0.06,
'taxAmount': 0.06,
'taxRate': {'entityType': 'TaxRate',
'guid': '9e39a723-6a5c-435e-bd3c-6e49a2f816ed'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '73c94f0b-a40f-4ae7-a22d-bb129a1063b4',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01375,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '75019218-8068-460a-9f2f-09da740b4b24'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '6b8d60ef-efed-46dc-8d65-22ee9766dd17',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '69d79191-00ec-4aee-a919-8ac5056f0362'},
'type': 'PERCENT'}],
'chargeAmount': 0.98,
'chargeType': 'PERCENT',
'delivery': False,
'dineIn': False,
'entityType': 'AppliedServiceCharge',
'externalId': None,
'gratuity': False,
'guid': '33143110-38e8-47f9-ba48-a734c924d687',
'name': '**** SF Surcharge',
'refundDetails': None,
'serviceCharge': {'entityType': 'ServiceCharge',
'externalId': None,
'guid': '7314e6c3-8b94-43f6-b846-a990bbd70ca5'},
'serviceChargeCalculation': 'PRE_DISCOUNT',
'takeout': False,
'taxable': True},
{'appliedTaxes': [{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '41319beb-9058-4fd1-ac65-c02d1dcabe6e',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '69d79191-00ec-4aee-a919-8ac5056f0362'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '111feb9e-a377-4397-a85c-b409e3c7b0ff',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01375,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '75019218-8068-460a-9f2f-09da740b4b24'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': 'dc0aabf9-afeb-4926-ad82-5278971687b8',
'name': 'CA STATE '
'TAX',
'rate': 0.06,
'taxAmount': 0.06,
'taxRate': {'entityType': 'TaxRate',
'guid': '9e39a723-6a5c-435e-bd3c-6e49a2f816ed'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '89d51f88-2499-4759-8875-4e378c5a583e',
'name': 'CA COUNTY '
'TAX',
'rate': 0.0025,
'taxAmount': 0.0,
'taxRate': {'entityType': 'TaxRate',
'guid': '67b00ea5-1ae7-41e7-94e4-098d0382d119'},
'type': 'PERCENT'}],
'chargeAmount': 0.98,
'chargeType': 'PERCENT',
'delivery': False,
'dineIn': False,
'entityType': 'AppliedServiceCharge',
'externalId': None,
'gratuity': False,
'guid': '221cd521-bc29-4d14-abe2-2b5a85909e16',
'name': 'SF Surcharge',
'refundDetails': None,
'serviceCharge': {'entityType': 'ServiceCharge',
'externalId': None,
'guid': '75dc1d65-1a6c-497c-9b5a-8ca2c615b9aa'},
'serviceChargeCalculation': 'PRE_DISCOUNT',
'takeout': False,
'taxable': True},
{'appliedTaxes': [{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '16aeb806-19ca-4c1e-9b7d-e3161ce1ad7a',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01375,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '75019218-8068-460a-9f2f-09da740b4b24'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '67403798-70cd-4aea-83d2-7a54f3b6da52',
'name': 'CA COUNTY '
'TAX',
'rate': 0.0025,
'taxAmount': 0.0,
'taxRate': {'entityType': 'TaxRate',
'guid': '67b00ea5-1ae7-41e7-94e4-098d0382d119'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': 'd431a879-2a73-4375-808f-3a5d61ccf01b',
'name': 'CA STATE '
'TAX',
'rate': 0.06,
'taxAmount': 0.06,
'taxRate': {'entityType': 'TaxRate',
'guid': '9e39a723-6a5c-435e-bd3c-6e49a2f816ed'},
'type': 'PERCENT'},
{'entityType': 'AppliedTaxRate',
'facilitatorCollectAndRemitTax': False,
'guid': '67b3e5da-d972-4a14-ac54-aaecc4ec2881',
'name': 'CA SPECIAL '
'TAX',
'rate': 0.01,
'taxAmount': 0.01,
'taxRate': {'entityType': 'TaxRate',
'guid': '69d79191-00ec-4aee-a919-8ac5056f0362'},
'type': 'PERCENT'}],
'chargeAmount': 0.98,
'chargeType': 'PERCENT',
'delivery': False,
'dineIn': False,
'entityType': 'AppliedServiceCharge',
'externalId': None,
'gratuity': False,
'guid': '79c1828d-d312-4ddd-a77f-17714f940d14',
'name': 'SF Surcharge',
'refundDetails': None,
'serviceCharge': {'entityType': 'ServiceCharge',
'externalId': None,
'guid': '75dc1d65-1a6c-497c-9b5a-8ca2c615b9aa'},
'serviceChargeCalculation': 'PRE_DISCOUNT',
'takeout': False,
'taxable': True}],
-
Hi Jake,
This order was submitted into Toast via an Online Ordering Partner through our Orders API. Based on the Check Update History, the server updated the order on the POS to add the duplicate service charges.
This is unexpected behavior, but this is outside the knowledge of the DevRelation team and is more of an internal Toast issue not related to our APIs. If this situation is causing issues for the customer, can you please contact our General Toast Support team by calling the team at (617) 682-0225. That team will be able to investigate the cause of the duplicate service charges.
Best,John
0
Please sign in to leave a comment.
Comments
1 comment