Labor timecards shifts reports having wrong values


I’m trying to match API data to dashboard data, but found an anomaly in dashboard reports
When u multiply total paid hours to hourly wage you don’t get exact values.

Does anyone have any idea on why might be happening or can anyone confirm this has happened with others as well??

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Build with the Labor API
Square Dashboard
Team API

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

The discrepancy you’re seeing might be due to the way Square calculates labor costs. Square calculates labor costs based on the exact duration of the shift, down to the minute, not the rounded total paid hours. Therefore, multiplying the total paid hours by the hourly wage might not give you the exact labor cost. The Labor API provides more precise calculations for labor costs.

This answer was reviewed by @Bryan-Square.

Hello!
Thank you for the solution. I was facing the same isuue.
Best Regards,
Lillian
CatTranslator Org