We have tried two approaches for this - both of them are having issues.
Approach #1 -
We have used a custom line item to represent delivery charge.
But for custom line items, clover seems to apply service charge which result in incorrect total price for the order. Because we don't want service charge to be applied for a delivery charge.
>>>>>>>>>>>>>>>>>>>>
Approach #2 -
We have created a TaxRate which is a flat tax amount to represent the delivery charge. Then create a
zero price inventory item called 'Delivery Fee' and assign the aforementioned tax rate to it. When we want to add delivery fee for an order, we add Delivery Fee inventory item to the order.
However this approach also have three issues
1. Order receipt available to the merchant via orders app in clover web and android, is having a price breakdown on taxes and subtotals. With this approach delivery charge will appear as a tax.
2. If merchant is using clover orders report to settle taxes, then delivery charge will be also listed under taxes. Merchant would have to filter out flat tax components created for delivery charge.
3. In case of delivery matrix with different delivery charges, we will have to configure multiple flat tax components, and multiple Delivery Fee products.
>>>>>>>>>>>>>>>>>>>>>>>>
Can you please suggest a better approach or methods to overcome issues with our current approaches.