I have what I think is a POS step issue, but looking for ideas....
This order type:
{ "id":"EX72DAXEC2ZTJ", "labelKey":"com.clover.order.type.pick_up", "label":"To Go", "taxable":true, "isDefault":true, "filterCategories":false, "isHidden":false, "fee":0, "minOrderAmount":0, "maxOrderAmount":0, "maxRadius":0, "avgOrderTime":0, "hoursAvailable":"BUSINESS", "isDeleted":false, "systemOrderTypeId":"PICK-UP-TYPE" }
Results in orders with payments that look like this, including a taxRates element:
"payments": { "elements": [ ... "taxAmount": 299, ... "taxRates": { "elements": [ { "id": "S6QPJNZ253YGA", "paymentRef": { "id": "G5BBDPPZZGZGT" }, "name": "New Jersey Sales Tax", "rate": 662500, "isDefault": true, "taxableAmount": 4508, "taxAmount": 299 } ] } } ] },
This order type, with only one notable difference in isDefault:
{ "id":"Y4M8BG2RQBNXW", "labelKey":"com.clover.order.type.dine_in", "label":"Grubhub", "taxable":true, "isDefault":false, "filterCategories":false, "isHidden":false, "fee":0, "minOrderAmount":0, "maxOrderAmount":0, "maxRadius":0, "avgOrderTime":0, "hoursAvailable":"BUSINESS", "isDeleted":false, "systemOrderTypeId":"DINE-IN-TYPE" }
Results in payments with no taxRates element:
"payments": { ... "taxAmount": 132, ... } ] }
The structure of their order items is the same and they both include:
"taxRates": { "elements": [ { "id": "S6QPJNZ253YGA", "lineItemRef": { "id": "FJ2NPR6T5T80T" }, "name": "New Jersey Sales Tax", "rate": 662500, "isDefault": true } ]
isDefault at the order type seems to just be the default when entering new orders.
isDefault at the payment and order item level seem to confirm that the taxes are being applied correctly. From the docs: "payments[].taxRates[].isDefault Whether the tax rate was configued as a default tax rate at the time that the payment was created."
So...is there something that can be done via POS configuration to fix this??? Or is this just a quick of the API that the payments.taxRates element is unreliable?