Monetary Amounts

Hi,

In all the APIs, are all monetary amounts sent as integers instead of decimals, ie $1.75 would be sent as 175?

Thanks

Hi @patug,

Thank you for reaching out.

I can confirm that it would be sent as 175 - all the amounts are shown in cents [hence 175 for $1,75].

Cheers!

Hi,

Thanks for getting back, as I am in the process of writing API calls I would just like like to double check - so is it the case that ALL money amounts in all of clockify are sent as cents/pence etc regardless of the currency, i.e. as an integer not decimal.

Hi Patug,

You are most welcome!

That is correct, yes, the amount will always be sent as an integer.

Have a great day.

Thank you very much - that helps alot

1 Like