Timesheets are TimeEntries containers. A timesheet belongs to a single userSee the Timesheet API Reference for additional information on timesheets and approval workflow.owner
and ranges over several days[startsOn - endsOn[
(endsOn excluded). Its range depends on the submission frequency set up in Lucca Timesheet (weekly / monthly). A timesheet purpose is to ease the approval workflow: rather than approving each TimeEntry individually, they are approved in a weekly / monthly batch.
{yourDomain}
, eg: “https://myawesomecompany.ilucca.net”.{apiKey}
that has timesheet submission rights for the given users.ownerId
of the timesheet owners you will want to submit timesheets.
Then, you can list all due timesheets with a GET request to /api/v3/timmitimesheets/remindable
,
filtering either on ownerIds
, managerIds
or legalEntityIds
.
See the API reference here.
While a timesheet is only created upon submitting it, you can still retrieve “calculated” timesheets
that represent the ones that still have not been submitted. These timesheets all have an id
equal to 0 (zero).
Transfer
authorizations can be set up at Timesheets’ regulation level to link 2 Timesheet accounts, allowing upon timesheet submission and following approval workflow steps to transfer a certain duration amount from the to-be-debited account to the to-be-credited account.
See Timesheet API reference and Transfer API reference for additional information.
Continuing the example above, if you want to submit John (id=16) first 2 timesheets with a transfer for the first one, and Sarah (id=45) early may timesheet, the easiest solution is to send the following request :