question

Jai avatar image
Jai asked Dan commented

Tax rate Calculation

While setting tax rate If I set tax rate as '5' then in request body I am getting value as '500000'.

Can any body justify this result or internal conversion that clover POS uses?

OrdersTaxes
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.

Dan avatar image Dan ♦ commented ·

moved to answer

0 Likes 0 ·

1 Answer

Dan avatar image
Dan answered

Tax rates support 5 decimal places. 5% -> 5*10^5 -> 500000 If that doesn't explain it, please provide the request and response (scrubbed for sensitive information).

10 |2000

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

Welcome to the
Clover Developer Community