# Chargebee (v1)

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

## Chargebee integration summary

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

This integration supports Chargebee sites that use version 1.0 or version 2.0 of Chargebee’s Product Catalog. The Product Catalog version your site uses determines which tables and fields you can select for replication, however. Refer to the [Table and field availability and Chargebee product catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

## Chargebee feature snapshot

A high-level look at Stitch's Chargebee (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 May 21, 2019 | **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-chargebee](https://github.com/singer-io/tap-chargebee) |  |  |
| **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 Chargebee

### Step 1: Generate an API Key

First, you’ll generate a Chargebee API Key for Stitch. This will allow Stitch to read data from your Chargebee account using the Chargebee API.

![](https://help.qlik.com/en-US/stitch/images/integrations/chargebee-create-api-key.png)

1. Sign into your [Chargebee account](https://app.chargebee.com/login).
2. In the left sidenav, click **Settings &gt; Configure Chargebee**.
3. Click the **API keys and webhooks** button.
4. On the API Keys page, click the **+ Add API Key** button. The **Create an API Key** modal will display.
5. Select **Read-Only Key** as the API key type.
6. Select **All** to define the API key’s access. This will grant read-only access to your Chargebee site.
7. In the **Name the API key** field, enter `Stitch`.
8. Click **Create Key**.

Chargebee will create the API key and redirect you back to the API Keys page:

![](https://help.qlik.com/en-US/stitch/images/integrations/chargebee-api-key.png)

Copy the API key somwhere handy - you’ll need it to complete the setup in Stitch.

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

5. In the **API Key** field, paste the API key you generated in [Step 1](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#generate-api-key).

6. In the **Site** field, enter the name of your Chargebee site. This can be found in the URL of your Chargebee site. For example: If the URL was `https://stitch.chargebee.com`, only `stitch` would be entered into this field.

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

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

Chargebee 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 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/chargebee#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 Chargebee 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 Chargebee, 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.

## Chargebee replication

* [Table and field availability and Chargebee product catalogs](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions)

### Table and field availability and Chargebee product catalogs

The availability of some tables and fields is dependent on the Chargebee Product Catalog version your Chargebee site uses. Refer to [Chargebee’s documentation](https://www.chargebee.com/docs/2.0/product-catalog.html) for more info, including how to identify which Product Catalog version your site is using.

The following table contains a list of the tables included in this version of Stitch’s Chargebee integration and the Product Catalog version required to replicate the table.

Additionally, some fields are also subject to Product Catalog version requirements. These fields are noted in the attribute documentation for individual tables.

**Note**: If your site is using a Product Catalog version that a table or field doesn’t support, the table/field won’t display in the **Tables to Replicate** tab in Stitch. For example: If the site is using v2.0 of the Product Catalog, tables/fields that require v1.0 won’t display in Stitch.

| **Table name** | **Required Product Catalog version** |
| --- | --- |

## Chargebee 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 Chargebee 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.

### addons

The `addons` table contains info about the addons in your Chargebee account. Addons are additional charges applied to subscriptions apart from base charges.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [addons schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/plan_model/addons.json "Opens in new tab: addons schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/addons?prod_cat_ver=1#list_addons "Opens in new tab: Chargebee API method") |

addons table foreign keys

| Join addons with | on |
| --- | --- |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>addons.id = invoices.notes.entity_id<br>``` |
| [plans](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#plans) | ```<br>addons.id = plans.applicable_addons.id<br>``` |

addons table schema

| **accounting\_category1**<br><br><br>STRING |
| --- |
| **accounting\_category2**<br><br><br>STRING |
| **accounting\_category3**<br><br><br>STRING |
| **accounting\_category4**<br><br><br>STRING |
| **accounting\_code**<br><br><br>STRING |
| **archived\_at**<br><br><br>DATE-TIME |
| **avalara\_sale\_type**<br><br><br>STRING |
| **avalara\_service\_type**<br><br><br>INTEGER |
| **avalara\_transaction\_type**<br><br><br>INTEGER |
| **channel**<br><br><br>STRING |
| **charge\_type**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **custom\_fields**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **enabled\_in\_portal**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **included\_in\_mrr**<br><br><br>BOOLEAN |
| **invoice\_name**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **is\_shippable**<br><br><br>BOOLEAN |
| **meta\_data**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **period**<br><br><br>INTEGER |
| **period\_unit**<br><br><br>STRING |
| **price**<br><br><br>INTEGER |
| **price\_in\_decimal**<br><br><br>STRING |
| **pricing\_model**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **shipping\_frequency\_period**<br><br><br>INTEGER |
| **shipping\_frequency\_period\_unit**<br><br><br>STRING |
| **show\_description\_in\_invoices**<br><br><br>BOOLEAN |
| **show\_description\_in\_quotes**<br><br><br>BOOLEAN |
| **sku**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **tax\_code**<br><br><br>STRING |
| **tax\_profile\_id**<br><br><br>STRING |
| **taxable**<br><br><br>BOOLEAN |
| **taxjar\_product\_code**<br><br><br>STRING |
| **tiers**<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 tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **type**<br><br><br>STRING |
| **unit**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### comments

The `comments` table contains info about comments in your Chargebee 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)** | created\_at |
| **Useful links** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/comments "Opens in new tab: Chargebee documentation")<br><br><br>[comments schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/common/comments.json "Opens in new tab: comments schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/comments#list_comments "Opens in new tab: Chargebee API method") |

comments table schema

| **added\_by**<br><br><br>STRING |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **entity\_id**<br><br><br>STRING |
| **entity\_type**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **type**<br><br><br>STRING |

### coupons

The `coupons` table contains info about the coupons in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [coupons schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/coupons.json "Opens in new tab: coupons schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/coupons#list_coupons "Opens in new tab: Chargebee API method") |

coupons table foreign keys

| Join coupons with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>coupons.id = credit_notes.discounts.entity_id<br>```<br><br>```<br>coupons.id = credit_notes.line_item_discounts.coupon_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>coupons.id = events.content.coupon.id<br>```<br><br>```<br>coupons.id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>coupons.id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>coupons.id = events.content.subscription.coupons.coupon_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>coupons.id = invoices.discounts.entity_id<br>```<br><br>```<br>coupons.id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>coupons.id = invoices.notes.entity_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>coupons.id = subscriptions.coupons.coupon_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>coupons.id = orders.line_item_discounts.coupon_id<br>``` |

coupons table schema

| **apply\_discount\_on**<br><br><br>STRING |
| --- |
| **apply\_on**<br><br><br>STRING |
| **archived\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **currency\_code**<br><br><br>STRING |
| **discount\_amount**<br><br><br>NUMBER |
| **discount\_percentage**<br><br><br>NUMBER |
| **discount\_type**<br><br><br>STRING |
| **duration\_month**<br><br><br>INTEGER |
| **duration\_type**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **invoice\_name**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **item\_constraint\_criteria**<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 item\_constraint\_criteria<br><br><table> <tr> <td> <p> <strong>								currencies							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_family_ids							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_price_periods							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **item\_constraints**<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 item\_constraints<br><br><table> <tr> <td> <p> <strong>								constraint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_ids							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **max\_redemptions**<br><br><br>INTEGER |
| **meta\_data**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **period**<br><br><br>INTEGER |
| **period\_unit**<br><br><br>STRING |
| **redemptions**<br><br><br>INTEGER |
| **resource\_version**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **valid\_till**<br><br><br>DATE-TIME |

### credit\_notes

The `credit_notes` table contains info about the credit notes in your Chargebee account. A credit note is a document that specifies the money owed by a business to a customer.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/credit_notes "Opens in new tab: Chargebee documentation")<br><br><br>[credit_notes schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/common/credit_notes.json "Opens in new tab: credit_notes schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/credit_notes#list_credit_notes "Opens in new tab: Chargebee API method") |

credit\_notes table foreign keys

| Join credit\_notes with | on |
| --- | --- |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#coupons) | ```<br>credit_notes.discounts.entity_id = coupons.id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = coupons.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>credit_notes.discounts.entity_id = events.content.coupon.id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = events.content.coupon.id<br>```<br><br>```<br>credit_notes.discounts.entity_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>credit_notes.discounts.entity_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.discounts.entity_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>credit_notes.id = events.content.invoice.adjustment_credit_notes.cn_id<br>```<br><br>```<br>credit_notes.id = events.content.invoice.applied_credits.cn_id<br>```<br><br>```<br>credit_notes.id = events.content.invoice.issued_credit_notes.cn_id<br>```<br><br>```<br>credit_notes.customer_id = events.content.customer.id<br>```<br><br>```<br>credit_notes.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>credit_notes.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>credit_notes.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = events.content.invoice.id<br>```<br><br>```<br>credit_notes.reference_invoice_id = events.content.invoice.id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>credit_notes.reference_invoice_id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>credit_notes.line_items.id = events.content.invoice.line_items.id<br>```<br><br>```<br>credit_notes.subscription_id = events.content.subscription.id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = events.content.subscription.id<br>```<br><br>```<br>credit_notes.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>credit_notes.subscription_id = events.content.transaction.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = events.content.transaction.subscription_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = events.content.transaction.id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = events.content.transaction.refunded_txn_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>credit_notes.discounts.entity_id = invoices.discounts.entity_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = invoices.discounts.entity_id<br>```<br><br>```<br>credit_notes.discounts.entity_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.discounts.entity_id = invoices.notes.entity_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = invoices.notes.entity_id<br>```<br><br>```<br>credit_notes.id = invoices.adjustment_credit_notes.cn_id<br>```<br><br>```<br>credit_notes.id = invoices.applied_credits.cn_id<br>```<br><br>```<br>credit_notes.id = invoices.issued_credit_notes.cn_id<br>```<br><br>```<br>credit_notes.customer_id = invoices.customer_id<br>```<br><br>```<br>credit_notes.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = invoices.id<br>```<br><br>```<br>credit_notes.reference_invoice_id = invoices.id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = invoices.line_items.id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = invoices.line_items.id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = invoices.line_items.id<br>```<br><br>```<br>credit_notes.line_items.id = invoices.line_items.id<br>```<br><br>```<br>credit_notes.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>credit_notes.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>credit_notes.subscription_id = invoices.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = invoices.subscription_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = invoices.linked_payments.txn_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>credit_notes.discounts.entity_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>credit_notes.customer_id = subscriptions.customer_id<br>```<br><br>```<br>credit_notes.subscription_id = subscriptions.id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = subscriptions.id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>credit_notes.discounts.entity_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.line_item_discounts.coupon_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>credit_notes.id = orders.linked_credit_notes.id<br>```<br><br>```<br>credit_notes.customer_id = orders.customer_id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = orders.invoice_id<br>```<br><br>```<br>credit_notes.reference_invoice_id = orders.invoice_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>credit_notes.line_item_discounts.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_taxes.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_item_tiers.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.line_items.id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>credit_notes.subscription_id = orders.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = orders.subscription_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>credit_notes.customer_id = customers.id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>credit_notes.customer_id = payment_sources.customer_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>credit_notes.customer_id = promotional_credits.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>credit_notes.customer_id = transactions.customer_id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>credit_notes.reference_invoice_id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>credit_notes.subscription_id = transactions.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = transactions.subscription_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = transactions.id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = transactions.reference_transaction_id<br>```<br><br>```<br>credit_notes.linked_refunds.txn_id = transactions.refunded_txn_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>credit_notes.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>credit_notes.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>credit_notes.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>credit_notes.allocations.invoice_id = gifts.gifter.invoice_id<br>```<br><br>```<br>credit_notes.reference_invoice_id = gifts.gifter.invoice_id<br>```<br><br>```<br>credit_notes.subscription_id = gifts.gift_receiver.subscription_id<br>```<br><br>```<br>credit_notes.line_items.subscription_id = gifts.gift_receiver.subscription_id<br>``` |

credit\_notes table schema

| **allocations**<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 allocations<br><br><table> <tr> <td> <p> <strong>								allocated_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								allocated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **amount\_allocated**<br><br><br>INTEGER |
| **amount\_available**<br><br><br>INTEGER |
| **amount\_refunded**<br><br><br>INTEGER |
| **base\_currency\_code**<br><br><br>STRING |
| **channel**<br><br><br>STRING |
| **create\_reason\_code**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **date**<br><br><br>DATE-TIME |
| **deleted**<br><br><br>BOOLEAN |
| **discounts**<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 discounts<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **einvoice**<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 einvoice<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **exchange\_rate**<br><br><br>NUMBER |
| **fractional\_correction**<br><br><br>INTEGER |
| **generated\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>STRING |
| **line\_item\_discounts**<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 line\_item\_discounts<br><br><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_item\_taxes**<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 line\_item\_taxes<br><br><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **line\_item\_tiers**<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 line\_item\_tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_items**<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 line\_items<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **linked\_refunds**<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 linked\_refunds<br><br><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								refund_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **local\_currency\_code**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **price\_type**<br><br><br>STRING |
| **reason\_code**<br><br><br>STRING |
| **reference\_invoice\_id**<br><br><br>STRING |
| **refunded\_at**<br><br><br>DATE-TIME |
| **resource\_version**<br><br><br>INTEGER |
| **round\_off\_amount**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **sub\_total**<br><br><br>INTEGER |
| **sub\_total\_in\_local\_currency**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>STRING |
| **taxes**<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 taxes<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total**<br><br><br>INTEGER |
| **total\_in\_local\_currency**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **vat\_number**<br><br><br>STRING |
| **vat\_number\_prefix**<br><br><br>STRING |
| **voided\_at**<br><br><br>DATE-TIME |

### customers

The `customers` table contains info about the customers in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/customers "Opens in new tab: Chargebee documentation")<br><br><br>[customers schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/customers.json "Opens in new tab: customers schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/customers#list_customers "Opens in new tab: Chargebee API method") |

customers table foreign keys

| Join customers with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>customers.id = credit_notes.customer_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>customers.id = events.content.customer.id<br>```<br><br>```<br>customers.id = events.content.invoice.customer_id<br>```<br><br>```<br>customers.id = events.content.subscription.customer_id<br>```<br><br>```<br>customers.id = events.content.transaction.customer_id<br>```<br><br>```<br>customers.primary_payment_source_id = events.content.subscription.payment_source_id<br>```<br><br>```<br>customers.primary_payment_source_id = events.content.transaction.payment_source_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>customers.id = invoices.customer_id<br>```<br><br>```<br>customers.id = invoices.notes.entity_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>customers.id = payment_sources.customer_id<br>```<br><br>```<br>customers.primary_payment_source_id = payment_sources.id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>customers.id = promotional_credits.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>customers.id = subscriptions.customer_id<br>```<br><br>```<br>customers.primary_payment_source_id = subscriptions.payment_source_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>customers.id = transactions.customer_id<br>```<br><br>```<br>customers.primary_payment_source_id = transactions.payment_source_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>customers.id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>customers.id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>customers.id = gifts.gifter.customer_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>customers.id = orders.customer_id<br>``` |

customers table schema

| **allow\_direct\_debit**<br><br><br>BOOLEAN |
| --- |
| **auto\_close\_invoices**<br><br><br>BOOLEAN |
| **auto\_collection**<br><br><br>STRING |
| **backup\_payment\_source\_id**<br><br><br>STRING |
| **balances**<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 balances<br><br><table> <tr> <td> <p> <strong>								balance_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								excess_payments							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								promotional_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unbilled_charges							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **billing\_address**<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\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **billing\_date**<br><br><br>BOOLEAN |
| **billing\_date\_mode**<br><br><br>STRING |
| **billing\_day\_of\_week**<br><br><br>BOOLEAN |
| **billing\_day\_of\_week\_mode**<br><br><br>STRING |
| **business\_customer\_without\_vat\_number**<br><br><br>BOOLEAN |
| **business\_entity\_id**<br><br><br>STRING |
| **card\_status**<br><br><br>STRING |
| **cf\_company\_id**<br><br><br>INTEGER, STRING |
| **cf\_people\_id**<br><br><br>STRING |
| **channel**<br><br><br>STRING |
| **child\_account\_access**<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 child\_account\_access<br><br><table> <tr> <td> <p> <strong>								portal_download_invoices							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portal_edit_subscriptions							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_invoice_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_payment_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_subscription_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **client\_profile\_id**<br><br><br>STRING |
| **company**<br><br><br>STRING |
| **consolidated\_invoicing**<br><br><br>BOOLEAN |
| **contacts**<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 contacts<br><br><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_account_email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_billing_email							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **created\_from\_ip**<br><br><br>STRING |
| **custom\_fields**<br><br><br>STRING |
| **customer\_type**<br><br><br>STRING |
| **deleted**<br><br><br>BOOLEAN |
| **email**<br><br><br>STRING |
| **entity\_code**<br><br><br>STRING |
| **entity\_identifier\_scheme**<br><br><br>STRING |
| **entity\_identifier\_standard**<br><br><br>STRING |
| **entity\_identifiers**<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 entity\_identifiers<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scheme							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								standard							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **excess\_payments**<br><br><br>INTEGER |
| **exempt\_number**<br><br><br>STRING |
| **exemption\_details**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **fraud\_flag**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **is\_einvoice\_enabled**<br><br><br>BOOLEAN |
| **is\_location\_valid**<br><br><br>BOOLEAN |
| **last\_name**<br><br><br>STRING |
| **locale**<br><br><br>STRING |
| **meta\_data**<br><br><br>STRING |
| **mrr**<br><br><br>INTEGER |
| **net\_term\_days**<br><br><br>INTEGER |
| **object**<br><br><br>STRING |
| **offline\_payment\_method**<br><br><br>STRING |
| **parent\_account\_access**<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 parent\_account\_access<br><br><table> <tr> <td> <p> <strong>								portal_download_child_invoices							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portal_edit_child_subscriptions							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_invoice_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_payment_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_subscription_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **payment\_method**<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 payment\_method<br><br><table> <tr> <td> <p> <strong>								gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **phone**<br><br><br>STRING |
| **pii\_cleared**<br><br><br>STRING |
| **preferred\_currency\_code**<br><br><br>STRING |
| **primary\_payment\_source\_id**<br><br><br>STRING |
| **promotional\_credits**<br><br><br>INTEGER |
| **referral\_urls**<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 referral\_urls<br><br><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								external_customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_external_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_sharing_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table> |
| **refundable\_credits**<br><br><br>INTEGER |
| **registered\_for\_gst**<br><br><br>BOOLEAN |
| **relationship**<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 relationship<br><br><table> <tr> <td> <p> <strong>								invoice_owner_id							</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_owner_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								root_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **resource\_version**<br><br><br>INTEGER |
| **tax\_providers\_fields**<br><br><br>STRING |
| **taxability**<br><br><br>STRING |
| **unbilled\_charges**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **use\_default\_hierarchy\_settings**<br><br><br>BOOLEAN |
| **vat\_number**<br><br><br>STRING |
| **vat\_number\_prefix**<br><br><br>STRING |
| **vat\_number\_status**<br><br><br>STRING |
| **vat\_number\_validated\_time**<br><br><br>DATE-TIME |

### events

The `events` table contains info about the events that have occurred on your Chargebee site. Event records contain data about affected resources and additional details, such as when the change occurred. This can be used to create a log of events for a record and analyze how it has changed over time.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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)** | occurred\_at |
| **Useful links** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/events "Opens in new tab: Chargebee documentation")<br><br><br>[events schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/events.json "Opens in new tab: events schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/events#list_events "Opens in new tab: Chargebee API method") |

events table foreign keys

| Join events with | on |
| --- | --- |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#coupons) | ```<br>events.content.coupon.id = coupons.id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = coupons.id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = coupons.id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = coupons.id<br>``` |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>events.content.coupon.id = credit_notes.discounts.entity_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>events.content.coupon.id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.adjustment_credit_notes.cn_id = credit_notes.id<br>```<br><br>```<br>events.content.invoice.applied_credits.cn_id = credit_notes.id<br>```<br><br>```<br>events.content.invoice.issued_credit_notes.cn_id = credit_notes.id<br>```<br><br>```<br>events.content.customer.id = credit_notes.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = credit_notes.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = credit_notes.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = credit_notes.customer_id<br>```<br><br>```<br>events.content.invoice.id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>events.content.invoice.id = credit_notes.reference_invoice_id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = credit_notes.reference_invoice_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>events.content.invoice.line_items.id = credit_notes.line_items.id<br>```<br><br>```<br>events.content.subscription.id = credit_notes.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>events.content.subscription.id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = credit_notes.linked_refunds.txn_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>events.content.coupon.id = invoices.discounts.entity_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = invoices.discounts.entity_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = invoices.discounts.entity_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = invoices.discounts.entity_id<br>```<br><br>```<br>events.content.coupon.id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.coupon.id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.adjustment_credit_notes.cn_id = invoices.adjustment_credit_notes.cn_id<br>```<br><br>```<br>events.content.invoice.applied_credits.cn_id = invoices.adjustment_credit_notes.cn_id<br>```<br><br>```<br>events.content.invoice.issued_credit_notes.cn_id = invoices.adjustment_credit_notes.cn_id<br>```<br><br>```<br>events.content.invoice.adjustment_credit_notes.cn_id = invoices.applied_credits.cn_id<br>```<br><br>```<br>events.content.invoice.applied_credits.cn_id = invoices.applied_credits.cn_id<br>```<br><br>```<br>events.content.invoice.issued_credit_notes.cn_id = invoices.applied_credits.cn_id<br>```<br><br>```<br>events.content.invoice.adjustment_credit_notes.cn_id = invoices.issued_credit_notes.cn_id<br>```<br><br>```<br>events.content.invoice.applied_credits.cn_id = invoices.issued_credit_notes.cn_id<br>```<br><br>```<br>events.content.invoice.issued_credit_notes.cn_id = invoices.issued_credit_notes.cn_id<br>```<br><br>```<br>events.content.customer.id = invoices.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = invoices.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = invoices.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = invoices.customer_id<br>```<br><br>```<br>events.content.customer.id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.subscription.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.transaction.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.id = invoices.id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = invoices.id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = invoices.line_items.id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = invoices.line_items.id<br>```<br><br>```<br>events.content.invoice.line_items.id = invoices.line_items.id<br>```<br><br>```<br>events.content.subscription.id = invoices.line_items.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>events.content.subscription.id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.invoice.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.transaction.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>events.content.subscription.id = invoices.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = invoices.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = invoices.subscription_id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = invoices.linked_payments.txn_id<br>```<br><br>```<br>events.content.transaction.id = invoices.linked_payments.txn_id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = invoices.linked_payments.txn_id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = invoices.linked_payments.txn_id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = invoices.linked_payments.txn_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>events.content.coupon.id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>events.content.customer.id = subscriptions.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = subscriptions.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = subscriptions.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = subscriptions.customer_id<br>```<br><br>```<br>events.content.subscription.payment_source_id = subscriptions.payment_source_id<br>```<br><br>```<br>events.content.transaction.payment_source_id = subscriptions.payment_source_id<br>```<br><br>```<br>events.content.subscription.id = subscriptions.id<br>```<br><br>```<br>events.content.invoice.subscription_id = subscriptions.id<br>```<br><br>```<br>events.content.transaction.subscription_id = subscriptions.id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>events.content.coupon.id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.discounts.entity_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.coupon_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.subscription.coupons.coupon_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>events.content.invoice.adjustment_credit_notes.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>events.content.invoice.applied_credits.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>events.content.invoice.issued_credit_notes.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>events.content.customer.id = orders.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = orders.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = orders.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = orders.customer_id<br>```<br><br>```<br>events.content.invoice.id = orders.invoice_id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = orders.invoice_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_discounts.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_item_taxes.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.invoice.line_items.id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>events.content.subscription.id = orders.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = orders.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = orders.subscription_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>events.content.customer.id = customers.id<br>```<br><br>```<br>events.content.invoice.customer_id = customers.id<br>```<br><br>```<br>events.content.subscription.customer_id = customers.id<br>```<br><br>```<br>events.content.transaction.customer_id = customers.id<br>```<br><br>```<br>events.content.subscription.payment_source_id = customers.primary_payment_source_id<br>```<br><br>```<br>events.content.transaction.payment_source_id = customers.primary_payment_source_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>events.content.customer.id = payment_sources.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = payment_sources.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = payment_sources.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = payment_sources.customer_id<br>```<br><br>```<br>events.content.subscription.payment_source_id = payment_sources.id<br>```<br><br>```<br>events.content.transaction.payment_source_id = payment_sources.id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>events.content.customer.id = promotional_credits.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = promotional_credits.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = promotional_credits.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = promotional_credits.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>events.content.customer.id = transactions.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = transactions.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = transactions.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = transactions.customer_id<br>```<br><br>```<br>events.content.invoice.id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>events.content.subscription.payment_source_id = transactions.payment_source_id<br>```<br><br>```<br>events.content.transaction.payment_source_id = transactions.payment_source_id<br>```<br><br>```<br>events.content.subscription.id = transactions.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = transactions.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = transactions.subscription_id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = transactions.id<br>```<br><br>```<br>events.content.transaction.id = transactions.id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = transactions.id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = transactions.id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = transactions.id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = transactions.reference_transaction_id<br>```<br><br>```<br>events.content.transaction.id = transactions.reference_transaction_id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = transactions.reference_transaction_id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = transactions.reference_transaction_id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = transactions.reference_transaction_id<br>```<br><br>```<br>events.content.invoice.linked_payments.txn_id = transactions.refunded_txn_id<br>```<br><br>```<br>events.content.transaction.id = transactions.refunded_txn_id<br>```<br><br>```<br>events.content.transaction.linked_refunds.txn_id = transactions.refunded_txn_id<br>```<br><br>```<br>events.content.transaction.reference_transaction_id = transactions.refunded_txn_id<br>```<br><br>```<br>events.content.transaction.refunded_txn_id = transactions.refunded_txn_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>events.content.customer.id = virtual_bank_accounts.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = virtual_bank_accounts.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = virtual_bank_accounts.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>events.content.customer.id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>events.content.customer.id = gifts.gifter.customer_id<br>```<br><br>```<br>events.content.invoice.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>events.content.subscription.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>events.content.transaction.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>events.content.invoice.id = gifts.gifter.invoice_id<br>```<br><br>```<br>events.content.transaction.linked_credit_notes.cn_reference_invoice_id = gifts.gifter.invoice_id<br>```<br><br>```<br>events.content.subscription.id = gifts.gift_receiver.subscription_id<br>```<br><br>```<br>events.content.invoice.subscription_id = gifts.gift_receiver.subscription_id<br>```<br><br>```<br>events.content.transaction.subscription_id = gifts.gift_receiver.subscription_id<br>``` |

events table schema

| **api\_version**<br><br><br>STRING |
| --- |
| **content**<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 content<br><br><table> <tr> <td> <p> <strong>								coupon							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand coupon</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								apply_discount_on							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								apply_on							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								archived_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_percentage							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								duration_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								duration_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_constraint_criteria							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item_constraint_criteria</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								currencies							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_family_ids							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_price_periods							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item_constraints							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item_constraints</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								constraint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_ids							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								max_redemptions							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								meta_data							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								redemptions							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								valid_till							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								coupon_code							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand coupon_code</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_set_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_set_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_site_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								coupon_set							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand coupon_set</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								archived_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								meta_data							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								redeemed_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								total_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								credit_note							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand credit_note</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								allocations							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand allocations</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								allocated_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								allocated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								amount_allocated							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_available							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_refunded							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								base_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								einvoice							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand einvoice</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								exchange_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								fractional_correction							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								generated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_refunds							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_refunds</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								refund_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								refunded_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								round_off_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								total_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_prefix							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								voided_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								customer							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand customer</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								allow_direct_debit							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								auto_close_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								auto_collection							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								backup_payment_source_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								balances							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand balances</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								balance_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								excess_payments							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								promotional_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unbilled_charges							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								billing_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand billing_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								billing_date							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								billing_date_mode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_day_of_week							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								billing_day_of_week_mode							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								business_customer_without_vat_number							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								business_entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cf_company_id							</strong> </p> <p>							INTEGER, STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cf_people_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								child_account_access							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand child_account_access</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								portal_download_invoices							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portal_edit_subscriptions							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_invoice_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_payment_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_subscription_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								client_profile_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								consolidated_invoicing							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								contacts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand contacts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_account_email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_billing_email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_from_ip							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_identifier_scheme							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_identifier_standard							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_identifiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand entity_identifiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scheme							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								standard							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								excess_payments							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								exempt_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								exemption_details							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fraud_flag							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_einvoice_enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_location_valid							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locale							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								meta_data							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mrr							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								net_term_days							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								offline_payment_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								parent_account_access							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand parent_account_access</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								portal_download_child_invoices							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portal_edit_child_subscriptions							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_invoice_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_payment_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_subscription_emails							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								payment_method							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand payment_method</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pii_cleared							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								preferred_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								primary_payment_source_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								promotional_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								referral_urls							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand referral_urls</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								external_customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_external_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_sharing_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								registered_for_gst							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								relationship							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand relationship</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								invoice_owner_id							</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_owner_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								root_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_providers_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxability							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unbilled_charges							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								use_default_hierarchy_settings							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_prefix							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_validated_time							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								gift							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand gift</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								auto_claim							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								claim_expiry_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								gift_receiver							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand gift_receiver</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								gift_timelines							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand gift_timelines</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								occurred_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								gifter							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand gifter</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								signature							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								no_expiry							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								scheduled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								invoice							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand invoice</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								adjustment_credit_notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand adjustment_credit_notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_due							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_paid							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_to_collect							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_credits							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand applied_credits</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								base_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand billing_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								credits_applied							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								due_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								dunning_attempts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand dunning_attempts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								attempt							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								dunning_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								dunning_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								einvoice							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand einvoice</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								exchange_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								expected_payment_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								first_invoice							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								generated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								has_advance_charges							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_gifted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								issued_credit_notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand issued_credit_notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER, NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_orders							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_orders</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								batch_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								document_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								order_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_payments							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_payments</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								net_term_days							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								new_sales_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								next_retry_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								paid_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								payment_owner							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								po_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								recurring							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								round_off_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand shipping_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								term_finalized							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								total_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_prefix							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								void_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								voided_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								write_off_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applicable_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand applicable_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								archivable							</strong> </p> <p>							BOOLEAN, STRING													</p> </td> </tr> <tr> <td> <p> <strong>								archived_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled_for_checkout							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								enabled_in_portal							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								external_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gift_claim_redirect_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								included_in_mrr							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_giftable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_shippable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_applicability							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_family_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								metadata							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								metered							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								redirect_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								usage_calculation							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item_family							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item_family</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item_price							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item_price</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								accounting_detail							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand accounting_detail</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								accounting_category1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								archivable							</strong> </p> <p>							BOOLEAN, STRING													</p> </td> </tr> <tr> <td> <p> <strong>								archived_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								external_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_family_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								metadata							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								show_description_in_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								show_description_in_quotes							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_detail							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand tax_detail</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								avalara_sale_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_service_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_tax_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_transaction_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_profile_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxjar_product_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								trial_end_action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								trial_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								trial_period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								order							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand order</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_paid							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								batch_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand billing_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								cancellation_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cancelled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_by							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								delivered_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								discount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								document_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gift_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gift_note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_round_off_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								is_gifted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_resent							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER, NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_credit_notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_credit_notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_refunded							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								order_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								order_line_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand order_line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_paid							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_shippable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits_issued							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								order_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								original_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								paid_on							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								payment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits_issued							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								resend_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resent_orders							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand resent_orders</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reason							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								resent_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								rounding_adjustement							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipment_carrier							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								shipped_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand shipping_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status,							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								shipping_cut_off_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status_update_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tracking_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tracking_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								payment_source							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand payment_source</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amazon_payment							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand amazon_payment</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								agreement_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								bank_account							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand bank_account</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account_holder_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								account_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								bank_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								echeck_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mandate_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name_on_account							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								card							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand card</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								billing_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_zip							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								expiry_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								expiry_year							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								funding_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								iin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								masked_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								ip_address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								issuing_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mandates							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand mandates</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								paypal							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand paypal</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								agremeent_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								upi							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand upi</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								vpa							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								promotional_credit							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand promotional_credit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								closing_balance							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								credit_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								done_by							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								quote							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand quote</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount_due							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_paid							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								billing_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand billing_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								charge_on_acceptance							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								contract_term_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								contract_term_start							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								contract_term_termination_fee							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								credits_applied							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_item_tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_item_tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								line_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								operation_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								po_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand shipping_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status,							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sub_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								total_payable							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								valid_till							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number_prefix							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								version							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								subscription							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand subscription</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								activated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								auto_close_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								auto_collection							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								base_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								billing_period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cancel_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cancel_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cancel_schedule_created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cancelled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								changes_scheduled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								channel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								charged_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand charged_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_charged_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								contract_term							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand contract_term</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								action_at_term_end							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_cycle							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								cancellation_cutoff_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								contract_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								contract_start							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								remaining_billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_contract_value							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								contract_term_billing_cycle_on_renewal							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								coupon							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupons							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand coupons</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								apply_till							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								create_pending_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_from_ip							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								current_term_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								current_term_start							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								custom_fields							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								discounts							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								apply_on							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								apply_till							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								duration_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								included_in_mrr							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								index							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								due_invoices_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								due_since							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								exchange_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								free_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								free_period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								has_scheduled_advance_invoices							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								has_scheduled_changes							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_notes							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand item_tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								meta_data							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mrr							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								next_billing_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								override_relationship							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								pause_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								payment_source_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								plan_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								plan_free_quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								plan_quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								plan_unit_price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								po_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_info							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand referral_info</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								destination_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								external_campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								external_reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								friend_offer_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								notify_referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								post_purchase_widget_enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								referral_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referrer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referrer_reward_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reward_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								remaining_billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								resume_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								shipping_address							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand shipping_address</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								start_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								started_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_items							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand subscription_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								charge_on_event							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								charge_on_option							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								charge_once							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								service_period_days							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								trial_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_dues							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								trial_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								trial_end_action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								trial_start							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								transaction							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand transaction</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_capturable							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								amount_unused							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								authorization_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								base_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								error_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								error_text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								exchange_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								fraud_flag							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fraud_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id_at_gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								iin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								initiator_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								linked_credit_notes							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_credit_notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reference_invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_invoices							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_invoices</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_payments							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_payments</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								linked_refunds							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand linked_refunds</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								masked_card_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								merchant_reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_source_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_authorization_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								refunded_txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								reversal_transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reversal_txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								settled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								three_d_secure							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								validated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								voided_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								unbilled_charges							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand unbilled_charges</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_voided							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tiers							</strong> </p> <p>							ARRAY																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand tiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount 							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								voided_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								virtual_bank_account							</strong> </p> <p>							OBJECT																							</p><div><button><div>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;.</div></button></div> <p></p> <div> <button>Click to expand virtual_bank_account</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								bank_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								routing_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scheme							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								swift_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **event\_type**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **occurred\_at**<br><br><br>DATE-TIME |
| **source**<br><br><br>STRING |
| **user**<br><br><br>STRING |
| **webhook\_status**<br><br><br>STRING |

### gifts

The `gifts` table contains info about the gifts in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/gifts "Opens in new tab: Chargebee documentation")<br><br><br>[gifts schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/gifts.json "Opens in new tab: gifts schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/gifts#list_gifts "Opens in new tab: Chargebee API method") |

gifts table foreign keys

| Join gifts with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>gifts.gift_receiver.customer_id = credit_notes.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = credit_notes.customer_id<br>```<br><br>```<br>gifts.gifter.invoice_id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>gifts.gifter.invoice_id = credit_notes.reference_invoice_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = credit_notes.line_items.subscription_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>gifts.gift_receiver.customer_id = customers.id<br>```<br><br>```<br>gifts.gifter.customer_id = customers.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>gifts.gift_receiver.customer_id = events.content.customer.id<br>```<br><br>```<br>gifts.gifter.customer_id = events.content.customer.id<br>```<br><br>```<br>gifts.gift_receiver.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>gifts.gift_receiver.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>gifts.gift_receiver.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>gifts.gifter.invoice_id = events.content.invoice.id<br>```<br><br>```<br>gifts.gifter.invoice_id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = events.content.subscription.id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = events.content.transaction.subscription_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>gifts.gift_receiver.customer_id = invoices.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = invoices.customer_id<br>```<br><br>```<br>gifts.gift_receiver.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>gifts.gifter.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>gifts.gifter.invoice_id = invoices.id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = invoices.subscription_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>gifts.gift_receiver.customer_id = payment_sources.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = payment_sources.customer_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>gifts.gift_receiver.customer_id = promotional_credits.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = promotional_credits.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>gifts.gift_receiver.customer_id = subscriptions.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = subscriptions.customer_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = subscriptions.id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>gifts.gift_receiver.customer_id = transactions.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = transactions.customer_id<br>```<br><br>```<br>gifts.gifter.invoice_id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = transactions.subscription_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>gifts.gift_receiver.customer_id = virtual_bank_accounts.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>gifts.gift_receiver.customer_id = orders.customer_id<br>```<br><br>```<br>gifts.gifter.customer_id = orders.customer_id<br>```<br><br>```<br>gifts.id = orders.gift_id<br>```<br><br>```<br>gifts.gifter.invoice_id = orders.invoice_id<br>```<br><br>```<br>gifts.gift_receiver.subscription_id = orders.subscription_id<br>``` |

gifts table schema

| **auto\_claim**<br><br><br>BOOLEAN |
| --- |
| **claim\_expiry\_date**<br><br><br>DATE-TIME |
| **gift\_receiver**<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 gift\_receiver<br><br><table> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **gift\_timelines**<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 gift\_timelines<br><br><table> <tr> <td> <p> <strong>								occurred_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **gifter**<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 gifter<br><br><table> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								signature							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **no\_expiry**<br><br><br>BOOLEAN |
| **resource\_version**<br><br><br>INTEGER |
| **scheduled\_at**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### invoices

The `invoices` table contains info about the invoices in your Chargebee account. Invoices are statements containing charges, adjustments, and any discounts for a subscription specific to a term.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/invoices "Opens in new tab: Chargebee documentation")<br><br><br>[invoices schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/invoices.json "Opens in new tab: invoices schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/invoices#list_invoices "Opens in new tab: Chargebee API method") |

invoices table foreign keys

| Join invoices with | on |
| --- | --- |
| [addons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#addons) | ```<br>invoices.notes.entity_id = addons.id<br>``` |
| [plans](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#plans) | ```<br>invoices.notes.entity_id = plans.applicable_addons.id<br>```<br><br>```<br>invoices.notes.entity_id = plans.id<br>``` |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#coupons) | ```<br>invoices.discounts.entity_id = coupons.id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = coupons.id<br>```<br><br>```<br>invoices.notes.entity_id = coupons.id<br>``` |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>invoices.discounts.entity_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>invoices.notes.entity_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>invoices.discounts.entity_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.notes.entity_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.adjustment_credit_notes.cn_id = credit_notes.id<br>```<br><br>```<br>invoices.applied_credits.cn_id = credit_notes.id<br>```<br><br>```<br>invoices.issued_credit_notes.cn_id = credit_notes.id<br>```<br><br>```<br>invoices.customer_id = credit_notes.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = credit_notes.customer_id<br>```<br><br>```<br>invoices.id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>invoices.id = credit_notes.reference_invoice_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_items.id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_items.id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>invoices.line_items.id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>invoices.line_items.id = credit_notes.line_items.id<br>```<br><br>```<br>invoices.line_items.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = credit_notes.subscription_id<br>```<br><br>```<br>invoices.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>invoices.line_items.subscription_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>invoices.subscription_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = credit_notes.linked_refunds.txn_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>invoices.discounts.entity_id = events.content.coupon.id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = events.content.coupon.id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.coupon.id<br>```<br><br>```<br>invoices.discounts.entity_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>invoices.discounts.entity_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.discounts.entity_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>invoices.adjustment_credit_notes.cn_id = events.content.invoice.adjustment_credit_notes.cn_id<br>```<br><br>```<br>invoices.applied_credits.cn_id = events.content.invoice.adjustment_credit_notes.cn_id<br>```<br><br>```<br>invoices.issued_credit_notes.cn_id = events.content.invoice.adjustment_credit_notes.cn_id<br>```<br><br>```<br>invoices.adjustment_credit_notes.cn_id = events.content.invoice.applied_credits.cn_id<br>```<br><br>```<br>invoices.applied_credits.cn_id = events.content.invoice.applied_credits.cn_id<br>```<br><br>```<br>invoices.issued_credit_notes.cn_id = events.content.invoice.applied_credits.cn_id<br>```<br><br>```<br>invoices.adjustment_credit_notes.cn_id = events.content.invoice.issued_credit_notes.cn_id<br>```<br><br>```<br>invoices.applied_credits.cn_id = events.content.invoice.issued_credit_notes.cn_id<br>```<br><br>```<br>invoices.issued_credit_notes.cn_id = events.content.invoice.issued_credit_notes.cn_id<br>```<br><br>```<br>invoices.customer_id = events.content.customer.id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.customer.id<br>```<br><br>```<br>invoices.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.invoice.customer_id<br>```<br><br>```<br>invoices.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.subscription.customer_id<br>```<br><br>```<br>invoices.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.transaction.customer_id<br>```<br><br>```<br>invoices.id = events.content.invoice.id<br>```<br><br>```<br>invoices.id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_items.id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_items.id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>invoices.line_items.id = events.content.invoice.line_items.id<br>```<br><br>```<br>invoices.line_items.subscription_id = events.content.subscription.id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.subscription.id<br>```<br><br>```<br>invoices.subscription_id = events.content.subscription.id<br>```<br><br>```<br>invoices.line_items.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.invoice.subscription_id<br>```<br><br>```<br>invoices.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>invoices.line_items.subscription_id = events.content.transaction.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = events.content.transaction.subscription_id<br>```<br><br>```<br>invoices.subscription_id = events.content.transaction.subscription_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = events.content.transaction.id<br>```<br><br>```<br>invoices.linked_payments.txn_id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = events.content.transaction.refunded_txn_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>invoices.discounts.entity_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>invoices.notes.entity_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>invoices.customer_id = subscriptions.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = subscriptions.customer_id<br>```<br><br>```<br>invoices.line_items.subscription_id = subscriptions.id<br>```<br><br>```<br>invoices.notes.entity_id = subscriptions.id<br>```<br><br>```<br>invoices.subscription_id = subscriptions.id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>invoices.discounts.entity_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.line_item_discounts.coupon_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.notes.entity_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>invoices.adjustment_credit_notes.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>invoices.applied_credits.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>invoices.issued_credit_notes.cn_id = orders.linked_credit_notes.id<br>```<br><br>```<br>invoices.customer_id = orders.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = orders.customer_id<br>```<br><br>```<br>invoices.id = orders.invoice_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_items.id = orders.line_item_discounts.line_item_id<br>```<br><br>```<br>invoices.line_item_discounts.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_taxes.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_item_tiers.line_item_id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_items.id = orders.line_item_taxes.line_item_id<br>```<br><br>```<br>invoices.line_items.subscription_id = orders.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = orders.subscription_id<br>```<br><br>```<br>invoices.subscription_id = orders.subscription_id<br>```<br><br>```<br>invoices.linked_orders.id = orders.id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>invoices.customer_id = customers.id<br>```<br><br>```<br>invoices.notes.entity_id = customers.id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>invoices.customer_id = payment_sources.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = payment_sources.customer_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>invoices.customer_id = promotional_credits.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = promotional_credits.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>invoices.customer_id = transactions.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = transactions.customer_id<br>```<br><br>```<br>invoices.id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>invoices.line_items.subscription_id = transactions.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = transactions.subscription_id<br>```<br><br>```<br>invoices.subscription_id = transactions.subscription_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = transactions.id<br>```<br><br>```<br>invoices.linked_payments.txn_id = transactions.linked_refunds.txn_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = transactions.reference_transaction_id<br>```<br><br>```<br>invoices.linked_payments.txn_id = transactions.refunded_txn_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>invoices.customer_id = virtual_bank_accounts.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>invoices.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>invoices.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>invoices.notes.entity_id = gifts.gifter.customer_id<br>```<br><br>```<br>invoices.id = gifts.gifter.invoice_id<br>```<br><br>```<br>invoices.line_items.subscription_id = gifts.gift_receiver.subscription_id<br>```<br><br>```<br>invoices.notes.entity_id = gifts.gift_receiver.subscription_id<br>```<br><br>```<br>invoices.subscription_id = gifts.gift_receiver.subscription_id<br>``` |

invoices table schema

| **adjustment\_credit\_notes**<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 adjustment\_credit\_notes<br><br><table> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| --- |
| **amount\_adjusted**<br><br><br>INTEGER |
| **amount\_due**<br><br><br>INTEGER |
| **amount\_paid**<br><br><br>INTEGER |
| **amount\_to\_collect**<br><br><br>INTEGER |
| **applied\_credits**<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 applied\_credits<br><br><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **base\_currency\_code**<br><br><br>STRING |
| **billing\_address**<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\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **channel**<br><br><br>STRING |
| **credits\_applied**<br><br><br>INTEGER |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **date**<br><br><br>DATE-TIME |
| **deleted**<br><br><br>BOOLEAN |
| **discounts**<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 discounts<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **due\_date**<br><br><br>DATE-TIME |
| **dunning\_attempts**<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 dunning\_attempts<br><br><table> <tr> <td> <p> <strong>								attempt							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								dunning_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **dunning\_status**<br><br><br>STRING |
| **einvoice**<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 einvoice<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **exchange\_rate**<br><br><br>NUMBER |
| **expected\_payment\_date**<br><br><br>DATE-TIME |
| **first\_invoice**<br><br><br>BOOLEAN |
| **generated\_at**<br><br><br>DATE-TIME |
| **has\_advance\_charges**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **is\_gifted**<br><br><br>BOOLEAN |
| **issued\_credit\_notes**<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 issued\_credit\_notes<br><br><table> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **line\_item\_discounts**<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 line\_item\_discounts<br><br><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_item\_taxes**<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 line\_item\_taxes<br><br><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER, NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **line\_item\_tiers**<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 line\_item\_tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_items**<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 line\_items<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **linked\_orders**<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 linked\_orders<br><br><table> <tr> <td> <p> <strong>								batch_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								document_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								order_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **linked\_payments**<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 linked\_payments<br><br><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **local\_currency\_code**<br><br><br>STRING |
| **net\_term\_days**<br><br><br>INTEGER |
| **new\_sales\_amount**<br><br><br>INTEGER |
| **next\_retry\_at**<br><br><br>DATE-TIME |
| **notes**<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 notes<br><br><table> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **object**<br><br><br>STRING |
| **paid\_at**<br><br><br>DATE-TIME |
| **payment\_owner**<br><br><br>STRING |
| **po\_number**<br><br><br>STRING |
| **price\_type**<br><br><br>STRING |
| **recurring**<br><br><br>BOOLEAN |
| **resource\_version**<br><br><br>INTEGER |
| **round\_off\_amount**<br><br><br>INTEGER |
| **shipping\_address**<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 shipping\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **status**<br><br><br>STRING |
| **sub\_total**<br><br><br>INTEGER |
| **sub\_total\_in\_local\_currency**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>STRING |
| **tax**<br><br><br>INTEGER |
| **taxes**<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 taxes<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **term\_finalized**<br><br><br>BOOLEAN |
| **total**<br><br><br>INTEGER |
| **total\_in\_local\_currency**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **vat\_number**<br><br><br>STRING |
| **vat\_number\_prefix**<br><br><br>STRING |
| **void\_reason\_code**<br><br><br>STRING |
| **voided\_at**<br><br><br>DATE-TIME |
| **write\_off\_amount**<br><br><br>INTEGER |

### item\_families

The `item_families` table contains info about item families.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [item_families schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/item_families.json "Opens in new tab: item_families schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/item_families?prod_cat_ver=2#list_item_families "Opens in new tab: Chargebee API method") |

item\_families table foreign keys

| Join item\_families with | on |
| --- | --- |
| [item_prices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#item-prices) | ```<br>item_families.id = item_prices.item_family_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#items) | ```<br>item_families.id = items.item_family_id<br>``` |

item\_families table schema

| **channel**<br><br><br>STRING |
| --- |
| **custom\_fields**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### item\_prices

The `item_prices` table contains info about item prices.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [item_prices schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/item_prices.json "Opens in new tab: item_prices schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/item_prices?prod_cat_ver=2#list_item_prices "Opens in new tab: Chargebee API method") |

item\_prices table foreign keys

| Join item\_prices with | on |
| --- | --- |
| [item_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#item-families) | ```<br>item_prices.item_family_id = item_families.id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#items) | ```<br>item_prices.item_family_id = items.item_family_id<br>```<br><br>```<br>item_prices.item_id = items.id<br>``` |

item\_prices table schema

| **accounting\_detail**<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 accounting\_detail<br><br><table> <tr> <td> <p> <strong>								accounting_category1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_category4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								accounting_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **archivable**<br><br><br>BOOLEAN, STRING |
| **archived\_at**<br><br><br>DATE-TIME |
| **billing\_cycles**<br><br><br>INTEGER |
| **channel**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **currency\_code**<br><br><br>STRING |
| **custom\_fields**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **external\_name**<br><br><br>STRING |
| **free\_quantity**<br><br><br>INTEGER |
| **free\_quantity\_in\_decimal**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **is\_taxable**<br><br><br>BOOLEAN |
| **item\_family\_id**<br><br><br>STRING |
| **item\_id**<br><br><br>STRING |
| **item\_type**<br><br><br>STRING |
| **metadata**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **period**<br><br><br>INTEGER |
| **period\_unit**<br><br><br>STRING |
| **price**<br><br><br>INTEGER |
| **price\_in\_decimal**<br><br><br>STRING |
| **pricing\_model**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **shipping\_period**<br><br><br>INTEGER |
| **shipping\_period\_unit**<br><br><br>STRING |
| **show\_description\_in\_invoices**<br><br><br>BOOLEAN |
| **show\_description\_in\_quotes**<br><br><br>BOOLEAN |
| **status**<br><br><br>STRING |
| **tax\_detail**<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 tax\_detail<br><br><table> <tr> <td> <p> <strong>								avalara_sale_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_service_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_tax_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avalara_transaction_type							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_profile_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxjar_product_code							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **tiers**<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 tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **trial\_end\_action**<br><br><br>STRING |
| **trial\_period**<br><br><br>INTEGER |
| **trial\_period\_unit**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### items

The `items` table contains info about the items in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [items schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/items.json "Opens in new tab: items schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/items?prod_cat_ver=2#list_items "Opens in new tab: Chargebee API method") |

items table foreign keys

| Join items with | on |
| --- | --- |
| [item_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#item-families) | ```<br>items.item_family_id = item_families.id<br>``` |
| [item_prices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#item-prices) | ```<br>items.item_family_id = item_prices.item_family_id<br>```<br><br>```<br>items.id = item_prices.item_id<br>``` |

items table schema

| **applicable\_items**<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 applicable\_items<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **archivable**<br><br><br>BOOLEAN, STRING |
| **archived\_at**<br><br><br>DATE-TIME |
| **channel**<br><br><br>STRING |
| **custom\_fields**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **enabled\_for\_checkout**<br><br><br>BOOLEAN |
| **enabled\_in\_portal**<br><br><br>BOOLEAN |
| **external\_name**<br><br><br>STRING |
| **gift\_claim\_redirect\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **included\_in\_mrr**<br><br><br>BOOLEAN |
| **is\_giftable**<br><br><br>BOOLEAN |
| **is\_shippable**<br><br><br>BOOLEAN |
| **item\_applicability**<br><br><br>STRING |
| **item\_family\_id**<br><br><br>STRING |
| **metadata**<br><br><br>STRING |
| **metered**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **redirect\_url**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **unit**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **usage\_calculation**<br><br><br>STRING |

### orders

The `orders` table contains info about the orders in your Chargebee account. The **Order Management** feature must be enabled to replicate this table. For more information, refer to the [Chargebee docs](https://www.chargebee.com/docs/orders.html).

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/orders "Opens in new tab: Chargebee documentation")<br><br><br>[orders schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/orders.json "Opens in new tab: orders schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/orders#list_orders "Opens in new tab: Chargebee API method") |

orders table foreign keys

| Join orders with | on |
| --- | --- |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#coupons) | ```<br>orders.line_item_discounts.coupon_id = coupons.id<br>``` |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>orders.line_item_discounts.coupon_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>orders.linked_credit_notes.id = credit_notes.id<br>```<br><br>```<br>orders.customer_id = credit_notes.customer_id<br>```<br><br>```<br>orders.invoice_id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>orders.invoice_id = credit_notes.reference_invoice_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = credit_notes.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = credit_notes.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = credit_notes.line_item_tiers.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = credit_notes.line_items.id<br>```<br><br>```<br>orders.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>orders.subscription_id = credit_notes.line_items.subscription_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>orders.line_item_discounts.coupon_id = events.content.coupon.id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>orders.linked_credit_notes.id = events.content.invoice.adjustment_credit_notes.cn_id<br>```<br><br>```<br>orders.linked_credit_notes.id = events.content.invoice.applied_credits.cn_id<br>```<br><br>```<br>orders.linked_credit_notes.id = events.content.invoice.issued_credit_notes.cn_id<br>```<br><br>```<br>orders.customer_id = events.content.customer.id<br>```<br><br>```<br>orders.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>orders.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>orders.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>orders.invoice_id = events.content.invoice.id<br>```<br><br>```<br>orders.invoice_id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = events.content.invoice.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = events.content.invoice.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = events.content.invoice.line_items.id<br>```<br><br>```<br>orders.subscription_id = events.content.subscription.id<br>```<br><br>```<br>orders.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>orders.subscription_id = events.content.transaction.subscription_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>orders.line_item_discounts.coupon_id = invoices.discounts.entity_id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>orders.line_item_discounts.coupon_id = invoices.notes.entity_id<br>```<br><br>```<br>orders.linked_credit_notes.id = invoices.adjustment_credit_notes.cn_id<br>```<br><br>```<br>orders.linked_credit_notes.id = invoices.applied_credits.cn_id<br>```<br><br>```<br>orders.linked_credit_notes.id = invoices.issued_credit_notes.cn_id<br>```<br><br>```<br>orders.customer_id = invoices.customer_id<br>```<br><br>```<br>orders.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>orders.invoice_id = invoices.id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = invoices.line_item_discounts.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = invoices.line_item_taxes.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = invoices.line_item_tiers.line_item_id<br>```<br><br>```<br>orders.line_item_discounts.line_item_id = invoices.line_items.id<br>```<br><br>```<br>orders.line_item_taxes.line_item_id = invoices.line_items.id<br>```<br><br>```<br>orders.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>orders.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>orders.subscription_id = invoices.subscription_id<br>```<br><br>```<br>orders.id = invoices.linked_orders.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>orders.line_item_discounts.coupon_id = subscriptions.coupons.coupon_id<br>```<br><br>```<br>orders.customer_id = subscriptions.customer_id<br>```<br><br>```<br>orders.subscription_id = subscriptions.id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>orders.customer_id = customers.id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>orders.customer_id = payment_sources.customer_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>orders.customer_id = promotional_credits.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>orders.customer_id = transactions.customer_id<br>```<br><br>```<br>orders.invoice_id = transactions.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>orders.subscription_id = transactions.subscription_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>orders.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>orders.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>orders.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>orders.gift_id = gifts.id<br>```<br><br>```<br>orders.invoice_id = gifts.gifter.invoice_id<br>```<br><br>```<br>orders.subscription_id = gifts.gift_receiver.subscription_id<br>``` |

orders table schema

| **amount\_adjusted**<br><br><br>INTEGER |
| --- |
| **amount\_paid**<br><br><br>INTEGER |
| **batch\_id**<br><br><br>STRING |
| **billing\_address**<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\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **cancellation\_reason**<br><br><br>STRING |
| **cancelled\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **created\_by**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **deleted**<br><br><br>BOOLEAN |
| **delivered\_at**<br><br><br>DATE-TIME |
| **discount**<br><br><br>INTEGER |
| **document\_number**<br><br><br>STRING |
| **fulfillment\_status**<br><br><br>STRING |
| **gift\_id**<br><br><br>STRING |
| **gift\_note**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **invoice\_id**<br><br><br>STRING |
| **invoice\_round\_off\_amount**<br><br><br>INTEGER |
| **is\_gifted**<br><br><br>BOOLEAN |
| **is\_resent**<br><br><br>BOOLEAN |
| **line\_item\_discounts**<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 line\_item\_discounts<br><br><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_item\_taxes**<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 line\_item\_taxes<br><br><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								local_currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount_in_local_currency							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER, NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **linked\_credit\_notes**<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 linked\_credit\_notes<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_refunded							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **note**<br><br><br>STRING |
| **order\_date**<br><br><br>DATE-TIME |
| **order\_line\_items**<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 order\_line\_items<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_adjusted							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_paid							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fulfillment_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_shippable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								refundable_credits_issued							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **order\_type**<br><br><br>STRING |
| **original\_order\_id**<br><br><br>STRING |
| **paid\_on**<br><br><br>DATE-TIME |
| **payment\_status**<br><br><br>STRING |
| **price\_type**<br><br><br>STRING |
| **reference\_id**<br><br><br>STRING |
| **refundable\_credits**<br><br><br>INTEGER |
| **refundable\_credits\_issued**<br><br><br>INTEGER |
| **resend\_reason**<br><br><br>STRING |
| **resent\_orders**<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 resent\_orders<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reason							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **resent\_status**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **rounding\_adjustement**<br><br><br>INTEGER |
| **shipment\_carrier**<br><br><br>STRING |
| **shipped\_at**<br><br><br>DATE-TIME |
| **shipping\_address**<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 shipping\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status,							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **shipping\_cut\_off\_date**<br><br><br>DATE-TIME |
| **shipping\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **status\_update\_at**<br><br><br>DATE-TIME |
| **sub\_total**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>STRING |
| **tax**<br><br><br>INTEGER |
| **total**<br><br><br>INTEGER |
| **tracking\_id**<br><br><br>STRING |
| **tracking\_url**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### payment\_sources

The `payment_sources` table contains info about customer payment sources.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/payment_sources "Opens in new tab: Chargebee documentation")<br><br><br>[payment_sources schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/payment_sources.json "Opens in new tab: payment_sources schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/payment_sources#list_payment_sources "Opens in new tab: Chargebee API method") |

payment\_sources table foreign keys

| Join payment\_sources with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>payment_sources.customer_id = credit_notes.customer_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>payment_sources.customer_id = customers.id<br>```<br><br>```<br>payment_sources.id = customers.primary_payment_source_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>payment_sources.customer_id = events.content.customer.id<br>```<br><br>```<br>payment_sources.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>payment_sources.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>payment_sources.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>payment_sources.id = events.content.subscription.payment_source_id<br>```<br><br>```<br>payment_sources.id = events.content.transaction.payment_source_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>payment_sources.customer_id = invoices.customer_id<br>```<br><br>```<br>payment_sources.customer_id = invoices.notes.entity_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>payment_sources.customer_id = promotional_credits.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>payment_sources.customer_id = subscriptions.customer_id<br>```<br><br>```<br>payment_sources.id = subscriptions.payment_source_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>payment_sources.customer_id = transactions.customer_id<br>```<br><br>```<br>payment_sources.id = transactions.payment_source_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>payment_sources.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>payment_sources.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>payment_sources.customer_id = gifts.gifter.customer_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>payment_sources.customer_id = orders.customer_id<br>``` |

payment\_sources table schema

| **amazon\_payment**<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 amazon\_payment<br><br><table> <tr> <td> <p> <strong>								agreement_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **bank\_account**<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 bank\_account<br><br><table> <tr> <td> <p> <strong>								account_holder_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								account_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								bank_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								echeck_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								mandate_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name_on_account							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **card**<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 card<br><br><table> <tr> <td> <p> <strong>								billing_addr1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_addr2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_zip							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								expiry_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								expiry_year							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								funding_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								iin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								masked_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **customer\_id**<br><br><br>STRING |
| **deleted**<br><br><br>BOOLEAN |
| **gateway**<br><br><br>STRING |
| **gateway\_account\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **ip\_address**<br><br><br>STRING |
| **issuing\_country**<br><br><br>STRING |
| **mandates**<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 mandates<br><br><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **object**<br><br><br>STRING |
| **paypal**<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 paypal<br><br><table> <tr> <td> <p> <strong>								agremeent_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **reference\_id**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **upi**<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 upi<br><br><table> <tr> <td> <p> <strong>								vpa							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### plans

The `plans` table contains info about the plans in your Chargebee account. Plans are used to specify prices and billing frequencies for [`subscriptions`](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions).

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [plans schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/plan_model/plans.json "Opens in new tab: plans schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/plans?prod_cat_ver=1#list_plans "Opens in new tab: Chargebee API method") |

plans table foreign keys

| Join plans with | on |
| --- | --- |
| [addons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#addons) | ```<br>plans.applicable_addons.id = addons.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>plans.applicable_addons.id = invoices.notes.entity_id<br>```<br><br>```<br>plans.id = invoices.notes.entity_id<br>``` |

plans table schema

| **account\_code**<br><br><br>STRING |
| --- |
| **accounting\_category1**<br><br><br>STRING |
| **accounting\_category2**<br><br><br>STRING |
| **accounting\_category3**<br><br><br>STRING |
| **accounting\_category4**<br><br><br>STRING |
| **accounting\_code**<br><br><br>STRING |
| **addon\_applicability**<br><br><br>STRING |
| **applicable\_addons**<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 applicable\_addons<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **archived\_at**<br><br><br>DATE-TIME |
| **attached\_addons**<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 attached\_addons<br><br><table> <tr> <td> <p> <strong>								billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **avalara\_sale\_type**<br><br><br>STRING |
| **avalara\_service\_type**<br><br><br>INTEGER |
| **avalara\_transaction\_type**<br><br><br>INTEGER |
| **billing\_cycles**<br><br><br>INTEGER |
| **channel**<br><br><br>STRING |
| **charge\_model**<br><br><br>STRING |
| **claim\_url**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **custom\_fields**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **enabled\_in\_hosted\_pages**<br><br><br>BOOLEAN |
| **enabled\_in\_portal**<br><br><br>BOOLEAN |
| **event\_based\_addons**<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 event\_based\_addons<br><br><table> <tr> <td> <p> <strong>								charge_once							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								on_event							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **free\_quantity**<br><br><br>INTEGER |
| **free\_quantity\_in\_decimal**<br><br><br>STRING |
| **giftable**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **invoice\_name**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **is\_shippable**<br><br><br>BOOLEAN |
| **meta\_data**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **period**<br><br><br>INTEGER |
| **period\_unit**<br><br><br>STRING |
| **price**<br><br><br>INTEGER |
| **price\_in\_decimal**<br><br><br>STRING |
| **pricing\_model**<br><br><br>STRING |
| **redirect\_url**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **setup\_cost**<br><br><br>INTEGER |
| **shipping\_frequency\_period**<br><br><br>INTEGER |
| **shipping\_frequency\_period\_unit**<br><br><br>STRING |
| **show\_description\_in\_invoices**<br><br><br>BOOLEAN |
| **show\_description\_in\_quotes**<br><br><br>BOOLEAN |
| **sku**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **tax\_code**<br><br><br>STRING |
| **tax\_profile\_id**<br><br><br>STRING |
| **taxable**<br><br><br>BOOLEAN |
| **taxjar\_product\_code**<br><br><br>STRING |
| **tiers**<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 tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **trial\_end\_action**<br><br><br>STRING |
| **trial\_period**<br><br><br>INTEGER |
| **trial\_period\_unit**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### promotional\_credits

The `promotional_credits` table contains info about the promotional\_credits in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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\_at |
| **Useful links** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/promotional_credits "Opens in new tab: Chargebee documentation")<br><br><br>[promotional_credits schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/promotional_credits.json "Opens in new tab: promotional_credits schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/promotional_credits#list_promotional_credits "Opens in new tab: Chargebee API method") |

promotional\_credits table foreign keys

| Join promotional\_credits with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>promotional_credits.customer_id = credit_notes.customer_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>promotional_credits.customer_id = customers.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>promotional_credits.customer_id = events.content.customer.id<br>```<br><br>```<br>promotional_credits.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>promotional_credits.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>promotional_credits.customer_id = events.content.transaction.customer_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>promotional_credits.customer_id = invoices.customer_id<br>```<br><br>```<br>promotional_credits.customer_id = invoices.notes.entity_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>promotional_credits.customer_id = payment_sources.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>promotional_credits.customer_id = subscriptions.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>promotional_credits.customer_id = transactions.customer_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>promotional_credits.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>promotional_credits.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>promotional_credits.customer_id = gifts.gifter.customer_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>promotional_credits.customer_id = orders.customer_id<br>``` |

promotional\_credits table schema

| **amount**<br><br><br>STRING |
| --- |
| **amount\_in\_decimal**<br><br><br>STRING |
| **closing\_balance**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **credit\_type**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **done\_by**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **reference**<br><br><br>STRING |
| **type**<br><br><br>STRING |

### quotes

The `quotes` table contains info about quotes in your Chargebee 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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/quotes "Opens in new tab: Chargebee documentation")<br><br><br>[quotes schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/common/quotes.json "Opens in new tab: quotes schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/quotes#list_quotes "Opens in new tab: Chargebee API method") |

quotes table schema

| **amount\_due**<br><br><br>INTEGER |
| --- |
| **amount\_paid**<br><br><br>INTEGER |
| **billing\_address**<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\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **charge\_on\_acceptance**<br><br><br>INTEGER |
| **contract\_term\_end**<br><br><br>DATE-TIME |
| **contract\_term\_start**<br><br><br>DATE-TIME |
| **contract\_term\_termination\_fee**<br><br><br>INTEGER |
| **credits\_applied**<br><br><br>INTEGER |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **date**<br><br><br>DATE-TIME |
| **discounts**<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 discounts<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **invoice\_id**<br><br><br>STRING |
| **line\_item\_discounts**<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 line\_item\_discounts<br><br><table> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **line\_item\_taxes**<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 line\_item\_taxes<br><br><table> <tr> <td> <p> <strong>								is_non_compliance_tax							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								is_partial_tax_applied							</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>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_juris_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **line\_item\_tiers**<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 line\_item\_tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								line_item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_used							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **line\_items**<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 line\_items<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								date_from							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								date_to							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								entity_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entity_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_taxed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_level_discount_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_model							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_rate							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **operation\_type**<br><br><br>STRING |
| **po\_number**<br><br><br>STRING |
| **price\_type**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **shipping\_address**<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 shipping\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status,							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **status**<br><br><br>STRING |
| **sub\_total**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>STRING |
| **taxes**<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 taxes<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total**<br><br><br>INTEGER |
| **total\_payable**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **valid\_till**<br><br><br>DATE-TIME |
| **vat\_number**<br><br><br>STRING |
| **vat\_number\_prefix**<br><br><br>STRING |
| **version**<br><br><br>INTEGER |

### subscriptions

The `subscriptions` table contains info about the subscriptions your customers have subscribed to. A subscription is a recurring item that customers are billed for, such as a plan or addon. It may also contain discount items.

**Note**: Chargebee [does not update the `updated_at`](https://apidocs.chargebee.com/docs/api/subscriptions#subscription_updated_at) value when the following attributes on a subscription are modified:

* `due_invoices_count`
* `due_since`
* `total_dues`

Because of this functionality and Stitch’s use of this value as a [Replication Key](https://help.qlik.com/en-US/stitch/replication/replication-keys), updates made to subscriptions where only these attributes are modified may not be detected. You should ensure that another attribute on the subscription is also modified to ensure that the `updated_at` value is updated, which will allow Stitch to detect and replicate the record.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/subscriptions "Opens in new tab: Chargebee documentation")<br><br><br>[subscriptions schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/item_model/subscriptions.json "Opens in new tab: subscriptions schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/subscriptions#list_subscriptions "Opens in new tab: Chargebee API method") |

subscriptions table foreign keys

| Join subscriptions with | on |
| --- | --- |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#coupons) | ```<br>subscriptions.coupons.coupon_id = coupons.id<br>``` |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>subscriptions.coupons.coupon_id = credit_notes.discounts.entity_id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = credit_notes.line_item_discounts.coupon_id<br>```<br><br>```<br>subscriptions.customer_id = credit_notes.customer_id<br>```<br><br>```<br>subscriptions.id = credit_notes.subscription_id<br>```<br><br>```<br>subscriptions.id = credit_notes.line_items.subscription_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>subscriptions.coupons.coupon_id = events.content.coupon.id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = events.content.invoice.discounts.entity_id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = events.content.invoice.line_item_discounts.coupon_id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = events.content.subscription.coupons.coupon_id<br>```<br><br>```<br>subscriptions.customer_id = events.content.customer.id<br>```<br><br>```<br>subscriptions.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>subscriptions.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>subscriptions.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>subscriptions.payment_source_id = events.content.subscription.payment_source_id<br>```<br><br>```<br>subscriptions.payment_source_id = events.content.transaction.payment_source_id<br>```<br><br>```<br>subscriptions.id = events.content.subscription.id<br>```<br><br>```<br>subscriptions.id = events.content.invoice.subscription_id<br>```<br><br>```<br>subscriptions.id = events.content.transaction.subscription_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>subscriptions.coupons.coupon_id = invoices.discounts.entity_id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = invoices.line_item_discounts.coupon_id<br>```<br><br>```<br>subscriptions.coupons.coupon_id = invoices.notes.entity_id<br>```<br><br>```<br>subscriptions.customer_id = invoices.customer_id<br>```<br><br>```<br>subscriptions.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>subscriptions.id = invoices.line_items.subscription_id<br>```<br><br>```<br>subscriptions.id = invoices.notes.entity_id<br>```<br><br>```<br>subscriptions.id = invoices.subscription_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>subscriptions.coupons.coupon_id = orders.line_item_discounts.coupon_id<br>```<br><br>```<br>subscriptions.customer_id = orders.customer_id<br>```<br><br>```<br>subscriptions.id = orders.subscription_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>subscriptions.customer_id = customers.id<br>```<br><br>```<br>subscriptions.payment_source_id = customers.primary_payment_source_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>subscriptions.customer_id = payment_sources.customer_id<br>```<br><br>```<br>subscriptions.payment_source_id = payment_sources.id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>subscriptions.customer_id = promotional_credits.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>subscriptions.customer_id = transactions.customer_id<br>```<br><br>```<br>subscriptions.payment_source_id = transactions.payment_source_id<br>```<br><br>```<br>subscriptions.id = transactions.subscription_id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>subscriptions.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>subscriptions.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>subscriptions.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>subscriptions.id = gifts.gift_receiver.subscription_id<br>``` |

subscriptions table schema

| **activated\_at**<br><br><br>DATE-TIME |
| --- |
| **auto\_close\_invoices**<br><br><br>BOOLEAN |
| **auto\_collection**<br><br><br>STRING |
| **base\_currency\_code**<br><br><br>STRING |
| **billing\_period**<br><br><br>INTEGER |
| **billing\_period\_unit**<br><br><br>STRING |
| **cancel\_reason**<br><br><br>STRING |
| **cancel\_reason\_code**<br><br><br>STRING |
| **cancel\_schedule\_created\_at**<br><br><br>DATE-TIME |
| **cancelled\_at**<br><br><br>DATE-TIME |
| **changes\_scheduled\_at**<br><br><br>DATE-TIME |
| **channel**<br><br><br>STRING |
| **charged\_items**<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 charged\_items<br><br><table> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_charged_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **contract\_term**<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 contract\_term<br><br><table> <tr> <td> <p> <strong>								action_at_term_end							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_cycle							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								cancellation_cutoff_period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								contract_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								contract_start							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								remaining_billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_contract_value							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **contract\_term\_billing\_cycle\_on\_renewal**<br><br><br>INTEGER |
| **coupon**<br><br><br>STRING |
| **coupons**<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 coupons<br><br><table> <tr> <td> <p> <strong>								applied_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								apply_till							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **create\_pending\_invoices**<br><br><br>BOOLEAN |
| **created\_at**<br><br><br>DATE-TIME |
| **created\_from\_ip**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **current\_term\_end**<br><br><br>DATE-TIME |
| **current\_term\_start**<br><br><br>DATE-TIME |
| **custom\_fields**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **deleted**<br><br><br>BOOLEAN |
| **discounts**<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 discounts<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_count							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								apply_on							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								apply_till							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								duration_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								included_in_mrr							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								index							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								period							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								period_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								resource_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **due\_invoices\_count**<br><br><br>INTEGER |
| **due\_since**<br><br><br>DATE-TIME |
| **exchange\_rate**<br><br><br>NUMBER |
| **free\_period**<br><br><br>INTEGER |
| **free\_period\_unit**<br><br><br>STRING |
| **has\_scheduled\_advance\_invoices**<br><br><br>BOOLEAN |
| **has\_scheduled\_changes**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **invoice\_notes**<br><br><br>STRING |
| **item\_tiers**<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 item\_tiers<br><br><table> <tr> <td> <p> <strong>								ending_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_unit_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **meta\_data**<br><br><br>STRING |
| **mrr**<br><br><br>INTEGER |
| **next\_billing\_at**<br><br><br>DATE-TIME |
| **object**<br><br><br>STRING |
| **override\_relationship**<br><br><br>BOOLEAN |
| **pause\_date**<br><br><br>DATE-TIME |
| **payment\_source\_id**<br><br><br>STRING |
| **plan\_amount\_in\_decimal**<br><br><br>STRING |
| **plan\_free\_quantity\_in\_decimal**<br><br><br>STRING |
| **plan\_quantity\_in\_decimal**<br><br><br>STRING |
| **plan\_unit\_price\_in\_decimal**<br><br><br>STRING |
| **po\_number**<br><br><br>STRING |
| **referral\_info**<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 referral\_info<br><br><table> <tr> <td> <p> <strong>								account_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								coupon_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								destination_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								external_campaign_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								external_reference_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								friend_offer_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								notify_referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								post_purchase_widget_enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								referral_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referral_system							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referrer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								referrer_reward_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								reward_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **remaining\_billing\_cycles**<br><br><br>INTEGER |
| **resource\_version**<br><br><br>INTEGER |
| **resume\_date**<br><br><br>DATE-TIME |
| **shipping\_address**<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 shipping\_address<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								company							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								line3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **start\_date**<br><br><br>DATE-TIME |
| **started\_at**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **subscription\_items**<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 subscription\_items<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								amount_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_cycles							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								charge_on_event							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								charge_on_option							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								charge_once							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								free_quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_price_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								object							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								service_period_days							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								trial_end							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price_in_decimal							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_dues**<br><br><br>INTEGER |
| **trial\_end**<br><br><br>DATE-TIME |
| **trial\_end\_action**<br><br><br>STRING |
| **trial\_start**<br><br><br>DATE-TIME |
| **updated\_at**<br><br><br>DATE-TIME |

### transactions

The `transactions` table contains info about the transactions that have occurred in your Chargebee account.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/transactions "Opens in new tab: Chargebee documentation")<br><br><br>[transactions schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/transactions.json "Opens in new tab: transactions schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/transactions#list_transactions "Opens in new tab: Chargebee API method") |

transactions table foreign keys

| Join transactions with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>transactions.customer_id = credit_notes.customer_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = credit_notes.allocations.invoice_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = credit_notes.reference_invoice_id<br>```<br><br>```<br>transactions.subscription_id = credit_notes.subscription_id<br>```<br><br>```<br>transactions.subscription_id = credit_notes.line_items.subscription_id<br>```<br><br>```<br>transactions.id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>transactions.reference_transaction_id = credit_notes.linked_refunds.txn_id<br>```<br><br>```<br>transactions.refunded_txn_id = credit_notes.linked_refunds.txn_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>transactions.customer_id = customers.id<br>```<br><br>```<br>transactions.payment_source_id = customers.primary_payment_source_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>transactions.customer_id = events.content.customer.id<br>```<br><br>```<br>transactions.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>transactions.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>transactions.customer_id = events.content.transaction.customer_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = events.content.invoice.id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = events.content.transaction.linked_credit_notes.cn_reference_invoice_id<br>```<br><br>```<br>transactions.payment_source_id = events.content.subscription.payment_source_id<br>```<br><br>```<br>transactions.payment_source_id = events.content.transaction.payment_source_id<br>```<br><br>```<br>transactions.subscription_id = events.content.subscription.id<br>```<br><br>```<br>transactions.subscription_id = events.content.invoice.subscription_id<br>```<br><br>```<br>transactions.subscription_id = events.content.transaction.subscription_id<br>```<br><br>```<br>transactions.id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>transactions.reference_transaction_id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>transactions.refunded_txn_id = events.content.invoice.linked_payments.txn_id<br>```<br><br>```<br>transactions.id = events.content.transaction.id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = events.content.transaction.id<br>```<br><br>```<br>transactions.reference_transaction_id = events.content.transaction.id<br>```<br><br>```<br>transactions.refunded_txn_id = events.content.transaction.id<br>```<br><br>```<br>transactions.id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>transactions.reference_transaction_id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>transactions.refunded_txn_id = events.content.transaction.linked_refunds.txn_id<br>```<br><br>```<br>transactions.id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>transactions.reference_transaction_id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>transactions.refunded_txn_id = events.content.transaction.reference_transaction_id<br>```<br><br>```<br>transactions.id = events.content.transaction.refunded_txn_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = events.content.transaction.refunded_txn_id<br>```<br><br>```<br>transactions.reference_transaction_id = events.content.transaction.refunded_txn_id<br>```<br><br>```<br>transactions.refunded_txn_id = events.content.transaction.refunded_txn_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>transactions.customer_id = invoices.customer_id<br>```<br><br>```<br>transactions.customer_id = invoices.notes.entity_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = invoices.id<br>```<br><br>```<br>transactions.subscription_id = invoices.line_items.subscription_id<br>```<br><br>```<br>transactions.subscription_id = invoices.notes.entity_id<br>```<br><br>```<br>transactions.subscription_id = invoices.subscription_id<br>```<br><br>```<br>transactions.id = invoices.linked_payments.txn_id<br>```<br><br>```<br>transactions.linked_refunds.txn_id = invoices.linked_payments.txn_id<br>```<br><br>```<br>transactions.reference_transaction_id = invoices.linked_payments.txn_id<br>```<br><br>```<br>transactions.refunded_txn_id = invoices.linked_payments.txn_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>transactions.customer_id = payment_sources.customer_id<br>```<br><br>```<br>transactions.payment_source_id = payment_sources.id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>transactions.customer_id = promotional_credits.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>transactions.customer_id = subscriptions.customer_id<br>```<br><br>```<br>transactions.payment_source_id = subscriptions.payment_source_id<br>```<br><br>```<br>transactions.subscription_id = subscriptions.id<br>``` |
| [virtual_bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#virtual-bank-accounts) | ```<br>transactions.customer_id = virtual_bank_accounts.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>transactions.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>transactions.customer_id = gifts.gifter.customer_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = gifts.gifter.invoice_id<br>```<br><br>```<br>transactions.subscription_id = gifts.gift_receiver.subscription_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>transactions.customer_id = orders.customer_id<br>```<br><br>```<br>transactions.linked_credit_notes.cn_reference_invoice_id = orders.invoice_id<br>```<br><br>```<br>transactions.subscription_id = orders.subscription_id<br>``` |

transactions table schema

| **amount**<br><br><br>INTEGER |
| --- |
| **amount\_capturable**<br><br><br>STRING |
| **amount\_unused**<br><br><br>INTEGER |
| **authorization\_reason**<br><br><br>STRING |
| **base\_currency\_code**<br><br><br>STRING |
| **currency\_code**<br><br><br>STRING |
| **customer\_id**<br><br><br>STRING |
| **date**<br><br><br>DATE-TIME |
| **deleted**<br><br><br>BOOLEAN |
| **error\_code**<br><br><br>STRING |
| **error\_text**<br><br><br>STRING |
| **exchange\_rate**<br><br><br>NUMBER |
| **fraud\_flag**<br><br><br>STRING |
| **fraud\_reason**<br><br><br>STRING |
| **gateway**<br><br><br>STRING |
| **gateway\_account\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **id\_at\_gateway**<br><br><br>STRING |
| **iin**<br><br><br>STRING |
| **initiator\_type**<br><br><br>STRING |
| **last4**<br><br><br>STRING |
| **linked\_credit\_notes**<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 linked\_credit\_notes<br><br><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_create_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								cn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reason_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_reference_invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cn_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **linked\_invoices**<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 linked\_invoices<br><br><table> <tr> <td> <p> <strong>								applied_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								applied_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								invoice_total							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **linked\_payments**<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 linked\_payments<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **linked\_refunds**<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 linked\_refunds<br><br><table> <tr> <td> <p> <strong>								txn_amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								txn_date							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								txn_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								txn_status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **masked\_card\_number**<br><br><br>STRING |
| **merchant\_reference\_id**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **payment\_method**<br><br><br>STRING |
| **payment\_source\_id**<br><br><br>STRING |
| **reference\_authorization\_id**<br><br><br>STRING |
| **reference\_number**<br><br><br>STRING |
| **reference\_transaction\_id**<br><br><br>STRING |
| **refunded\_txn\_id**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **reversal\_transaction\_id**<br><br><br>STRING |
| **reversal\_txn\_id**<br><br><br>STRING |
| **settled\_at**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **subscription\_id**<br><br><br>STRING |
| **three\_d\_secure**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **validated\_at**<br><br><br>DATE-TIME |
| **voided\_at**<br><br><br>DATE-TIME |

### virtual\_bank\_accounts

The `virtual_bank_accounts` table contains info about the virtual bank accounts in your Chargebee account. A virtual bank account is a unique account number that can be shared with your users while still protecting your sensitive bank account details.

**Note**: This table is available Refer to the [Table and field availability and Chargebee Product Catalogs section](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#product-catalog-versions) for more info.

| **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** | [Chargebee documentation](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts "Opens in new tab: Chargebee documentation")<br><br><br>[virtual_bank_accounts schema on GitHub](https://github.com/singer-io/tap-chargebee/blob/master/tap_chargebee/schemas/virtual_bank_accounts.json "Opens in new tab: virtual_bank_accounts schema on GitHub")<br><br><br>[Chargebee API method](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts#list_virtual_bank_accounts "Opens in new tab: Chargebee API method") |

virtual\_bank\_accounts table foreign keys

| Join virtual\_bank\_accounts with | on |
| --- | --- |
| [credit_notes](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#credit-notes) | ```<br>virtual_bank_accounts.customer_id = credit_notes.customer_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#customers) | ```<br>virtual_bank_accounts.customer_id = customers.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#events) | ```<br>virtual_bank_accounts.customer_id = events.content.customer.id<br>```<br><br>```<br>virtual_bank_accounts.customer_id = events.content.invoice.customer_id<br>```<br><br>```<br>virtual_bank_accounts.customer_id = events.content.subscription.customer_id<br>```<br><br>```<br>virtual_bank_accounts.customer_id = events.content.transaction.customer_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#invoices) | ```<br>virtual_bank_accounts.customer_id = invoices.customer_id<br>```<br><br>```<br>virtual_bank_accounts.customer_id = invoices.notes.entity_id<br>``` |
| [payment_sources](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#payment-sources) | ```<br>virtual_bank_accounts.customer_id = payment_sources.customer_id<br>``` |
| [promotional_credits](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#promotional-credits) | ```<br>virtual_bank_accounts.customer_id = promotional_credits.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#subscriptions) | ```<br>virtual_bank_accounts.customer_id = subscriptions.customer_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#transactions) | ```<br>virtual_bank_accounts.customer_id = transactions.customer_id<br>``` |
| [gifts](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#gifts) | ```<br>virtual_bank_accounts.customer_id = gifts.gift_receiver.customer_id<br>```<br><br>```<br>virtual_bank_accounts.customer_id = gifts.gifter.customer_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/chargebee#orders) | ```<br>virtual_bank_accounts.customer_id = orders.customer_id<br>``` |

virtual\_bank\_accounts table schema

| **account\_number**<br><br><br>STRING |
| --- |
| **bank\_name**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **customer\_id**<br><br><br>STRING |
| **deleted**<br><br><br>BOOLEAN |
| **email**<br><br><br>STRING |
| **gateway**<br><br><br>STRING |
| **gateway\_account\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **object**<br><br><br>STRING |
| **reference\_id**<br><br><br>STRING |
| **resource\_version**<br><br><br>INTEGER |
| **routing\_number**<br><br><br>STRING |
| **scheme**<br><br><br>STRING |
| **swift\_code**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |