Hi
We are applying multiple custom taxes on clover Item. We successfully applied from our custom application by following code.
1- This is how tax created:-
- val taxRate = TaxRate()
- taxRate.isDefault = false
- taxRate.name = ml + "ml"
- taxRate.rate = 0
- taxRate.taxAmount = taxAmount
- val isCreated = inventoryConnector().createTaxRate2(taxRate)
- taxId = isCreated.id
2- This is how tax applying.
- val listTaxRates = ArrayList<String>()
- inventoryConnector().taxRates.forEach { i ->
- if (taxId == i.id) {
- listTaxRates.add(i.id)
- return@forEach
- }
- }
- inventoryConnector().assignTaxRatesToItem(
- itemId,
- listTaxRates
- )
We are paying from register application where multiple tax applied. Now the problem is, we want to show all the taxes which is applied for that order on clover receipt. Please guide us how we can achieve this.
Please check the attachment where you can find our requirement.