Hi there, how can I get details for invoice, for example, We have some worker who will paid from 1st of January to 31 of January, he have regular calendar mon-fri 9-6am with 1h unpaid break, and he got the 1 unpaid DTO, and two Paid for specific dates, how can see this information via endpoints?
I have found a way where we can get information employment_details in contract data, with days and etc (“employment_details”: {
“type”: “ongoing_time_based”,
“days_per_week”: 0,
“hours_per_day”: 0,
“probation_period”: 0,
“paid_vacation_days”: 0
}), and we can calculate appruved TimeOff (/api-sandbox.demo.deel.com/rest/v2/time_offs) so basicly I can get this solution, but still will ask you, maybe there is any easiest way.
2. What is hris_profile_id and how I can get it. (rest/v2/time_offs/profile/{hris_profile_id}/entitlements)
3. Is there any ways to get ussual worker callendar? smth like data (Mon: 9 AM - 6PM, 1H break, Tue: 10:7Pm 2h break) etc, and how I can get those values (if that exist).