question

bbiwer avatar image
bbiwer asked bbiwer commented

Cannot Create Zero Tax Rate

Our app creates gift card inventory items that need a zero tax rate. We used to create this tax rate when our app initializes the inventory, but creating a tax rate now results in an exception: Java.Lang.SecurityException: Access denied to package [my package]. The app has inventory read and write permissions. There is no additional detail in the device log. My test merchant has a single non-zero tax rate.

Do we need to use the hidden NOTAXAPPLIED tax rate now?

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

Mike M avatar image
Mike M answered bbiwer commented

If you don't want an item to be taxable, then you need to utilize the isRevenue flag.

https://github.com/clover/clover-andr...

or

https://www.clover.com/api_docs#!/inv...

1 comment
10 |2000

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

bbiwer avatar image bbiwer commented ·

Setting IsRevenue to false while creating items with no tax rate specified seems to do the trick. Thanks!

0 Likes 0 ·

Welcome to the
Clover Developer Community