question

Ajmal M A avatar image
Ajmal M A asked tdlum4785 commented

How to add a pre-calculated Tax Amount to Order?

From my app I adding a Order to clover order app using order connector. I need to add the Tax amount to this order. (For eg: I need to add $2 to an order). How can i do that. Can you any one help me with code based examples or tax adding documentation links.

Thank You.

Orders
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

sam avatar image
sam Deactivated answered tdlum4785 commented

The only way to add tax is on the Inventory/Item level, via InventoryConnector.assignTaxRatesToItem(final String itemId, final List<string> taxRates) as a percentage. This will set default tax rates on the item. We do not currently support adding a fixed, pre-calculated amount as tax. More tax support is planned, but not in the immediate future.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ajmal M A avatar image Ajmal M A commented ·

Hi sam, Thanks for your response, When i try to create tax rate for each item following exception occurred: Please see these question https://devask.clover.com/question/69...

0 Likes 0 ·
tdlum4785 avatar image tdlum4785 commented ·
Is there an ETA for when we can send pre-calculated tax amounts?
0 Likes 0 ·

Welcome to the
Clover Developer Community