Discussions

Ask a Question
Back to all

Possible Bug: Compensation API returns wrong value for figures above 7 digits (missing trailing zero)

Hi,

We think we've found a bug in the Personio Compensation API, but wanted to check with you first. For compensation values with more than 7 digits, the API seems to return a value that's too low, cutting off a trailing zero.

Example: instead of returning a value like 12,340,000, the Compensation API returns 1,234,000.0 or similar, effectively dropping a zero. For comparison, the Employee endpoint returns the correct, full amount for the same person, so the issue seems specific to the Compensation endpoint. We found this issue by looking into the Vietnamese entity, where values can be very high due to LCY.