# QuickBooks Time

> Manage time entries, jobcodes, groups and locations, and read employees, projects and assignments.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/quickbooks-time

## Actions

### Archive jobcode

Archive jobcode in QuickBooks Time.

**Inputs**

- Jobcode (`jobcode_id`, text, required): Jobcode ID.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {},
  "record": {
    "id": 123
  }
}
```

### Create group

Create group in QuickBooks Time.

**Inputs**

- Name (`name`, text, required): Name.
- Manager IDs (`manager_ids`, list): Manager IDs.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "groups": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Create jobcode

Create jobcode in QuickBooks Time.

**Inputs**

- Name (`name`, text, required): Name.
- Parent (`parent_id`, text): Parent ID.
- Short code (`short_code`, text): Short code.
- Billable (`billable`, true/false): Billable.
- Assigned to all (`assigned_to_all`, true/false): Assigned to all.
- Billable rate (`billable_rate`, number): Billable rate.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "jobcodes": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Create location

Create location in QuickBooks Time.

**Inputs**

- Addr1 (`addr1`, text, required): Addr1.
- Addr2 (`addr2`, text): Addr2.
- City (`city`, text): City.
- State (`state`, text): State.
- Zip (`zip`, text): Zip.
- Country (`country`, text): Country.
- Label (`label`, text): Label.
- Notes (`notes`, text): Notes.
- Active (`active`, true/false): Active.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "locations": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Create timesheet

Create timesheet in QuickBooks Time.

**Inputs**

- Employee (`employee_id`, text, required): Employee ID.
- Jobcode (`jobcode_id`, text, required): Jobcode ID.
- Type (`type`, text, required): Type. One of: `regular`, `manual`.
- Start (`start`, date and time): Start time. Required for a regular time entry.
- End (`end`, date and time): End.
- Date (`date`, date): The day worked. Required for a manual time entry.
- Duration in seconds (`duration`, number): Seconds worked. Required for a manual time entry. At least 0.
- Notes (`notes`, text): Notes.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "timesheets": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Delete timesheet

Delete timesheet in QuickBooks Time.

**Inputs**

- Timesheet IDs (`timesheet_ids`, list, required): Timesheet IDs.

**Outputs**

- `data` (object): Quick Books Time response data.

**Example output**

```json
{
  "data": {}
}
```

### Get current user

Get current user in QuickBooks Time.

**Inputs**: None.

**Outputs**

- `data` (object): Quick Books Time response data.

**Example output**

```json
{
  "data": {
    "results": {
      "users": {}
    }
  }
}
```

### List customfields

List customfields in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "customfields": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List groups

List groups in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "groups": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List jobcode assignments

List jobcode assignments in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.
- Jobcode IDs (`jobcode_ids`, list): Jobcode IDs.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "jobcode_assignments": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List jobcodes

List jobcodes in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "jobcodes": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List locations

List locations in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "locations": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List projects

List projects in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "projects": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List schedule events

List schedule events in QuickBooks Time.

**Inputs**

- Start (`start`, date and time, required): Start.
- End (`end`, date and time, required): End.
- Page (`page`, number): Page.
- Limit (`limit`, number): Limit. From 1 to 200.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "schedule_events": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List timesheets

List timesheets in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.
- Start date (`start_date`, date, required): Start date.
- End date (`end_date`, date): End date.
- User IDs (`user_ids`, list): User IDs.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "timesheets": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### List users

List users in QuickBooks Time.

**Inputs**

- Ids (`ids`, list): Ids.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 200.
- Modified since (`modified_since`, date and time): Modified since.

**Outputs**

- `data` (object): Quick Books Time response data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page input.
- `records` (list): The records on this page.

**Example output**

```json
{
  "data": {
    "more": false,
    "results": {
      "users": {}
    }
  },
  "has_more": false,
  "next_cursor": null,
  "records": []
}
```

### Update group

Update group in QuickBooks Time.

**Inputs**

- Name (`name`, text): Name.
- Manager IDs (`manager_ids`, list): Manager IDs.
- Group (`group_id`, text, required): Group ID.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "groups": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Update jobcode

Update jobcode in QuickBooks Time.

**Inputs**

- Name (`name`, text): Name.
- Parent (`parent_id`, text): Parent ID.
- Short code (`short_code`, text): Short code.
- Billable (`billable`, true/false): Billable.
- Assigned to all (`assigned_to_all`, true/false): Assigned to all.
- Billable rate (`billable_rate`, number): Billable rate.
- Jobcode (`jobcode_id`, text, required): Jobcode ID.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "jobcodes": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Update location

Update location in QuickBooks Time.

**Inputs**

- Addr1 (`addr1`, text): Addr1.
- Addr2 (`addr2`, text): Addr2.
- City (`city`, text): City.
- State (`state`, text): State.
- Zip (`zip`, text): Zip.
- Country (`country`, text): Country.
- Label (`label`, text): Label.
- Notes (`notes`, text): Notes.
- Active (`active`, true/false): Active.
- Location (`location_id`, text, required): Location ID.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "locations": {}
    }
  },
  "record": {
    "id": 123
  }
}
```

### Update timesheet

Update timesheet in QuickBooks Time.

**Inputs**

- Employee (`employee_id`, text): Employee ID.
- Jobcode (`jobcode_id`, text): Jobcode ID.
- Type (`type`, text): Type. One of: `regular`, `manual`.
- Start (`start`, date and time): Start.
- End (`end`, date and time): End.
- Date (`date`, date): Date.
- Duration (`duration`, number): Duration. At least 0.
- Notes (`notes`, text): Notes.
- Timesheet (`timesheet_id`, text, required): Timesheet ID.

**Outputs**

- `data` (object): Quick Books Time response data.
- `record` (object): The saved record.

**Example output**

```json
{
  "data": {
    "results": {
      "timesheets": {}
    }
  },
  "record": {
    "id": 123
  }
}
```
