Timeslips - Unbillable vs. Billable flag on API


#1

We are currently downloading timeslips using the API. However we don’t know which time is billable and non-billable. Is there a flag in the API that can denote this? And if not, can it be added please?

Thanks,

  • Sascha

#2

Hi Sascha,

The is_billable property belongs to the timeslip’s task, rather than the timeslip itself. If you load the timeslip and follow the URL to the associated timeslip, you’ll see the the is_billable boolean returned as part of the GET timeslip request.

https://dev.freeagent.com/docs/timeslips
https://dev.freeagent.com/docs/tasks

I hope this helps!
Dave J