# Harvest (v3)

Information note **Harvest is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Harvest tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-harvest) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Harvest integration summary

Stitch’s Harvest integration replicates data using the [Harvest REST API V2](https://help.getharvest.com/api-v2/). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#schema) section for a list of objects available for replication.

## Harvest feature snapshot

A high-level look at Stitch's Harvest (v3) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on June 14, 2025 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-harvest](https://github.com/singer-io/tap-harvest) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Remove icon<br><br>Advanced Scheduling is not supported for this integration.<br><br><br>Unsupported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Harvest

### Harvest setup requirements

To set up Harvest in Stitch, you need:

* **Verify your Harvest user’s access.** Stitch will have the same permissions as the user setting up the integration. This means Stitch will only be able to access the same objects and data as the authorizing user.

  For example: if you’re unable to access expenses in Harvest, Stitch will be unable to replicate expense data.

Before diving into the setup process, verify that the user setting up the integration has access to all the objects - such as expenses - that you want to replicate.

[Read more about Harvest permissions in their documentation](http://help.getharvest.com/harvest/team/overview/new-permissions/).

### Step 1: Add Harvest as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Harvest** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Harvest” would create a schema called `stitch_harvest` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. Enter your Harvest account name in the **Account Name** field. For example: if your Harvest account URL is `stitch.harvestapp.com`, you’d enter `stitch` in this field.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Harvest integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Harvest’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Harvest integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch to Access Harvest

Lastly, you’ll be directed to Harvest’s website to complete the setup.

1. Enter your Harvest credentials and click **Create Integration**.
2. A screen asking for authorization to Harvest will display. **Note that Stitch will only ever read your data.**
3. Click **Connect.**
4. After the authorization process successfully completes, you’ll be redirected back to Stitch.
5. Click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Harvest integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Harvest, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Harvest table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 3** of this integration.

This is the latest version of the Harvest integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### clients

The `clients` table contains info about the clients in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/clients-api/clients/clients/ "Opens in new tab: Harvest documentation")<br><br><br>[clients schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/clients.json "Opens in new tab: clients schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/clients-api/clients/clients/#list-all-clients "Opens in new tab: Harvest API method") |

clients table foreign keys

| Join clients with | on |
| --- | --- |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>clients.id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>clients.id = estimates.client_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>clients.id = expenses.client_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>clients.id = invoices.client_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>clients.id = projects.client_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>clients.id = time_entries.client_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>clients.id = user_projects.client_id<br>``` |

clients table schema

| **address**<br><br><br>STRING |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **currency**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### contacts

The `contacts` table contains info about the client contacts in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/clients-api/clients/contacts/ "Opens in new tab: Harvest documentation")<br><br><br>[contacts schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/contacts.json "Opens in new tab: contacts schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/clients-api/clients/contacts/#list-all-contacts "Opens in new tab: Harvest API method") |

contacts table foreign keys

| Join contacts with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>contacts.client_id = clients.id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>contacts.client_id = estimates.client_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>contacts.client_id = expenses.client_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>contacts.client_id = invoices.client_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>contacts.client_id = projects.client_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>contacts.client_id = time_entries.client_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>contacts.client_id = user_projects.client_id<br>``` |

contacts table schema

| **client\_id**<br><br><br>INTEGER |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **email**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **last\_name**<br><br><br>STRING |
| **phone\_mobile**<br><br><br>STRING |
| **phone\_office**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### estimate\_item\_categories

The `estimate_item_categories` table contains info about the estimate item categories in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/estimates-api/estimates/estimate-item-categories/ "Opens in new tab: Harvest documentation")<br><br><br>[estimate_item_categories schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/estimate_item_categories.json "Opens in new tab: estimate_item_categories schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/estimates-api/estimates/estimate-item-categories/#list-all-estimate-item-categories "Opens in new tab: Harvest API method") |

estimate\_item\_categories table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### estimate\_line\_items

The `estimate_line_items` table contains info about the line items contained in estimates.

**Note**: This table is updated based on new and updated `estimates`. This means that when an estimate is updated, this table will also be updated.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/estimates-api/estimates/estimates/#the-estimate-line-item-object "Opens in new tab: Harvest documentation")<br><br><br>[estimate_line_items schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/estimate_line_items.json "Opens in new tab: estimate_line_items schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/estimates-api/estimates/estimates/#get-all-estimates "Opens in new tab: Harvest API method") |

estimate\_line\_items table foreign keys

| Join estimate\_line\_items with | on |
| --- | --- |
| [estimate_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-messages) | ```<br>estimate_line_items.estimate_id = estimate_messages.estimate_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>estimate_line_items.estimate_id = estimates.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>estimate_line_items.estimate_id = invoices.estimate_id<br>``` |

estimate\_line\_items table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **description**<br><br><br>STRING |
| **estimate\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **kind**<br><br><br>STRING |
| **quantity**<br><br><br>INTEGER |
| **taxed**<br><br><br>BOOLEAN |
| **taxed2**<br><br><br>BOOLEAN |
| **unit\_price**<br><br><br>NUMBER |

### estimate\_messages

The `estimate_messages` table contains info about the messages associated with estimates.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/estimates-api/estimates/estimate-messages/ "Opens in new tab: Harvest documentation")<br><br><br>[estimate_messages schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/estimate_messages.json "Opens in new tab: estimate_messages schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/estimates-api/estimates/estimate-messages/#list-all-messages-for-an-estimate "Opens in new tab: Harvest API method") |

estimate\_messages table foreign keys

| Join estimate\_messages with | on |
| --- | --- |
| [estimate_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-line-items) | ```<br>estimate_messages.estimate_id = estimate_line_items.estimate_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>estimate_messages.estimate_id = estimates.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>estimate_messages.estimate_id = invoices.estimate_id<br>``` |

estimate\_messages table schema

| **body**<br><br><br>STRING |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **estimate\_id**<br><br><br>INTEGER |
| **event\_type**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **recipients**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand recipients<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **send\_me\_a\_copy**<br><br><br>BOOLEAN |
| **sent\_by**<br><br><br>STRING |
| **sent\_by\_email**<br><br><br>STRING |
| **sent\_from**<br><br><br>STRING |
| **sent\_from\_email**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### estimates

The `estimates` table contains info about the estimates in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/estimates-api/estimates/estimates/ "Opens in new tab: Harvest documentation")<br><br><br>[estimates schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/estimates.json "Opens in new tab: estimates schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/estimates-api/estimates/estimate-messages/#list-all-messages-for-an-estimate "Opens in new tab: Harvest API method") |

estimates table foreign keys

| Join estimates with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>estimates.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>estimates.client_id = contacts.client_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>estimates.client_id = expenses.client_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>estimates.client_id = invoices.client_id<br>```<br><br>```<br>estimates.id = invoices.estimate_id<br>```<br><br>```<br>estimates.creator_id = invoices.creator_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>estimates.client_id = projects.client_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>estimates.client_id = time_entries.client_id<br>```<br><br>```<br>estimates.creator_id = time_entries.user_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>estimates.client_id = user_projects.client_id<br>```<br><br>```<br>estimates.creator_id = user_projects.user_id<br>``` |
| [estimate_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-line-items) | ```<br>estimates.id = estimate_line_items.estimate_id<br>``` |
| [estimate_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-messages) | ```<br>estimates.id = estimate_messages.estimate_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>estimates.creator_id = users.id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>estimates.creator_id = user_project_tasks.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>estimates.creator_id = user_roles.user_id<br>``` |

estimates table schema

| **accepted\_at**<br><br><br>DATE-TIME |
| --- |
| **amount**<br><br><br>NUMBER |
| **client\_id**<br><br><br>INTEGER |
| **client\_key**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **creator\_id**<br><br><br>INTEGER |
| **currency**<br><br><br>STRING |
| **declined\_at**<br><br><br>DATE-TIME |
| **discount**<br><br><br>STRING, NUMBER |
| **discount\_amount**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **issue\_date**<br><br><br>DATE-TIME |
| **notes**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **purchase\_order**<br><br><br>STRING |
| **sent\_at**<br><br><br>DATE-TIME |
| **state**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **tax**<br><br><br>STRING, NUMBER |
| **tax2**<br><br><br>STRING, NUMBER |
| **tax2\_amount**<br><br><br>NUMBER |
| **tax\_amount**<br><br><br>NUMBER |
| **updated\_at**<br><br><br>DATE-TIME |

### expense\_categories

The `expense_categories` table contains info about the expense categories in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/expenses-api/expenses/expense-categories/ "Opens in new tab: Harvest documentation")<br><br><br>[expense_categories schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/expense_categories.json "Opens in new tab: expense_categories schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/expenses-api/expenses/expense-categories/#list-all-expense-categories "Opens in new tab: Harvest API method") |

expense\_categories table foreign keys

| Join expense\_categories with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>expense_categories.id = expenses.expense_category_id<br>``` |

expense\_categories table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **unit\_name**<br><br><br>STRING |
| **unit\_price**<br><br><br>NUMBER |
| **updated\_at**<br><br><br>DATE-TIME |

### expenses

The `expenses` table contains info about the expenses recorded in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/expenses-api/expenses/expenses/ "Opens in new tab: Harvest documentation")<br><br><br>[expenses schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/expenses.json "Opens in new tab: expenses schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/expenses-api/expenses/expenses#list-all-expenses "Opens in new tab: Harvest API method") |

expenses table foreign keys

| Join expenses with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>expenses.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>expenses.client_id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>expenses.client_id = estimates.client_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>expenses.client_id = invoices.client_id<br>```<br><br>```<br>expenses.invoice_id = invoices.id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>expenses.client_id = projects.client_id<br>```<br><br>```<br>expenses.project_id = projects.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>expenses.client_id = time_entries.client_id<br>```<br><br>```<br>expenses.id = time_entries.external_reference_id<br>```<br><br>```<br>expenses.invoice_id = time_entries.invoice_id<br>```<br><br>```<br>expenses.project_id = time_entries.project_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>expenses.client_id = user_projects.client_id<br>```<br><br>```<br>expenses.project_id = user_projects.project_id<br>``` |
| [expense_categories](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expense-categories) | ```<br>expenses.expense_category_id = expense_categories.id<br>``` |
| [time_entry_external_reference](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entry-external-reference) | ```<br>expenses.id = time_entry_external_reference.external_reference_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>expenses.invoice_id = invoice_line_items.invoice_id<br>```<br><br>```<br>expenses.project_id = invoice_line_items.project_id<br>``` |
| [invoice_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-messages) | ```<br>expenses.invoice_id = invoice_messages.invoice_id<br>``` |
| [invoice_payments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-payments) | ```<br>expenses.invoice_id = invoice_payments.invoice_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>expenses.project_id = project_tasks.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>expenses.project_id = project_users.project_id<br>``` |

expenses table schema

| **billable**<br><br><br>BOOLEAN |
| --- |
| **client\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **expense\_category\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **invoice\_id**<br><br><br>INTEGER |
| **is\_billed**<br><br><br>BOOLEAN |
| **is\_closed**<br><br><br>BOOLEAN |
| **is\_locked**<br><br><br>BOOLEAN |
| **locked\_reason**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **project\_id**<br><br><br>INTEGER |
| **receipt\_content\_type**<br><br><br>STRING |
| **receipt\_file\_name**<br><br><br>STRING |
| **receipt\_file\_size**<br><br><br>INTEGER |
| **receipt\_url**<br><br><br>STRING |
| **spent\_date**<br><br><br>DATE-TIME |
| **total\_cost**<br><br><br>NUMBER |
| **units**<br><br><br>NUMBER |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_assignment\_id**<br><br><br>INTEGER |
| **user\_id**<br><br><br>INTEGER |

### invoice\_item\_categories

The `invoice_item_categories` table contains info about the various categories that can be applied to invoice line items.

**Note**: Harvest includes two non-removable categories by default for the hours and expenses you bill.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/invoices-api/invoices/invoice-item-categories/ "Opens in new tab: Harvest documentation")<br><br><br>[invoice_item_categories schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/invoice_item_categories.json "Opens in new tab: invoice_item_categories schema on GitHub")<br><br><br>[Harvest API method](http://help.getharvest.com/api-v1/invoices-api/invoices/invoice-messages-payments/#show-all-categories "Opens in new tab: Harvest API method") |

invoice\_item\_categories table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **use\_as\_expense**<br><br><br>BOOLEAN |
| **use\_as\_service**<br><br><br>BOOLEAN |

### invoice\_line\_items

The `invoice_line_items` table contains info about the line items contained in invoices.

**Note**: This table is updated based on new and updated `invoices`. This means that when an invoice is updated, this table will also be updated.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/invoices-api/invoices/invoices#the-invoice-line-item-object "Opens in new tab: Harvest documentation")<br><br><br>[invoice_line_items schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/invoice_line_items.json "Opens in new tab: invoice_line_items schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/invoices-api/invoices/invoices#list-all-invoices "Opens in new tab: Harvest API method") |

invoice\_line\_items table foreign keys

| Join invoice\_line\_items with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>invoice_line_items.invoice_id = expenses.invoice_id<br>```<br><br>```<br>invoice_line_items.project_id = expenses.project_id<br>``` |
| [invoice_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-messages) | ```<br>invoice_line_items.invoice_id = invoice_messages.invoice_id<br>``` |
| [invoice_payments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-payments) | ```<br>invoice_line_items.invoice_id = invoice_payments.invoice_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>invoice_line_items.invoice_id = invoices.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>invoice_line_items.invoice_id = time_entries.invoice_id<br>```<br><br>```<br>invoice_line_items.project_id = time_entries.project_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>invoice_line_items.project_id = project_tasks.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>invoice_line_items.project_id = project_users.project_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>invoice_line_items.project_id = projects.id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>invoice_line_items.project_id = user_projects.project_id<br>``` |

invoice\_line\_items table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **description**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **invoice\_id**<br><br><br>INTEGER |
| **kind**<br><br><br>STRING |
| **project\_id**<br><br><br>INTEGER |
| **quantity**<br><br><br>INTEGER |
| **taxed**<br><br><br>BOOLEAN |
| **taxed2**<br><br><br>BOOLEAN |
| **unit\_price**<br><br><br>NUMBER |

### invoice\_messages

The `invoice_messages` table contains info about invoice messages, or emails sent to clients about invoices.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [invoice_messages schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/invoice_messages.json "Opens in new tab: invoice_messages schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/invoices-api/invoices/invoice-messages/ "Opens in new tab: Harvest API method") |

invoice\_messages table foreign keys

| Join invoice\_messages with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>invoice_messages.invoice_id = expenses.invoice_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>invoice_messages.invoice_id = invoice_line_items.invoice_id<br>``` |
| [invoice_payments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-payments) | ```<br>invoice_messages.invoice_id = invoice_payments.invoice_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>invoice_messages.invoice_id = invoices.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>invoice_messages.invoice_id = time_entries.invoice_id<br>``` |

invoice\_messages table schema

| **attach\_pdf**<br><br><br>BOOLEAN |
| --- |
| **body**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **event\_type**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **include\_link\_to\_client\_invoice**<br><br><br>BOOLEAN |
| **invoice\_id**<br><br><br>INTEGER |
| **recipients**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand recipients<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **reminder**<br><br><br>BOOLEAN |
| **send\_me\_a\_copy**<br><br><br>BOOLEAN |
| **send\_reminder\_on**<br><br><br>DATE-TIME |
| **sent\_by**<br><br><br>STRING |
| **sent\_by\_email**<br><br><br>STRING |
| **sent\_from**<br><br><br>STRING |
| **sent\_from\_email**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **thank\_you**<br><br><br>BOOLEAN |
| **updated\_at**<br><br><br>DATE-TIME |

### invoice\_payments

The `invoice_payments` table contains info about the payments applied to invoices in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/invoices-api/invoices/invoice-payments/ "Opens in new tab: Harvest documentation")<br><br><br>[invoice_payments schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/invoice_payments.json "Opens in new tab: invoice_payments schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/invoices-api/invoices/invoice-payments#list-all-payments-for-an-invoice "Opens in new tab: Harvest API method") |

invoice\_payments table foreign keys

| Join invoice\_payments with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>invoice_payments.invoice_id = expenses.invoice_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>invoice_payments.invoice_id = invoice_line_items.invoice_id<br>``` |
| [invoice_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-messages) | ```<br>invoice_payments.invoice_id = invoice_messages.invoice_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>invoice_payments.invoice_id = invoices.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>invoice_payments.invoice_id = time_entries.invoice_id<br>``` |

invoice\_payments table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **invoice\_id**<br><br><br>INTEGER |
| **notes**<br><br><br>STRING |
| **paid\_at**<br><br><br>DATE-TIME |
| **paid\_date**<br><br><br>DATE-TIME |
| **payment\_gateway\_id**<br><br><br>INTEGER |
| **payment\_gateway\_name**<br><br><br>INTEGER |
| **recorded\_by**<br><br><br>STRING |
| **recorded\_by\_email**<br><br><br>STRING |
| **transaction\_id**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### invoices

The `invoices` table contains info about the invoices in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/invoices-api/invoices/invoices/ "Opens in new tab: Harvest documentation")<br><br><br>[invoices schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/invoices.json "Opens in new tab: invoices schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/invoices-api/invoices/invoices#list-all-invoices "Opens in new tab: Harvest API method") |

invoices table foreign keys

| Join invoices with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>invoices.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>invoices.client_id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>invoices.client_id = estimates.client_id<br>```<br><br>```<br>invoices.estimate_id = estimates.id<br>```<br><br>```<br>invoices.creator_id = estimates.creator_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>invoices.client_id = expenses.client_id<br>```<br><br>```<br>invoices.id = expenses.invoice_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>invoices.client_id = projects.client_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>invoices.client_id = time_entries.client_id<br>```<br><br>```<br>invoices.id = time_entries.invoice_id<br>```<br><br>```<br>invoices.creator_id = time_entries.user_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>invoices.client_id = user_projects.client_id<br>```<br><br>```<br>invoices.creator_id = user_projects.user_id<br>``` |
| [estimate_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-line-items) | ```<br>invoices.estimate_id = estimate_line_items.estimate_id<br>``` |
| [estimate_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimate-messages) | ```<br>invoices.estimate_id = estimate_messages.estimate_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>invoices.id = invoice_line_items.invoice_id<br>``` |
| [invoice_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-messages) | ```<br>invoices.id = invoice_messages.invoice_id<br>``` |
| [invoice_payments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-payments) | ```<br>invoices.id = invoice_payments.invoice_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>invoices.creator_id = users.id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>invoices.creator_id = user_project_tasks.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>invoices.creator_id = user_roles.user_id<br>``` |

invoices table schema

| **amount**<br><br><br>NUMBER |
| --- |
| **client\_id**<br><br><br>INTEGER |
| **client\_key**<br><br><br>STRING |
| **closed\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **creator\_id**<br><br><br>INTEGER |
| **currency**<br><br><br>STRING |
| **discount**<br><br><br>STRING, NUMBER |
| **discount\_amount**<br><br><br>NUMBER |
| **due\_amount**<br><br><br>NUMBER |
| **due\_date**<br><br><br>DATE-TIME |
| **estimate\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **issue\_date**<br><br><br>DATE-TIME |
| **notes**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **paid\_at**<br><br><br>DATE-TIME |
| **paid\_date**<br><br><br>DATE-TIME |
| **payment\_term**<br><br><br>STRING |
| **period\_end**<br><br><br>DATE-TIME |
| **period\_start**<br><br><br>DATE-TIME |
| **purchase\_order**<br><br><br>STRING |
| **retainer\_id**<br><br><br>INTEGER |
| **sent\_at**<br><br><br>DATE-TIME |
| **state**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **tax**<br><br><br>STRING, NUMBER |
| **tax2**<br><br><br>STRING, NUMBER |
| **tax2\_amount**<br><br><br>NUMBER |
| **tax\_amount**<br><br><br>NUMBER |
| **updated\_at**<br><br><br>DATE-TIME |

### project\_tasks

The `project_tasks` table contains info about the tasks assigned to projects.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/projects-api/projects/task-assignments/ "Opens in new tab: Harvest documentation")<br><br><br>[project_tasks schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/project_tasks.json "Opens in new tab: project_tasks schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/projects-api/projects/task-assignments#list-all-task-assignments "Opens in new tab: Harvest API method") |

project\_tasks table foreign keys

| Join project\_tasks with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>project_tasks.project_id = expenses.project_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>project_tasks.project_id = invoice_line_items.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>project_tasks.project_id = project_users.project_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>project_tasks.project_id = projects.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>project_tasks.project_id = time_entries.project_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>project_tasks.project_id = user_projects.project_id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>project_tasks.id = user_project_tasks.project_task_id<br>``` |

project\_tasks table schema

| **billable**<br><br><br>BOOLEAN |
| --- |
| **budget**<br><br><br>NUMBER |
| **created\_at**<br><br><br>DATE-TIME |
| **hourly\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **project\_id**<br><br><br>INTEGER |
| **task\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |

### project\_users

The `project_users` table contains info about the users assigned to projects.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [project_users schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/project_users.json "Opens in new tab: project_users schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/projects-api/projects/user-assignments/ "Opens in new tab: Harvest API method") |

project\_users table foreign keys

| Join project\_users with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>project_users.project_id = expenses.project_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>project_users.project_id = invoice_line_items.project_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>project_users.project_id = project_tasks.project_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>project_users.project_id = projects.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>project_users.project_id = time_entries.project_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>project_users.project_id = user_projects.project_id<br>``` |

project\_users table schema

| **budget**<br><br><br>NUMBER |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **hourly\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_project\_manager**<br><br><br>BOOLEAN |
| **project\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_id**<br><br><br>INTEGER |

### projects

The `projects` table contains info about the projects in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/projects-api/projects/projects/ "Opens in new tab: Harvest documentation")<br><br><br>[projects schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/projects.json "Opens in new tab: projects schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/projects-api/projects/projects#list-all-projects "Opens in new tab: Harvest API method") |

projects table foreign keys

| Join projects with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>projects.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>projects.client_id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>projects.client_id = estimates.client_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>projects.client_id = expenses.client_id<br>```<br><br>```<br>projects.id = expenses.project_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>projects.client_id = invoices.client_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>projects.client_id = time_entries.client_id<br>```<br><br>```<br>projects.id = time_entries.project_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>projects.client_id = user_projects.client_id<br>```<br><br>```<br>projects.id = user_projects.project_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>projects.id = invoice_line_items.project_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>projects.id = project_tasks.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>projects.id = project_users.project_id<br>``` |

projects table schema

| **bill\_by**<br><br><br>STRING |
| --- |
| **budget**<br><br><br>NUMBER |
| **budget\_by**<br><br><br>STRING |
| **budget\_is\_monthly**<br><br><br>BOOLEAN |
| **client\_id**<br><br><br>INTEGER |
| **code**<br><br><br>STRING |
| **cost\_budget**<br><br><br>NUMBER |
| **cost\_budget\_include\_expenses**<br><br><br>BOOLEAN |
| **created\_at**<br><br><br>DATE-TIME |
| **ends\_on**<br><br><br>STRING |
| **fee**<br><br><br>NUMBER |
| **hourly\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_billable**<br><br><br>BOOLEAN |
| **is\_fixed\_fee**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **notify\_when\_over\_budget**<br><br><br>BOOLEAN |
| **over\_budget\_notification\_date**<br><br><br>DATE-TIME |
| **over\_budget\_notification\_percentage**<br><br><br>INTEGER |
| **show\_budget\_to\_all**<br><br><br>BOOLEAN |
| **starts\_on**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### roles

The `roles` table contains info about the roles in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/roles-api/roles/roles/ "Opens in new tab: Harvest documentation")<br><br><br>[roles schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/roles.json "Opens in new tab: roles schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/roles-api/roles/roles#list-all-roles "Opens in new tab: Harvest API method") |

roles table foreign keys

| Join roles with | on |
| --- | --- |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>roles.id = user_roles.role_id<br>``` |

roles table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### tasks

The `tasks` table contains info about the tasks in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/tasks-api/tasks/tasks/ "Opens in new tab: Harvest documentation")<br><br><br>[tasks schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/tasks.json "Opens in new tab: tasks schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/tasks-api/tasks/tasks#list-all-tasks "Opens in new tab: Harvest API method") |

tasks table foreign keys

| Join tasks with | on |
| --- | --- |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>tasks.id = time_entries.task_id<br>``` |

tasks table schema

| **billable\_by\_default**<br><br><br>BOOLEAN |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **default\_hourly\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_default**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### time\_entries

The `time_entries` table contains info about the time entries in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/timesheets-api/timesheets/time-entries/ "Opens in new tab: Harvest documentation")<br><br><br>[time_entries schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/time_entries.json "Opens in new tab: time_entries schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/timesheets-api/timesheets/time-entries#list-all-time-entries "Opens in new tab: Harvest API method") |

time\_entries table foreign keys

| Join time\_entries with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>time_entries.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>time_entries.client_id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>time_entries.client_id = estimates.client_id<br>```<br><br>```<br>time_entries.user_id = estimates.creator_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>time_entries.client_id = expenses.client_id<br>```<br><br>```<br>time_entries.external_reference_id = expenses.id<br>```<br><br>```<br>time_entries.invoice_id = expenses.invoice_id<br>```<br><br>```<br>time_entries.project_id = expenses.project_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>time_entries.client_id = invoices.client_id<br>```<br><br>```<br>time_entries.invoice_id = invoices.id<br>```<br><br>```<br>time_entries.user_id = invoices.creator_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>time_entries.client_id = projects.client_id<br>```<br><br>```<br>time_entries.project_id = projects.id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>time_entries.client_id = user_projects.client_id<br>```<br><br>```<br>time_entries.project_id = user_projects.project_id<br>```<br><br>```<br>time_entries.user_id = user_projects.user_id<br>``` |
| [time_entry_external_reference](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entry-external-reference) | ```<br>time_entries.external_reference_id = time_entry_external_reference.external_reference_id<br>```<br><br>```<br>time_entries.id = time_entry_external_reference.time_entry_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>time_entries.invoice_id = invoice_line_items.invoice_id<br>```<br><br>```<br>time_entries.project_id = invoice_line_items.project_id<br>``` |
| [invoice_messages](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-messages) | ```<br>time_entries.invoice_id = invoice_messages.invoice_id<br>``` |
| [invoice_payments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-payments) | ```<br>time_entries.invoice_id = invoice_payments.invoice_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>time_entries.project_id = project_tasks.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>time_entries.project_id = project_users.project_id<br>``` |
| [tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#tasks) | ```<br>time_entries.task_id = tasks.id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>time_entries.user_id = users.id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>time_entries.user_id = user_project_tasks.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>time_entries.user_id = user_roles.user_id<br>``` |

time\_entries table schema

| **billable**<br><br><br>BOOLEAN |
| --- |
| **billable\_rate**<br><br><br>NUMBER |
| **budgeted**<br><br><br>NUMBER |
| **client\_id**<br><br><br>INTEGER |
| **cost\_rate**<br><br><br>NUMBER |
| **created\_at**<br><br><br>DATE-TIME |
| **ended\_time**<br><br><br>TIME |
| **external\_reference\_id**<br><br><br>STRING |
| **hours**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **invoice\_id**<br><br><br>INTEGER |
| **is\_billed**<br><br><br>BOOLEAN |
| **is\_closed**<br><br><br>BOOLEAN |
| **is\_locked**<br><br><br>BOOLEAN |
| **is\_running**<br><br><br>BOOLEAN |
| **locked\_reason**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **project\_id**<br><br><br>INTEGER |
| **spent\_date**<br><br><br>DATE-TIME |
| **started\_time**<br><br><br>TIME |
| **task\_assignment\_id**<br><br><br>INTEGER |
| **task\_id**<br><br><br>INTEGER |
| **timer\_started\_at**<br><br><br>DATE-TIME |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_assignment\_id**<br><br><br>INTEGER |
| **user\_id**<br><br><br>INTEGER |

### time\_entry\_external\_reference

The `time_entry_external_reference` table contains pairs of time entry IDs and external reference IDs. This data can be used to tie time entries tracked in external services (such as Trello) to your other Harvest data.

**Note**: This table is updated based on new and updated `time_entries`. This means that when a time entry is updated, this table will also be updated.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | time\_entry\_id<br><br>external\_reference\_id |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/timesheets-api/timesheets/time-entries/ "Opens in new tab: Harvest documentation")<br><br><br>[time_entry_external_reference schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/time_entry_external_reference.json "Opens in new tab: time_entry_external_reference schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/timesheets-api/timesheets/time-entries#list-all-time-entries "Opens in new tab: Harvest API method") |

time\_entry\_external\_reference table foreign keys

| Join time\_entry\_external\_reference with | on |
| --- | --- |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>time_entry_external_reference.external_reference_id = expenses.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>time_entry_external_reference.external_reference_id = time_entries.external_reference_id<br>```<br><br>```<br>time_entry_external_reference.time_entry_id = time_entries.id<br>``` |

time\_entry\_external\_reference table schema

| **external\_reference\_id**<br><br><br>STRING |
| --- |
| **time\_entry\_id**<br><br><br>INTEGER |

### user\_project\_tasks

The `user_project_tasks` table contains pairs of user IDs and project task IDs.

This data can be used to see lists of all the project tasks associated with a user, and join tables together to get a comprehensive look at the user’s projects.

**Note**: This table is updated based on new and updated `users`. This means that when a user is updated, this table will also be updated.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | user\_id<br><br>project\_task\_id |
| **Useful links** | [Harvest documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest "Opens in new tab: Harvest documentation")<br><br><br>[user_project_tasks schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/user_project_tasks.json "Opens in new tab: user_project_tasks schema on GitHub") |

user\_project\_tasks table foreign keys

| Join user\_project\_tasks with | on |
| --- | --- |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>user_project_tasks.project_task_id = project_tasks.id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>user_project_tasks.user_id = estimates.creator_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>user_project_tasks.user_id = invoices.creator_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>user_project_tasks.user_id = time_entries.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>user_project_tasks.user_id = users.id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>user_project_tasks.user_id = user_projects.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>user_project_tasks.user_id = user_roles.user_id<br>``` |

user\_project\_tasks table schema

| **project\_task\_id**<br><br><br>INTEGER |
| --- |
| **user\_id**<br><br><br>INTEGER |

### user\_projects

The `user_projects` table contains info about the project assignments users are assigned to.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [user_projects schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/user_projects.json "Opens in new tab: user_projects schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/users-api/users/project-assignments/ "Opens in new tab: Harvest API method") |

user\_projects table foreign keys

| Join user\_projects with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#clients) | ```<br>user_projects.client_id = clients.id<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#contacts) | ```<br>user_projects.client_id = contacts.client_id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>user_projects.client_id = estimates.client_id<br>```<br><br>```<br>user_projects.user_id = estimates.creator_id<br>``` |
| [expenses](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#expenses) | ```<br>user_projects.client_id = expenses.client_id<br>```<br><br>```<br>user_projects.project_id = expenses.project_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>user_projects.client_id = invoices.client_id<br>```<br><br>```<br>user_projects.user_id = invoices.creator_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#projects) | ```<br>user_projects.client_id = projects.client_id<br>```<br><br>```<br>user_projects.project_id = projects.id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>user_projects.client_id = time_entries.client_id<br>```<br><br>```<br>user_projects.project_id = time_entries.project_id<br>```<br><br>```<br>user_projects.user_id = time_entries.user_id<br>``` |
| [invoice_line_items](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoice-line-items) | ```<br>user_projects.project_id = invoice_line_items.project_id<br>``` |
| [project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-tasks) | ```<br>user_projects.project_id = project_tasks.project_id<br>``` |
| [project_users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#project-users) | ```<br>user_projects.project_id = project_users.project_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>user_projects.user_id = users.id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>user_projects.user_id = user_project_tasks.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>user_projects.user_id = user_roles.user_id<br>``` |

user\_projects table schema

| **budget**<br><br><br>NUMBER |
| --- |
| **client\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **hourly\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_project\_manager**<br><br><br>BOOLEAN |
| **project\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **user\_id**<br><br><br>INTEGER |

### user\_roles

The `user_roles` table contains a list of user ID and role ID pairs, enabling you to see the roles users are associated with.

**Note**: This table is updated based on new and updated `users`. This means that when a user is updated, this table will also be updated.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | user\_id<br><br>role\_id |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/users-api/users/users/ "Opens in new tab: Harvest documentation")<br><br><br>[user_roles schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/user_roles.json "Opens in new tab: user_roles schema on GitHub") |

user\_roles table foreign keys

| Join user\_roles with | on |
| --- | --- |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#roles) | ```<br>user_roles.role_id = roles.id<br>``` |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>user_roles.user_id = estimates.creator_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>user_roles.user_id = invoices.creator_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>user_roles.user_id = time_entries.user_id<br>``` |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#users) | ```<br>user_roles.user_id = users.id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>user_roles.user_id = user_project_tasks.user_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>user_roles.user_id = user_projects.user_id<br>``` |

user\_roles table schema

| **role\_id**<br><br><br>INTEGER |
| --- |
| **user\_id**<br><br><br>INTEGER |

### users

The `users` table contains info about the users in your Harvest account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest documentation](https://help.getharvest.com/api-v2/users-api/users/users/ "Opens in new tab: Harvest documentation")<br><br><br>[users schema on GitHub](https://github.com/singer-io/tap-harvest/blob/master/tap_harvest/schemas/users.json "Opens in new tab: users schema on GitHub")<br><br><br>[Harvest API method](https://help.getharvest.com/api-v2/users-api/users/users#list-all-users "Opens in new tab: Harvest API method") |

users table foreign keys

| Join users with | on |
| --- | --- |
| [estimates](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#estimates) | ```<br>users.id = estimates.creator_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#invoices) | ```<br>users.id = invoices.creator_id<br>``` |
| [time_entries](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#time-entries) | ```<br>users.id = time_entries.user_id<br>``` |
| [user_project_tasks](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-project-tasks) | ```<br>users.id = user_project_tasks.user_id<br>``` |
| [user_projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-projects) | ```<br>users.id = user_projects.user_id<br>``` |
| [user_roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest#user-roles) | ```<br>users.id = user_roles.user_id<br>``` |

users table schema

| **avatar\_url**<br><br><br>STRING |
| --- |
| **can\_create\_invoices**<br><br><br>BOOLEAN |
| **can\_create\_projects**<br><br><br>BOOLEAN |
| **can\_see\_rates**<br><br><br>BOOLEAN |
| **cost\_rate**<br><br><br>NUMBER |
| **created\_at**<br><br><br>DATE-TIME |
| **default\_hourly\_rate**<br><br><br>NUMBER |
| **email**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **has\_access\_to\_all\_future\_projects**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_admin**<br><br><br>BOOLEAN |
| **is\_contractor**<br><br><br>BOOLEAN |
| **is\_project\_manager**<br><br><br>BOOLEAN |
| **last\_name**<br><br><br>STRING |
| **telephone**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **weekly\_capacity**<br><br><br>INTEGER |