# SaaSOptics (v1)

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

## SaaSOptics integration summary

Stitch’s SaaSOptics integration replicates data using the [SaaSOptics REST API](https://saasoptics.zendesk.com/hc/en-us/articles/115003595913-URLs-and-REST-Info). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/saasoptics#schema) section for a list of objects available for replication.

## SaaSOptics feature snapshot

A high-level look at Stitch's SaaSOptics (v1) 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 March 4, 2020 | **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-saasoptics](https://github.com/singer-io/tap-saasoptics) |  |  |
| **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 Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **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 SaaSOptics

### SaaSOptics setup requirements

To set up SaaSOptics in Stitch, you need:

* **Access to your API token**. Only account admins can generate the first API token for users. Once it has been generated by the admin, users can regenerate their tokens. You will either need an admin account to generate your own API token, or you will need an admin to generate one for you.

### Step 1: Identify your account name and server subdomain

The server subdomain and account name are in the URL you use to access your SaaSOptics account. If you are unsure of what your link is, locate it within your welcome email from SaaSOptics. Your server subdomain is the first portion of the URL, and the account name is between the first and second forward slashes.

![SaaSOptics URL format.](https://help.qlik.com/en-US/stitch/images/integrations/saasoptics-url.png)SaaSOptics URL format.SaaSOptics URL format.

### Step 2: Obtain your token

1. Login to the SaaSOptics account you want to replicate data from.

2. In the upper right hand side of the page, click on the user account button that shows your username.

3. Click on **API**.

   ![SaaSOptics API hyperlink.](https://help.qlik.com/en-US/stitch/images/integrations/saasoptics-api-button.png)SaaSOptics API hyperlink.SaaSOptics API hyperlink.

4. If you are an admin, generate an API token. If you are a user without admin privileges, you can either use the API token that already exists or regenerate the token. Keep note of it - you’ll need it to complete the next step. ![Your SaaSOptics API token.](https://help.qlik.com/en-US/stitch/images/integrations/saasoptics-api-token.png)Your SaaSOptics API token.Your SaaSOptics API token.

### Step 3: Add SaaSOptics 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 **SaaSOptics** 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 SaaSOptics” would create a schema called `stitch_saasoptics` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Account Name** field, enter the account name you identified in [step 1](https://help.qlik.com/en-US/stitch/integrations/saas/saasoptics#account-subdomian).

6. In the **Server Subdomain** field, enter the subdomain you identified in [step 1](https://help.qlik.com/en-US/stitch/integrations/saas/saasoptics#account-subdomain).

7. In the **Token** field, enter the API token you obtained in [step 2](https://help.qlik.com/en-US/stitch/integrations/saas/saasoptics#obtain-token).

Information note

**Note**: The **Date Window Field** is an internal field for Stitch use. The default value is `60`; it is optional to change it.

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

The Sync Historical Data setting defines the starting date for your SaaSOptics 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 SaaSOptics’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 5: 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.

SaaSOptics 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)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

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 6: 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/saasoptics#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 SaaSOptics 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 SaaSOptics, 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.

## SaaSOptics 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 1** of this integration.

This is the latest version of the SaaSOptics 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.

### accounts

The `accounts` table contains info about accounts, or records in your Chart of Accounts, in SaaSOptics.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [accounts schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/accounts.json "Opens in new tab: accounts schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751507-Accounts-R- "Opens in new tab: SaaSOptics API method") |

accounts table schema

| **account\_type**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **intacct\_id**<br><br><br>STRING |
| **intacct\_modified**<br><br><br>DATE-TIME |
| **intacct\_recordno**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **netsuite\_id**<br><br><br>STRING |
| **source\_system**<br><br><br>STRING |

### auto\_renewal\_profiles

The `auto_renewal_profiles` table contains info about auto-renwal profiles, or transaction renewal rules in your SaaSOptics 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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [auto_renewal_profiles schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/auto_renewal_profiles.json "Opens in new tab: auto_renewal_profiles schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013918268-Auto-Renewal-Profiles-R- "Opens in new tab: SaaSOptics API method") |

auto\_renewal\_profiles table schema

| **days**<br><br><br>INTEGER |
| --- |
| **generate\_revenue**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **months**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **recognize**<br><br><br>BOOLEAN |

### billing\_descriptions

The `billing_descriptions` table contains info about billing line item descriptions.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [billing_descriptions schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/billing_descriptions.json "Opens in new tab: billing_descriptions schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751807-Billing-Line-Item-Descriptions-R- "Opens in new tab: SaaSOptics API method") |

billing\_descriptions table schema

| **contents**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |

### billing\_methods

The `billing_methods` table contains info about billing methods, which are used to specify billing/invoice frequencies for transactions in your SaaSOptics 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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [billing_methods schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/billing_methods.json "Opens in new tab: billing_methods schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003604433-Billing-Methods-R- "Opens in new tab: SaaSOptics API method") |

billing\_methods table schema

| **id**<br><br><br>INTEGER |
| --- |
| **name**<br><br><br>STRING |

### contracts

The `contracts` table contains info about the contracts in your SaaSOptics 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)** | modified |
| **Useful links** | [contracts schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/contracts.json "Opens in new tab: contracts schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751607-Contracts-CRUD- "Opens in new tab: SaaSOptics API method") |

contracts table schema

| **billing\_profile**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &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 billing\_profile<br><br><table> <tr> <td> <p> <strong>								account_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								alt_contact							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								alt_phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								contact							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								customer_type_ref_fullname							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								default_credit_memo_template							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								default_invoice_template							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								edit_sequence							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_use_code							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								full_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_email_preference							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_print_preference							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_active							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								job_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								job_end_date							</strong> </p> <p> </p> <p>DATE-TIME																				</p> </td> </tr> <tr> <td> <p> <strong>								job_projected_end_date							</strong> </p> <p> </p> <p>DATE-TIME																				</p> </td> </tr> <tr> <td> <p> <strong>								job_start_date							</strong> </p> <p> </p> <p>DATE-TIME																				</p> </td> </tr> <tr> <td> <p> <strong>								job_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								job_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								parent_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_terms							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resale_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sales_rep							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								salutation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **channel**<br><br><br>STRING |
| **customer**<br><br><br>INTEGER |
| **email**<br><br><br>STRING |
| **entry\_date**<br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **is\_job**<br><br><br>BOOLEAN |
| **lead\_date**<br><br>DATE-TIME |
| **lead\_source**<br><br><br>STRING |
| **modified**<br><br>DATE-TIME |
| **notes**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **number\_field1**<br><br><br>NUMBER |
| **number\_field2**<br><br><br>NUMBER |
| **qb\_job\_id**<br><br><br>STRING |
| **register**<br><br><br>INTEGER |
| **sf\_id**<br><br><br>STRING |
| **text\_field1**<br><br><br>STRING |
| **text\_field2**<br><br><br>STRING |
| **unbalanced\_revenue\_exception**<br><br><br>BOOLEAN |

### country\_codes

The `country_codes` table contains info about country codes.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [country_codes schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/country_codes.json "Opens in new tab: country_codes schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003604453-Country-Codes-R- "Opens in new tab: SaaSOptics API method") |

country\_codes table schema

| **code**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### currency\_codes

The `currency_codes` table contains info about currency codes.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | code |
| **Useful links** | [currency_codes schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/currency_codes.json "Opens in new tab: currency_codes schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003604453-Country-Codes-R- "Opens in new tab: SaaSOptics API method") |

currency\_codes table schema

| **code**<br><br><br>STRING |
| --- |
| **name**<br><br><br>STRING |

### customers

The `customers` table contains info about customers.

| **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)** | modified |
| **Useful links** | [customers schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/customers.json "Opens in new tab: customers schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751587-Customers-CRUD- "Opens in new tab: SaaSOptics API method") |

customers table schema

| **autopay\_enrollment**<br><br><br>STRING |
| --- |
| **billing\_profile**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &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 billing\_profile<br><br><table> <tr> <td> <p> <strong>								account_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								alt_contact							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								alt_phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avatax_address_validation_timestamp							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								contact							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								customer_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								default_class							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								default_credit_memo_template							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								default_invoice_template							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								edit_sequence							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_use_code							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fax							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								full_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_email_preference							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_print_preference							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_active							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_sales_tax							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_updated_by_qb							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_method							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								payment_terms							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resale_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sales_rep							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sales_rep_fullname							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sales_tax_code							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								salutation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **cc\_email**<br><br><br>STRING |
| **code**<br><br><br>STRING |
| **crm\_id**<br><br><br>STRING |
| **default\_autorenewal\_profile**<br><br><br>STRING |
| **default\_email\_from\_so**<br><br><br>BOOLEAN |
| **default\_enable\_ach\_payment**<br><br><br>BOOLEAN |
| **default\_enable\_cc\_payment**<br><br><br>BOOLEAN |
| **default\_theme**<br><br><br>INTEGER |
| **do\_not\_sync**<br><br><br>BOOLEAN |
| **einvoicing\_id**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **enable\_autopay**<br><br><br>BOOLEAN |
| **escalation\_email**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **industry**<br><br><br>STRING |
| **is\_active**<br><br><br>BOOLEAN |
| **market**<br><br><br>STRING |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **number\_field1**<br><br><br>NUMBER |
| **number\_field2**<br><br><br>NUMBER |
| **number\_field3**<br><br><br>NUMBER |
| **parent**<br><br><br>INTEGER |
| **qb\_id**<br><br><br>STRING |
| **recurly\_id**<br><br><br>STRING |
| **segment**<br><br><br>STRING |
| **sf\_default\_renewal\_opportunity\_rule**<br><br><br>INTEGER |
| **sf\_id**<br><br><br>STRING |
| **sf\_opportunity\_price\_book\_id**<br><br><br>STRING |
| **sf\_owner\_id**<br><br><br>STRING |
| **stripe\_id**<br><br><br>STRING |
| **subsegment**<br><br><br>STRING |
| **text\_field1**<br><br><br>STRING |
| **text\_field2**<br><br><br>STRING |
| **text\_field3**<br><br><br>STRING |
| **unbalanced\_revenue\_exception**<br><br><br>BOOLEAN |

### deleted\_contracts

The `deleted_contracts` table contains a list of deleted SaaSOptics contracts.

| **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)** | deleted |
| **Useful links** | [deleted_contracts schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/deleted_contracts.json "Opens in new tab: deleted_contracts schema on GitHub") |

deleted\_contracts table schema

| **deleted**<br><br><br>DATE-TIME |
| --- |
| **deleted\_by**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |

### deleted\_invoices

The `deleted_invoices` table contains a list of deleted SaaSOptics 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)** | deleted |
| **Useful links** | [deleted_invoices schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/deleted_invoices.json "Opens in new tab: deleted_invoices schema on GitHub") |

deleted\_invoices table schema

| **deleted**<br><br><br>DATE-TIME |
| --- |
| **deleted\_by**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |

### deleted\_revenue\_entries

The `deleted_revenue_entries` table contains a list of deleted SaaSOptics revenue entries.

| **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)** | deleted |
| **Useful links** | [deleted_revenue_entries schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/deleted_revenue_entries.json "Opens in new tab: deleted_revenue_entries schema on GitHub") |

deleted\_revenue\_entries table schema

| **deleted**<br><br><br>DATE-TIME |
| --- |
| **deleted\_by**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |

### deleted\_transactions

The `deleted_transactions` table contains a list of deleted SaaSOptics transactions.

| **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)** | deleted |
| **Useful links** | [deleted_transactions schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/deleted_transactions.json "Opens in new tab: deleted_transactions schema on GitHub") |

deleted\_transactions table schema

| **deleted**<br><br><br>DATE-TIME |
| --- |
| **deleted\_by**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |

### invoices

The `invoices` table contains info about invoices in your SaaSOptics 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)** | auditentry\_modified |
| **Useful links** | [invoices schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/invoices.json "Opens in new tab: invoices schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013918148-Invoices-CRUD- "Opens in new tab: SaaSOptics API method") |

invoices table schema

| **applied\_amount**<br><br><br>NUMBER |
| --- |
| **auditentry\_created**<br><br><br>DATE-TIME |
| **auditentry\_created\_by\_name**<br><br><br>STRING |
| **auditentry\_modified**<br><br><br>DATE-TIME |
| **auditentry\_modified\_by\_name**<br><br><br>STRING |
| **auditentry\_qb\_created**<br><br><br>DATE-TIME |
| **auditentry\_qb\_modified**<br><br><br>DATE-TIME |
| **avatax\_commit\_timestamp**<br><br><br>DATE-TIME |
| **avatax\_id**<br><br><br>STRING |
| **avatax\_modify\_timestamp**<br><br><br>DATE-TIME |
| **avatax\_reconciliation\_status**<br><br><br>STRING |
| **avatax\_status**<br><br><br>STRING |
| **balance**<br><br><br>NUMBER |
| **billing\_addr1**<br><br><br>STRING |
| **billing\_addr2**<br><br><br>STRING |
| **billing\_addr3**<br><br><br>STRING |
| **billing\_city**<br><br><br>STRING |
| **billing\_country**<br><br><br>STRING |
| **billing\_state**<br><br><br>STRING |
| **billing\_zip\_code**<br><br><br>STRING |
| **contract**<br><br><br>INTEGER |
| **date**<br><br><br>DATE-TIME |
| **deleted\_in\_qb**<br><br><br>BOOLEAN |
| **do\_not\_sync**<br><br><br>BOOLEAN |
| **due\_date**<br><br><br>DATE-TIME |
| **ei\_theme**<br><br><br>INTEGER |
| **email\_from\_so**<br><br><br>BOOLEAN |
| **enable\_ach\_payment**<br><br><br>BOOLEAN |
| **enable\_cc\_payment**<br><br><br>BOOLEAN |
| **exported\_date**<br><br><br>DATE-TIME |
| **external\_id**<br><br><br>STRING |
| **foreign\_exchange\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **ignore\_date\_when\_syncing**<br><br><br>BOOLEAN |
| **is\_paid**<br><br><br>BOOLEAN |
| **line\_items**<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 line\_items<br><br><table> <tr> <td> <p> <strong>								deleted_in_qb							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								exported_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								external_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								home_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								invoice							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								item							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								local_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								modified							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								no_transaction_permitted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								qb_class							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								qb_time_modified							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								qb_txn_line_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								recurly_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								refund_of							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refund_of_stripe_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sf_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								stripe_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sync_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **memo**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **other**<br><br><br>STRING |
| **po\_number**<br><br><br>STRING |
| **qb\_ar\_account**<br><br><br>INTEGER |
| **qb\_class**<br><br><br>INTEGER |
| **qb\_currency**<br><br><br>INTEGER |
| **qb\_customer\_message**<br><br><br>INTEGER |
| **qb\_number**<br><br><br>STRING |
| **qb\_payment\_terms**<br><br><br>INTEGER |
| **qb\_sales\_rep**<br><br><br>INTEGER |
| **qb\_template**<br><br><br>INTEGER |
| **qb\_txn\_id**<br><br><br>STRING |
| **recurly\_id**<br><br><br>STRING |
| **refund\_of**<br><br><br>INTEGER |
| **sales\_tax**<br><br><br>NUMBER |
| **sales\_tax\_percentage**<br><br><br>NUMBER |
| **sf\_id**<br><br><br>STRING |
| **ship\_date**<br><br><br>DATE-TIME |
| **shipping\_addr1**<br><br><br>STRING |
| **shipping\_addr2**<br><br><br>STRING |
| **shipping\_addr3**<br><br><br>STRING |
| **shipping\_city**<br><br><br>STRING |
| **shipping\_country**<br><br><br>STRING |
| **shipping\_state**<br><br><br>STRING |
| **shipping\_zip\_code**<br><br><br>STRING |
| **stripe\_id**<br><br><br>STRING |
| **stripe\_refund\_id**<br><br><br>STRING |
| **subtotal**<br><br><br>NUMBER |
| **sync\_date**<br><br><br>DATE-TIME |
| **to\_be\_emailed**<br><br><br>BOOLEAN |
| **to\_be\_printed**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |

### items

The `items` table contains info about items, which are products and services you sell.

| **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)** | modified |
| **Useful links** | [items schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/items.json "Opens in new tab: items schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751567-Items-R- "Opens in new tab: SaaSOptics API method") |

items table schema

| **asset\_account**<br><br><br>INTEGER |
| --- |
| **avatax\_id**<br><br><br>STRING |
| **avatax\_sales\_tax\_code**<br><br><br>STRING |
| **billing\_description**<br><br><br>STRING |
| **billing\_method**<br><br><br>INTEGER |
| **code**<br><br><br>STRING |
| **create\_revenue**<br><br><br>BOOLEAN |
| **default\_duration**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **enable\_create\_transactions**<br><br><br>BOOLEAN |
| **enforce\_start\_date\_after\_end\_date**<br><br><br>BOOLEAN |
| **gl\_created**<br><br><br>DATE-TIME |
| **gl\_description**<br><br><br>STRING |
| **gl\_is\_active**<br><br><br>BOOLEAN |
| **gl\_modified**<br><br><br>DATE-TIME |
| **gl\_name**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **income\_account**<br><br><br>INTEGER |
| **intacct\_id**<br><br><br>STRING |
| **intacct\_modified**<br><br><br>DATE-TIME |
| **intacct\_recordno**<br><br><br>STRING |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_discount**<br><br><br>BOOLEAN |
| **is\_sales\_tax**<br><br><br>BOOLEAN |
| **is\_taxable**<br><br><br>BOOLEAN |
| **liability\_account**<br><br><br>INTEGER |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **needs\_so\_profile**<br><br><br>BOOLEAN |
| **netsuite\_id**<br><br><br>STRING |
| **netsuite\_modified**<br><br><br>DATE-TIME |
| **normalized\_term**<br><br><br>STRING |
| **product\_family**<br><br><br>STRING |
| **qb\_account**<br><br><br>INTEGER |
| **qb\_id**<br><br><br>STRING |
| **qb\_only**<br><br><br>BOOLEAN |
| **qb\_sales\_tax\_code**<br><br><br>STRING |
| **recurly\_id**<br><br><br>STRING |
| **recurring**<br><br><br>BOOLEAN |
| **renew\_all\_open\_transactions**<br><br><br>BOOLEAN |
| **renew\_using\_same\_item**<br><br><br>BOOLEAN |
| **revenue\_recognition\_method**<br><br><br>INTEGER |
| **sf\_do\_not\_sync**<br><br><br>BOOLEAN |
| **source\_system**<br><br><br>STRING |
| **stripe\_id**<br><br><br>STRING |
| **sync\_invoices**<br><br><br>BOOLEAN |
| **transaction\_end\_date**<br><br><br>DATE-TIME |
| **transaction\_start\_date**<br><br><br>DATE-TIME |
| **wizard\_enabled**<br><br><br>BOOLEAN |

### payment\_terms

The `payment_terms` table contains info about invoice payment terms.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [payment_terms schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/payment_terms.json "Opens in new tab: payment_terms schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003642673-Payment-Terms-R- "Opens in new tab: SaaSOptics API method") |

payment\_terms table schema

| **id**<br><br><br>INTEGER |
| --- |
| **intacct\_id**<br><br><br>STRING |
| **intacct\_modified**<br><br><br>DATE-TIME |
| **intacct\_recordno**<br><br><br>INTEGER |
| **is\_active**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **netsuite\_id**<br><br><br>STRING |
| **num\_days**<br><br><br>NUMBER |

### registers

The `registers` table contains info about registers, which can contain one or more [contracts](https://help.qlik.com/en-US/stitch/integrations/saas/saasoptics#contracts).

| **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)** | modified |
| **Useful links** | [registers schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/registers.json "Opens in new tab: registers schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115013751707-Registers-R- "Opens in new tab: SaaSOptics API method") |

registers table schema

| **currency\_code**<br><br><br>STRING |
| --- |
| **default\_qb\_ar\_account**<br><br><br>STRING |
| **generated\_invoice\_number\_prefix**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |

### revenue\_entries

The `revenue_entries` table contains info about revenue entries.

| **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)** | modified |
| **Useful links** | [revenue_entries schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/revenue_entries.json "Opens in new tab: revenue_entries schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003674273-Revenue-Entries-R- "Opens in new tab: SaaSOptics API method") |

revenue\_entries table schema

| **end\_date**<br><br><br>DATE-TIME |
| --- |
| **home\_amount**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **local\_amount**<br><br><br>NUMBER |
| **modified**<br><br><br>DATE-TIME |
| **start\_date**<br><br><br>DATE-TIME |
| **transaction**<br><br><br>INTEGER |

### revenue\_recognition\_methods

The `revenue_recognition_methods` table contains info about revenue recognition methods, which are the methods for calculating and generating revenue records for a transaction.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [revenue_recognition_methods schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/revenue_recognition_methods.json "Opens in new tab: revenue_recognition_methods schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/115003617774-Revenue-Recognition-Methods-R- "Opens in new tab: SaaSOptics API method") |

revenue\_recognition\_methods table schema

| **id**<br><br><br>INTEGER |
| --- |
| **name**<br><br><br>STRING |

### sales\_orders

The `sales_orders` table contains info about sales orders, which have historically been synced in through the Salesforce integration and processed into financial records within SaaSOptics.

| **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)** | created |
| **Useful links** | [sales_orders schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/sales_orders.json "Opens in new tab: sales_orders schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/360000738813-Sales-Orders-CR- "Opens in new tab: SaaSOptics API method") |

sales\_orders table schema

| **close\_date**<br><br><br>DATE-TIME |
| --- |
| **contract\_channel**<br><br><br>STRING |
| **contract\_email**<br><br><br>STRING |
| **contract\_entry\_date**<br><br><br>DATE-TIME |
| **contract\_is\_job**<br><br><br>BOOLEAN |
| **contract\_lead\_date**<br><br><br>DATE-TIME |
| **contract\_lead\_source**<br><br><br>STRING |
| **contract\_notes**<br><br><br>STRING |
| **contract\_number**<br><br><br>STRING |
| **contract\_number\_field1**<br><br><br>NUMBER |
| **contract\_number\_field2**<br><br><br>NUMBER |
| **contract\_register\_name**<br><br><br>STRING |
| **contract\_sf\_id**<br><br><br>STRING |
| **contract\_text\_field1**<br><br><br>STRING |
| **contract\_text\_field2**<br><br><br>STRING |
| **contract\_unbalanced\_revenue\_exception**<br><br><br>BOOLEAN |
| **created**<br><br><br>DATE-TIME |
| **created\_by\_username**<br><br><br>STRING |
| **customer\_account\_number**<br><br><br>STRING |
| **customer\_alt\_contact**<br><br><br>STRING |
| **customer\_alt\_phone**<br><br><br>STRING |
| **customer\_autopay\_enrollment**<br><br><br>STRING |
| **customer\_billing\_addr3**<br><br><br>STRING |
| **customer\_billing\_city**<br><br><br>STRING |
| **customer\_billing\_country**<br><br><br>STRING |
| **customer\_billing\_state**<br><br><br>STRING |
| **customer\_billing\_street**<br><br><br>STRING |
| **customer\_billing\_zip\_code**<br><br><br>STRING |
| **customer\_code**<br><br><br>STRING |
| **customer\_contact**<br><br><br>STRING |
| **customer\_crm\_id**<br><br><br>STRING |
| **customer\_currency**<br><br><br>STRING |
| **customer\_default\_autorenewal\_profile**<br><br><br>STRING |
| **customer\_default\_cadence\_template**<br><br><br>STRING |
| **customer\_default\_email\_from\_so**<br><br><br>STRING |
| **customer\_default\_enable\_ach\_payment**<br><br><br>BOOLEAN |
| **customer\_default\_enable\_cc\_payment**<br><br><br>BOOLEAN |
| **customer\_default\_invoice\_template**<br><br><br>STRING |
| **customer\_default\_theme**<br><br><br>STRING |
| **customer\_do\_not\_sync**<br><br><br>BOOLEAN |
| **customer\_email**<br><br><br>STRING |
| **customer\_enable\_autopay**<br><br><br>BOOLEAN |
| **customer\_entity\_use\_code**<br><br><br>STRING |
| **customer\_fax**<br><br><br>STRING |
| **customer\_first\_name**<br><br><br>STRING |
| **customer\_industry**<br><br><br>STRING |
| **customer\_invoice\_email\_preference**<br><br><br>BOOLEAN |
| **customer\_invoice\_print\_preference**<br><br><br>BOOLEAN |
| **customer\_item\_sales\_tax**<br><br><br>STRING |
| **customer\_last\_name**<br><br><br>STRING |
| **customer\_market**<br><br><br>STRING |
| **customer\_name**<br><br><br>STRING |
| **customer\_notes**<br><br><br>STRING |
| **customer\_number**<br><br><br>STRING |
| **customer\_number\_field1**<br><br><br>NUMBER |
| **customer\_number\_field2**<br><br><br>NUMBER |
| **customer\_number\_field3**<br><br><br>NUMBER |
| **customer\_parent**<br><br><br>STRING |
| **customer\_payment\_terms**<br><br><br>STRING |
| **customer\_phone**<br><br><br>STRING |
| **customer\_resale\_number**<br><br><br>STRING |
| **customer\_sales\_rep**<br><br><br>STRING |
| **customer\_sales\_tax\_code**<br><br><br>STRING |
| **customer\_salutation**<br><br><br>STRING |
| **customer\_segment**<br><br><br>STRING |
| **customer\_sf\_default\_renewal\_opportunity\_rule**<br><br><br>STRING |
| **customer\_sf\_opportunity\_price\_book\_id**<br><br><br>STRING |
| **customer\_sf\_owner\_id**<br><br><br>STRING |
| **customer\_sfdc\_object\_id**<br><br><br>STRING |
| **customer\_shipping\_addr3**<br><br><br>STRING |
| **customer\_shipping\_city**<br><br><br>STRING |
| **customer\_shipping\_country**<br><br><br>STRING |
| **customer\_shipping\_state**<br><br><br>STRING |
| **customer\_shipping\_street**<br><br><br>STRING |
| **customer\_shipping\_zip\_code**<br><br><br>STRING |
| **customer\_subsegment**<br><br><br>STRING |
| **customer\_text\_field1**<br><br><br>STRING |
| **customer\_text\_field2**<br><br><br>STRING |
| **customer\_text\_field3**<br><br><br>STRING |
| **customer\_type**<br><br><br>STRING |
| **customer\_unbalanced\_revenue\_exception**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **line\_items**<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 line\_items<br><br><table> <tr> <td> <p> <strong>								affected_transaction							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_by_username							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_billing_zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_cadence_template							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_do_not_sync							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_ei_combine_all_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_ei_combine_lines							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_ei_theme							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_email_from_so							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_enable_ach_payment							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_enable_cc_payment							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_ignore_date_when_syncing							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_memo							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_other							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_payment_terms							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_po_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_qb_class							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_qb_customer_message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_qb_payment_terms							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_qb_sales_rep							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_qb_template							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_ship_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_addr3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_shipping_zip_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_suppress_zero_value_line_items							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_to_be_emailed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_to_be_printed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								processed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								project_template							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								renewed_transaction							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sfdc_object_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_amount_after_discount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_arr_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_billing_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_conversion							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_crm_opportunity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_crm_opportunity_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_discount_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_effective_change_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_effective_end_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_end_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_flagged							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_foreign_exchange_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_generate_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_generate_revenue							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_ili_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_ili_qb_class							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_invoice_end_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_invoice_quantity							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_invoice_start_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_item_class_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_item_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_item_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_monthly_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_normalized_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_normalized_term							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_number_field1							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_number_field2							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_order_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_order_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_quantity							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_recognize							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renew_using_item							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_amount_percentage							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_factor							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_probability							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_renewal_quantity							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_revenue_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_revenue_end_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_revenue_recognition_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_revenue_start_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_sales_manager							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_sales_rep							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_sf_group_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_sf_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_sf_renewal_opportunitiy_rule							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_start_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_term_number							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_text_field1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_text_field2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_unbalanced_revenue_exception							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **name**<br><br><br>STRING |
| **order\_notes**<br><br><br>STRING |
| **order\_total**<br><br><br>STRING |
| **project\_name**<br><br><br>STRING |
| **project\_template**<br><br><br>STRING |
| **quickbooks\_job\_account\_number**<br><br><br>STRING |
| **quickbooks\_job\_addr1**<br><br><br>STRING |
| **quickbooks\_job\_addr2**<br><br><br>STRING |
| **quickbooks\_job\_addr3**<br><br><br>STRING |
| **quickbooks\_job\_alt\_contact**<br><br><br>STRING |
| **quickbooks\_job\_alt\_phone**<br><br><br>STRING |
| **quickbooks\_job\_city**<br><br><br>STRING |
| **quickbooks\_job\_company\_name**<br><br><br>STRING |
| **quickbooks\_job\_contact**<br><br><br>STRING |
| **quickbooks\_job\_country**<br><br><br>STRING |
| **quickbooks\_job\_default\_credit\_memo\_template**<br><br><br>STRING |
| **quickbooks\_job\_default\_invoice\_template**<br><br><br>STRING |
| **quickbooks\_job\_description**<br><br><br>STRING |
| **quickbooks\_job\_email**<br><br><br>STRING |
| **quickbooks\_job\_end\_date**<br><br><br>DATE-TIME |
| **quickbooks\_job\_fax**<br><br><br>STRING |
| **quickbooks\_job\_first\_name**<br><br><br>STRING |
| **quickbooks\_job\_invoice\_email\_preference**<br><br><br>BOOLEAN |
| **quickbooks\_job\_invoice\_print\_preference**<br><br><br>BOOLEAN |
| **quickbooks\_job\_is\_active**<br><br><br>BOOLEAN |
| **quickbooks\_job\_last\_name**<br><br><br>STRING |
| **quickbooks\_job\_name**<br><br><br>STRING |
| **quickbooks\_job\_payment\_terms**<br><br><br>STRING |
| **quickbooks\_job\_phone**<br><br><br>STRING |
| **quickbooks\_job\_projected\_end\_date**<br><br><br>DATE-TIME |
| **quickbooks\_job\_resale\_number**<br><br><br>STRING |
| **quickbooks\_job\_sales\_rep**<br><br><br>STRING |
| **quickbooks\_job\_salutation**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_addr1**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_addr2**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_addr3**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_city**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_country**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_state**<br><br><br>STRING |
| **quickbooks\_job\_shipping\_zip\_code**<br><br><br>STRING |
| **quickbooks\_job\_start\_date**<br><br><br>DATE-TIME |
| **quickbooks\_job\_state**<br><br><br>STRING |
| **quickbooks\_job\_status**<br><br><br>STRING |
| **quickbooks\_job\_type**<br><br><br>STRING |
| **quickbooks\_job\_zip\_code**<br><br><br>STRING |
| **sales\_order\_id**<br><br><br>STRING |
| **stage\_name**<br><br><br>STRING |
| **type**<br><br><br>STRING |

### transactions

The `transactions` table contains info about transactions.

| **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)** | modified |
| **Useful links** | [transactions schema on GitHub](https://github.com/singer-io/tap-saasoptics/blob/master/tap_saasoptics/schemas/transactions.json "Opens in new tab: transactions schema on GitHub")<br><br><br>[SaaSOptics API method](https://saasoptics.zendesk.com/hc/en-us/articles/360000066333-Transactions-CRUD- "Opens in new tab: SaaSOptics API method") |

transactions table schema

| **always\_use\_amount\_as\_normalized\_amount**<br><br><br>BOOLEAN |
| --- |
| **auditentry\_created**<br><br><br>DATE-TIME |
| **auditentry\_created\_by\_name**<br><br><br>STRING |
| **auditentry\_modified**<br><br><br>DATE-TIME |
| **auditentry\_modified\_by\_name**<br><br><br>STRING |
| **automatically\_update\_revenue**<br><br><br>BOOLEAN |
| **autorenewal\_profile**<br><br><br>INTEGER |
| **billing\_method**<br><br><br>INTEGER |
| **cancelled**<br><br><br>BOOLEAN |
| **contract**<br><br><br>INTEGER |
| **conversion**<br><br><br>STRING |
| **crm\_opportunity\_id**<br><br><br>STRING |
| **crm\_opportunity\_line\_item\_id**<br><br><br>STRING |
| **different\_invoice\_item\_permitted**<br><br><br>BOOLEAN |
| **do\_not\_sync\_invoices**<br><br><br>BOOLEAN |
| **duration**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **flagged**<br><br><br>STRING |
| **foreign\_exchange\_rate**<br><br><br>NUMBER |
| **home\_amount**<br><br><br>NUMBER |
| **home\_arr\_amount**<br><br><br>NUMBER |
| **home\_normalized\_amount**<br><br><br>NUMBER |
| **home\_normalized\_rate**<br><br><br>NUMBER |
| **home\_rate**<br><br><br>NUMBER |
| **id**<br><br><br>INTEGER |
| **ili\_qb\_class**<br><br><br>STRING |
| **invoice\_description**<br><br><br>STRING |
| **is\_autorenewal**<br><br><br>BOOLEAN |
| **item**<br><br><br>INTEGER |
| **item\_class**<br><br><br>INTEGER |
| **local\_amount**<br><br><br>NUMBER |
| **local\_arr\_amount**<br><br><br>NUMBER |
| **local\_normalized\_amount**<br><br><br>NUMBER |
| **local\_normalized\_rate**<br><br><br>NUMBER |
| **local\_rate**<br><br><br>NUMBER |
| **modified**<br><br><br>DATE-TIME |
| **monthyear**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **number**<br><br><br>STRING |
| **number\_field1**<br><br><br>NUMBER |
| **number\_field2**<br><br><br>NUMBER |
| **order\_date**<br><br><br>DATE-TIME |
| **order\_number**<br><br><br>STRING |
| **project**<br><br><br>INTEGER |
| **quantity**<br><br><br>NUMBER |
| **recognize**<br><br><br>BOOLEAN |
| **reconcile\_required**<br><br><br>BOOLEAN |
| **renew\_using\_item**<br><br><br>INTEGER |
| **renewal\_amount**<br><br><br>NUMBER |
| **renewal\_amount\_percentage**<br><br><br>NUMBER |
| **renewal\_amount\_value**<br><br><br>NUMBER |
| **renewal\_duration**<br><br><br>STRING |
| **renewal\_factor**<br><br><br>INTEGER |
| **renewal\_of\_set**<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;. |
| **renewal\_probability**<br><br><br>NUMBER |
| **renewal\_quantity**<br><br><br>NUMBER |
| **revenue\_amount**<br><br><br>NUMBER |
| **revenue\_notes**<br><br><br>STRING |
| **sales\_manager**<br><br><br>STRING |
| **sales\_rep**<br><br><br>STRING |
| **sf\_group\_id**<br><br><br>STRING |
| **sf\_id**<br><br><br>STRING |
| **sf\_opportunity\_id**<br><br><br>STRING |
| **sf\_opportunity\_line\_item\_id**<br><br><br>STRING |
| **sf\_renewal\_opportunity\_id**<br><br><br>STRING |
| **sf\_renewal\_opportunity\_line\_item\_id**<br><br><br>STRING |
| **sf\_renewal\_opportunity\_rule**<br><br><br>STRING |
| **start\_date**<br><br><br>DATE-TIME |
| **term\_number**<br><br><br>INTEGER |
| **text\_field1**<br><br><br>STRING |
| **text\_field2**<br><br><br>STRING |
| **unbalanced\_revenue\_exception**<br><br><br>BOOLEAN |