Object Index
You are viewing an old version of the API
Timecard
V1
Square V1 APIs
We recommend using the Square API (V2) for all new development when possible. See
When to use Connect V1
to learn more about working with V1 endpoints.
Object Index
We recommend using the Square API (V2) for all new development when possible. See When to use Connect V1 to learn more about working with V1 endpoints.
Represents a timecard for an employee.
Properties
Name | Description |
---|---|
id
|
The timecard's unique ID. |
employee_
Required
|
The ID of the employee the timecard is associated with. |
deleted
|
If true, the timecard was deleted by the merchant, and it is no longer valid. |
clockin_
|
The clock-in time for the timecard, in ISO 8601 format. |
clockout_
|
The clock-out time for the timecard, in ISO 8601 format. Provide this value only if importing timecard information from another system. |
clockin_
|
The ID of the location the employee clocked in from. We strongly reccomend providing a clockinlocationid. Square uses the clockinlocationid to determine a timecard’s timezone and overtime rules. |
clockout_
|
The ID of the location the employee clocked out from. Provide this value only if importing timecard information from another system. |
created_
|
The time when the timecard was created, in ISO 8601 format. |
updated_
|
The time when the timecard was most recently updated, in ISO 8601 format. |
regular_
|
The total number of regular (non-overtime) seconds worked in the timecard. |
overtime_
|
The total number of overtime seconds worked in the timecard. |
doubletime_
|
The total number of doubletime seconds worked in the timecard. |