# Square (v2)

Information note **Square extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Square tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-square).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Square integration summary

Stitch’s Square integration replicates data using the [Square API version 2023-06-08](https://developer.squareup.com/reference/square). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/square#schema) section for a list of objects available for replication.

## Square feature snapshot

A high-level look at Stitch's Square (v2) 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 July 19, 2023 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **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-square](https://github.com/singer-io/tap-square) |  |  |
| **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 Square

### Square setup requirements

To set up Square in Stitch, you need:

* **To log into your Square sandbox environment, if you’re connecting a sandbox.** To allow Stitch to successfully access the sandbox, you must be logged into it prior to setting up the Square integration in Stitch.

  **If you’re connecting a production environment**, start with [Step 2](https://help.qlik.com/en-US/stitch/integrations/saas/square#add-stitch-data-source) of this guide.

### Step 1: Login to your Square sandbox environment

Information note **Important**: If you’re connecting a Square sandbox, this step is required. Skip to [Step 2](https://help.qlik.com/en-US/stitch/integrations/saas/square#add-stitch-data-source) if you’re connecting a production environment.

To connect to your Square sandbox environment, you’ll need to login to your sandbox environment before completing the next step. This is required to grant Stitch authorization to access the sandbox environment. For more info, refer to the [Square documentation](https://developer.squareup.com/docs/oauth-api/walkthrough#33-test-your-authorization-flow).

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

5. Check the **Connect to a sandbox environment** if choosing to connect to your Square sandbox. **Note**: Make sure you completed [Step 1](https://help.qlik.com/en-US/stitch/integrations/saas/square#sandbox-environment) before continuing.

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

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

Square 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: Authorizing Stitch to Access Square

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

1. Enter your Square credentials and click **Login**.
2. After the authorization process successfully completes, you’ll be redirected back to Stitch.
3. Click **All Done**.

### Step 6: Set objects to replicate

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

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/square#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 Square 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 Square, 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.

## Square 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 2** of this integration.

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

### bank\_accounts

The `bank_accounts` contains information about a merchant’s bank account in Square.

**Note**: This table can’t be replicated if the **Connect to a sandbox environment** box is checked in the [integration’s settings](https://help.qlik.com/en-US/stitch/integrations/saas/square#add-stitch-data-source) due to limits imposed by Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/bank-accounts-api "Opens in new tab: Square documentation")<br><br><br>[bank_accounts schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/bank_accounts.json "Opens in new tab: bank_accounts schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/bank-accounts-api/get-bank-account "Opens in new tab: Square API method") |

bank\_accounts table foreign keys

| Join bank\_accounts with | on |
| --- | --- |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>bank_accounts.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>bank_accounts.id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>bank_accounts.id = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>bank_accounts.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>bank_accounts.id = items.absent_at_location_ids<br>```<br><br>```<br>bank_accounts.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>bank_accounts.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>bank_accounts.id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>bank_accounts.id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>bank_accounts.id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>bank_accounts.id = orders.id<br>```<br><br>```<br>bank_accounts.id = orders.refunds.id<br>```<br><br>```<br>bank_accounts.id = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>bank_accounts.id = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>bank_accounts.id = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>bank_accounts.id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>bank_accounts.id = taxes.absent_at_location_ids<br>``` |

bank\_accounts table schema

| **account\_number\_suffix**<br><br><br>STRING |
| --- |
| **account\_type**<br><br><br>STRING |
| **bank\_name**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **creditable**<br><br><br>BOOLEAN |
| **currency**<br><br><br>STRING |
| **debit\_mandate\_reference\_id**<br><br><br>STRING |
| **debitable**<br><br><br>BOOLEAN |
| **holder\_name**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **primary\_bank\_identification\_number**<br><br><br>STRING |
| **reference\_id**<br><br><br>STRING |
| **secondary\_bank\_identification\_number**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **version**<br><br><br>INTEGER |

### cash\_drawer\_shifts

The `cash_drawer_shifts` table contains infomration about cash transactions in Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/cash-drawers-api/retrieve-cash-drawer-shift#response-body "Opens in new tab: Square documentation")<br><br><br>[cash_drawer_shifts schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/cash_drawer_shifts.json "Opens in new tab: cash_drawer_shifts schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/cash-drawers-api/retrieve-cash-drawer-shift "Opens in new tab: Square API method") |

cash\_drawer\_shifts table schema

| **closed\_at**<br><br><br>DATE-TIME |
| --- |
| **closed\_cash\_money**<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 closed\_cash\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **ended\_at**<br><br><br>DATE-TIME |
| **expected\_cash\_money**<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 expected\_cash\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **opened\_at**<br><br><br>DATE-TIME |
| **opened\_cash\_money**<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 opened\_cash\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **state**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### categories

The `categories` table contains information about item categories for a given location in Square.

| **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** | [Square documentation](https://developer.squareup.com/reference/square/catalog-api/v1-list-categories "Opens in new tab: Square documentation")<br><br><br>[categories schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/categories.json "Opens in new tab: categories schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/catalog-api/list-catalog "Opens in new tab: Square API method") |

categories table foreign keys

| Join categories with | on |
| --- | --- |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>categories.id = items.item_data.category_id<br>```<br><br>```<br>categories.absent_at_location_ids = items.absent_at_location_ids<br>```<br><br>```<br>categories.absent_at_location_ids = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>categories.absent_at_location_ids = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>categories.absent_at_location_ids = items.present_at_location_ids<br>``` |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>categories.absent_at_location_ids = bank_accounts.id<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>categories.absent_at_location_ids = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>categories.absent_at_location_ids = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>categories.absent_at_location_ids = inventories.location_id<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>categories.absent_at_location_ids = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>categories.absent_at_location_ids = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>categories.absent_at_location_ids = orders.id<br>```<br><br>```<br>categories.absent_at_location_ids = orders.refunds.id<br>```<br><br>```<br>categories.absent_at_location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>categories.absent_at_location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>categories.absent_at_location_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>categories.absent_at_location_ids = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>categories.absent_at_location_ids = taxes.absent_at_location_ids<br>``` |

categories table schema

| **absent\_at\_location\_ids**<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;. |
| --- |
| **category\_data**<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 category\_data<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **present\_at\_all\_locations**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### customers

The `customers` contains information about customer profiles associated with your Square 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 |
| --- | --- |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [customers schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/customers.json "Opens in new tab: customers schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/customers-api/list-customers "Opens in new tab: Square API method") |

customers table schema

| **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 address<br><br><table> <tr> <td> <p> <strong>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **birthday**<br><br>DATE-TIME<br><br>STRING |
| **company\_name**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **creation\_source**<br><br><br>STRING |
| **email\_address**<br><br><br>STRING |
| **family\_name**<br><br><br>STRING |
| **given\_name**<br><br><br>STRING |
| **group\_ids**<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;. |
| **id**<br><br><br>STRING |
| **nickname**<br><br><br>STRING |
| **note**<br><br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **preferences**<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 preferences<br><br><table> <tr> <td> <p> <strong>								email_unsubscribed							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **reference\_id**<br><br><br>STRING |
| **segment\_ids**<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;. |
| **tax\_ids**<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\_ids<br><br><table> <tr> <td> <p> <strong>								eu_vat							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### discounts

The `discounts` table contains information about discounts for a given location in Square.

| **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** | [discounts schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/discounts.json "Opens in new tab: discounts schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/catalog-api/list-catalog "Opens in new tab: Square API method") |

discounts table foreign keys

| Join discounts with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>discounts.absent_at_location_ids = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>discounts.absent_at_location_ids = categories.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>discounts.absent_at_location_ids = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>discounts.absent_at_location_ids = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>discounts.absent_at_location_ids = items.absent_at_location_ids<br>```<br><br>```<br>discounts.absent_at_location_ids = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>discounts.absent_at_location_ids = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>discounts.absent_at_location_ids = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>discounts.absent_at_location_ids = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>discounts.absent_at_location_ids = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>discounts.absent_at_location_ids = orders.id<br>```<br><br>```<br>discounts.absent_at_location_ids = orders.refunds.id<br>```<br><br>```<br>discounts.absent_at_location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>discounts.absent_at_location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>discounts.absent_at_location_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>discounts.absent_at_location_ids = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>discounts.absent_at_location_ids = taxes.absent_at_location_ids<br>``` |

discounts table schema

| **absent\_at\_location\_ids**<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;. |
| --- |
| **discount\_data**<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 discount\_data<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								application_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								discount_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								label_color							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								modify_tax_basis							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pin_required							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **present\_at\_all\_locations**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### inventories

The `inventories` table contains info about the current calculated stock count for a Square location.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Loading Behavior [](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)[the Info icon](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)[](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)** | Append-Only |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/inventory-api "Opens in new tab: Square documentation")<br><br><br>[inventories schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/inventories.json "Opens in new tab: inventories schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/inventory-api/retrieve-inventory-count "Opens in new tab: Square API method") |

inventories table foreign keys

| Join inventories with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>inventories.location_id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>inventories.location_id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>inventories.location_id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>inventories.location_id = team_members.assigned_locations.location_ids<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>inventories.location_id = items.absent_at_location_ids<br>```<br><br>```<br>inventories.location_id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>inventories.location_id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>inventories.location_id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>inventories.location_id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>inventories.location_id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>inventories.location_id = orders.id<br>```<br><br>```<br>inventories.location_id = orders.refunds.id<br>```<br><br>```<br>inventories.location_id = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>inventories.location_id = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>inventories.location_id = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>inventories.location_id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>inventories.location_id = taxes.absent_at_location_ids<br>``` |

inventories table schema

| **calculated\_at**<br><br><br>DATE-TIME |
| --- |
| **catalog\_object\_id**<br><br><br>STRING |
| **catalog\_object\_type**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **quantity**<br><br><br>STRING |
| **state**<br><br><br>STRING |

### items

The `items` table contains information about items for a given location in Square.

| **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** | [Square documentation](https://developer.squareup.com/reference/square/catalog-api "Opens in new tab: Square documentation")<br><br><br>[items schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/items.json "Opens in new tab: items schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/catalog-api/list-catalog "Opens in new tab: Square API method") |

items table foreign keys

| Join items with | on |
| --- | --- |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>items.item_data.category_id = categories.id<br>```<br><br>```<br>items.absent_at_location_ids = categories.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = categories.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = categories.absent_at_location_ids<br>```<br><br>```<br>items.present_at_location_ids = categories.absent_at_location_ids<br>``` |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>items.absent_at_location_ids = bank_accounts.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = bank_accounts.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = bank_accounts.id<br>```<br><br>```<br>items.present_at_location_ids = bank_accounts.id<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>items.absent_at_location_ids = discounts.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = discounts.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = discounts.absent_at_location_ids<br>```<br><br>```<br>items.present_at_location_ids = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>items.absent_at_location_ids = team_members.assigned_locations.location_ids<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = team_members.assigned_locations.location_ids<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = team_members.assigned_locations.location_ids<br>```<br><br>```<br>items.present_at_location_ids = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>items.absent_at_location_ids = inventories.location_id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = inventories.location_id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = inventories.location_id<br>```<br><br>```<br>items.present_at_location_ids = inventories.location_id<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>items.absent_at_location_ids = locations.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = locations.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = locations.id<br>```<br><br>```<br>items.present_at_location_ids = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>items.absent_at_location_ids = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>items.present_at_location_ids = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>items.item_data.modifier_list_info.modifier_list_id = modifier_lists.id<br>```<br><br>```<br>items.item_data.modifier_list_info.modifier_list_id = modifier_lists.modifier_list_data.modifiers.modifier_data.modifier_list_id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>items.absent_at_location_ids = orders.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = orders.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = orders.id<br>```<br><br>```<br>items.present_at_location_ids = orders.id<br>```<br><br>```<br>items.absent_at_location_ids = orders.refunds.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = orders.refunds.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = orders.refunds.id<br>```<br><br>```<br>items.present_at_location_ids = orders.refunds.id<br>```<br><br>```<br>items.absent_at_location_ids = orders.tenders.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = orders.tenders.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = orders.tenders.id<br>```<br><br>```<br>items.present_at_location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>items.absent_at_location_ids = payments.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = payments.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = payments.id<br>```<br><br>```<br>items.present_at_location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>items.absent_at_location_ids = refunds.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = refunds.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = refunds.id<br>```<br><br>```<br>items.present_at_location_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>items.absent_at_location_ids = shifts.id<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = shifts.id<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = shifts.id<br>```<br><br>```<br>items.present_at_location_ids = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>items.absent_at_location_ids = taxes.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.item_variation_data.location_overrides.location_id = taxes.absent_at_location_ids<br>```<br><br>```<br>items.item_data.variations.present_at_location_ids = taxes.absent_at_location_ids<br>```<br><br>```<br>items.present_at_location_ids = taxes.absent_at_location_ids<br>```<br><br>```<br>items.item_data.tax_ids = taxes.id<br>``` |

items table schema

| **absent\_at\_location\_ids**<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;. |
| --- |
| **id**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **item\_data**<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 item\_data<br><br><table> <tr> <td> <p> <strong>								abbreviation							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								available_electronically							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								available_for_pickup							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								available_online							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								category_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_options							</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_options</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								item_option_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								label_color							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								legacy_tax_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>								modifier_list_info							</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 modifier_list_info</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								modifier_list_id							</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>								product_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								skip_modifier_screen							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								tax_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>								variations							</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 variations</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								item_variation_data							</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_variation_data</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								inventory_alert_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								location_overrides							</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 location_overrides</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								inventory_alert_threshold							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								inventory_alert_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								location_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sold_out							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								track_inventory							</strong> </p> <p>							BOOLEAN													</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>								ordinal							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_money							</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 price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								pricing_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sku							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								track_inventory							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								user_data							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								present_at_all_locations							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								present_at_location_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>								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>								version							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								visibility							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **present\_at\_all\_locations**<br><br><br>BOOLEAN |
| **present\_at\_location\_ids**<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;. |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### locations

The `locations` table contains information about all of your business locations in Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/locations-api "Opens in new tab: Square documentation")<br><br><br>[locations schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/locations.json "Opens in new tab: locations schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/locations-api/list-locations "Opens in new tab: Square API method") |

locations table foreign keys

| Join locations with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>locations.id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>locations.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>locations.id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>locations.id = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>locations.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>locations.id = items.absent_at_location_ids<br>```<br><br>```<br>locations.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>locations.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>locations.id = items.present_at_location_ids<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>locations.id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>locations.id = orders.id<br>```<br><br>```<br>locations.id = orders.refunds.id<br>```<br><br>```<br>locations.id = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>locations.id = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>locations.id = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>locations.id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>locations.id = taxes.absent_at_location_ids<br>``` |

locations table schema

| **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 address<br><br><table> <tr> <td> <p> <strong>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **business\_email**<br><br><br>STRING |
| **business\_hours**<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 business\_hours<br><br><table> <tr> <td> <p> <strong>								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> <div> <button>Click to expand periods</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								day_of_week							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								end_local_time							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								start_local_time							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **business\_name**<br><br><br>STRING |
| **capabilities**<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;. |
| **coordinates**<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 coordinates<br><br><table> <tr> <td> <p> <strong>								latitude							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								longitude							</strong> </p> <p>							NUMBER													</p> </td> </tr> </table> |
| **country**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **currency**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **facebook\_url**<br><br><br>STRING |
| **full\_format\_logo\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **instagram\_username**<br><br><br>STRING |
| **language\_code**<br><br><br>STRING |
| **logo\_url**<br><br><br>STRING |
| **mcc**<br><br><br>STRING |
| **merchant\_id**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **phone\_number**<br><br><br>STRING |
| **pos\_background\_url**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |
| **twitter\_username**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **website\_url**<br><br><br>STRING |

### modifier\_lists

The `modifier_lists` table contains information about modifier lists for a given location in Square.

| **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** | [Square documentation](https://developer.squareup.com/reference/square/catalog-api/v1-list-modifier-lists "Opens in new tab: Square documentation")<br><br><br>[modifier_lists schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/modifier_lists.json "Opens in new tab: modifier_lists schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/catalog-api/list-catalog "Opens in new tab: Square API method") |

modifier\_lists table foreign keys

| Join modifier\_lists with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>modifier_lists.absent_at_location_ids = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>modifier_lists.absent_at_location_ids = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>modifier_lists.absent_at_location_ids = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>modifier_lists.absent_at_location_ids = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>modifier_lists.absent_at_location_ids = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>modifier_lists.absent_at_location_ids = items.absent_at_location_ids<br>```<br><br>```<br>modifier_lists.absent_at_location_ids = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>modifier_lists.absent_at_location_ids = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>modifier_lists.absent_at_location_ids = items.present_at_location_ids<br>```<br><br>```<br>modifier_lists.id = items.item_data.modifier_list_info.modifier_list_id<br>```<br><br>```<br>modifier_lists.modifier_list_data.modifiers.modifier_data.modifier_list_id = items.item_data.modifier_list_info.modifier_list_id<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>modifier_lists.absent_at_location_ids = locations.id<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>modifier_lists.absent_at_location_ids = orders.id<br>```<br><br>```<br>modifier_lists.absent_at_location_ids = orders.refunds.id<br>```<br><br>```<br>modifier_lists.absent_at_location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>modifier_lists.absent_at_location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>modifier_lists.absent_at_location_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>modifier_lists.absent_at_location_ids = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>modifier_lists.absent_at_location_ids = taxes.absent_at_location_ids<br>``` |

modifier\_lists table schema

| **absent\_at\_location\_ids**<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;. |
| --- |
| **id**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **modifier\_list\_data**<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 modifier\_list\_data<br><br><table> <tr> <td> <p> <strong>								modifiers							</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 modifiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_deleted							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								modifier_data							</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 modifier_data</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								modifier_list_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								on_by_default							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								ordinal							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_money							</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 price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								present_at_all_locations							</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>								version							</strong> </p> <p>							INTEGER													</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>								ordinal							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								selection_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **present\_at\_all\_locations**<br><br><br>BOOLEAN |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### orders

The `orders` table contains information about order updates in Square.

| **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 |
| --- | --- |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/orders-api "Opens in new tab: Square documentation")<br><br><br>[orders schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/orders.json "Opens in new tab: orders schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/orders-api/search-orders "Opens in new tab: Square API method") |

orders table foreign keys

| Join orders with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>orders.id = bank_accounts.id<br>```<br><br>```<br>orders.refunds.id = bank_accounts.id<br>```<br><br>```<br>orders.tenders.id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>orders.id = categories.absent_at_location_ids<br>```<br><br>```<br>orders.refunds.id = categories.absent_at_location_ids<br>```<br><br>```<br>orders.tenders.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>orders.id = discounts.absent_at_location_ids<br>```<br><br>```<br>orders.refunds.id = discounts.absent_at_location_ids<br>```<br><br>```<br>orders.tenders.id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>orders.id = team_members.assigned_locations.location_ids<br>```<br><br>```<br>orders.refunds.id = team_members.assigned_locations.location_ids<br>```<br><br>```<br>orders.tenders.id = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>orders.id = inventories.location_id<br>```<br><br>```<br>orders.refunds.id = inventories.location_id<br>```<br><br>```<br>orders.tenders.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>orders.id = items.absent_at_location_ids<br>```<br><br>```<br>orders.refunds.id = items.absent_at_location_ids<br>```<br><br>```<br>orders.tenders.id = items.absent_at_location_ids<br>```<br><br>```<br>orders.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>orders.refunds.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>orders.tenders.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>orders.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>orders.refunds.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>orders.tenders.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>orders.id = items.present_at_location_ids<br>```<br><br>```<br>orders.refunds.id = items.present_at_location_ids<br>```<br><br>```<br>orders.tenders.id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>orders.id = locations.id<br>```<br><br>```<br>orders.refunds.id = locations.id<br>```<br><br>```<br>orders.tenders.id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>orders.id = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>orders.refunds.id = modifier_lists.absent_at_location_ids<br>```<br><br>```<br>orders.tenders.id = modifier_lists.absent_at_location_ids<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>orders.id = payments.id<br>```<br><br>```<br>orders.refunds.id = payments.id<br>```<br><br>```<br>orders.tenders.id = payments.id<br>```<br><br>```<br>orders.id = payments.order_id<br>```<br><br>```<br>orders.returns.source_order_id = payments.order_id<br>```<br><br>```<br>orders.refunds.id = payments.order_id<br>```<br><br>```<br>orders.refunds.id = payments.refund_ids<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>orders.id = refunds.id<br>```<br><br>```<br>orders.refunds.id = refunds.id<br>```<br><br>```<br>orders.tenders.id = refunds.id<br>```<br><br>```<br>orders.id = refunds.order_id<br>```<br><br>```<br>orders.returns.source_order_id = refunds.order_id<br>```<br><br>```<br>orders.tenders.id = refunds.payment_id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>orders.id = shifts.id<br>```<br><br>```<br>orders.refunds.id = shifts.id<br>```<br><br>```<br>orders.tenders.id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>orders.id = taxes.absent_at_location_ids<br>```<br><br>```<br>orders.refunds.id = taxes.absent_at_location_ids<br>```<br><br>```<br>orders.tenders.id = taxes.absent_at_location_ids<br>``` |

orders table schema

| **closed\_at**<br><br><br>DATE-TIME |
| --- |
| **created\_at**<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_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								pricing_rule_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scope							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **fulfillments**<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 fulfillments<br><br><table> <tr> <td> <p> <strong>								pickup_details							</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 pickup_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								accepted_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								auto_complete_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cancel_reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								canceled_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								expired_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								expires_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								picked_up_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								pickup_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								pickup_window_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								placed_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								prep_time_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								ready_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								recipient							</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 recipient</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								display_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email_address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone_number							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								rejected_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								schedule_type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **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>								base_price_money							</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 base_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								gross_sales_money							</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 gross_sales_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								modifiers							</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 modifiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								base_price_money							</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 base_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_price_money							</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 total_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_unit							</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 quantity_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								measurement_unit							</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 measurement_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								area_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_unit							</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 custom_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								abbreviation							</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>								generic_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								length_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								time_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								volume_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								weight_unit							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								precision							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_discount_money							</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 total_discount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_tax_money							</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 total_tax_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								variation_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								variation_total_price_money							</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 variation_total_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **location\_id**<br><br><br>STRING |
| **net\_amount\_due\_money**<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 net\_amount\_due\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **net\_amounts**<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 net\_amounts<br><br><table> <tr> <td> <p> <strong>								discount_money							</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 discount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								service_charge_money							</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 service_charge_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tax_money							</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_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tip_money							</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 tip_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **pricing\_options**<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 pricing\_options<br><br><table> <tr> <td> <p> <strong>								auto_apply_discounts							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **reference\_id**<br><br><br>STRING |
| **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 refunds<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								location_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								processing_fee_money							</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 processing_fee_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								reason							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tender_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **return\_amounts**<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 return\_amounts<br><br><table> <tr> <td> <p> <strong>								discount_money							</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 discount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								service_charge_money							</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 service_charge_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tax_money							</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_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tip_money							</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 tip_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **returns**<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 returns<br><br><table> <tr> <td> <p> <strong>								return_amounts							</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 return_amounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								discount_money							</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 discount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								service_charge_money							</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 service_charge_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tax_money							</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_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tip_money							</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 tip_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								return_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 return_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scope							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								source_discount_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								return_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 return_line_items</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_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 applied_discounts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								discount_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_service_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 applied_service_charges</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								service_charge_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_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 applied_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tax_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								base_price_money							</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 base_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								gross_return_money							</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 gross_return_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity_unit							</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 quantity_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								measurement_unit							</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 measurement_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								area_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								custom_unit							</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 custom_unit</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								abbreviation							</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>								generic_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								length_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								time_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								volume_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								weight_unit							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								precision							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								return_modifiers							</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 return_modifiers</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								base_price_money							</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 base_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								quantity							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								source_modifier_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_price_money							</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 total_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								source_line_item_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								total_discount_money							</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 total_discount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_service_charge_money							</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 total_service_charge_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_tax_money							</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 total_tax_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								variation_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								variation_total_price_money							</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 variation_total_price_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								return_service_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 return_service_charges</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								calculation_phase							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								source_service_charge_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_tax_money							</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 total_tax_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								return_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 return_taxes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scope							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								source_tax_uid							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								rounding_adjustment							</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 rounding_adjustment</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								source_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								uid							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **service\_charges**<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 service\_charges<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								calculation_phase							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								total_money							</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 total_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								total_tax_money							</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 total_tax_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **source**<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 source<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **state**<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>								applied_money							</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 applied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								catalog_object_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								catalog_version							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								scope							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **tenders**<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 tenders<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								card_details							</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_details</button><div> <div> <div><div><table> <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_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>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								bin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_co_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cardholder_name  							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								exp_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								exp_year							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fingerprint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								merchant_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								prepaid_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>								version							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								entry_method							</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>								cash_details							</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 cash_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								buyer_tendered_money							</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 buyer_tendered_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								change_back_money							</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 change_back_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</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>								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>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								location_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								note							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								processing_fee_money							</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 processing_fee_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tip_money							</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 tip_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_discount\_money**<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 total\_discount\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_money**<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 total\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_service\_charge\_money**<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 total\_service\_charge\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_tax\_money**<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 total\_tax\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_tip\_money**<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 total\_tip\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### payments

The `payments` table contains information about all payments taken in Square.

| **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 |
| --- | --- |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at,created\_at |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/payments-api "Opens in new tab: Square documentation")<br><br><br>[payments schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/payments.json "Opens in new tab: payments schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/payments-api/list-payments "Opens in new tab: Square API method") |

payments table foreign keys

| Join payments with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>payments.id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>payments.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>payments.id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>payments.id = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>payments.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>payments.id = items.absent_at_location_ids<br>```<br><br>```<br>payments.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>payments.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>payments.id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>payments.id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>payments.id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>payments.id = orders.id<br>```<br><br>```<br>payments.id = orders.refunds.id<br>```<br><br>```<br>payments.id = orders.tenders.id<br>```<br><br>```<br>payments.order_id = orders.id<br>```<br><br>```<br>payments.order_id = orders.returns.source_order_id<br>```<br><br>```<br>payments.order_id = orders.refunds.id<br>```<br><br>```<br>payments.refund_ids = orders.refunds.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>payments.id = refunds.id<br>```<br><br>```<br>payments.order_id = refunds.order_id<br>```<br><br>```<br>payments.id = refunds.payment_id<br>```<br><br>```<br>payments.order_id = refunds.id<br>```<br><br>```<br>payments.refund_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>payments.id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>payments.id = taxes.absent_at_location_ids<br>``` |

payments table schema

| **amount\_money**<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 amount\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **app\_fee\_money**<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 app\_fee\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **application\_details**<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 application\_details<br><br><table> <tr> <td> <p> <strong>								application_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								square_product							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **approved\_money**<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 approved\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **bank\_account\_details**<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\_details<br><br><table> <tr> <td> <p> <strong>								account_ownership_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								ach_details							</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 ach_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account_number_suffix							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								account_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								routing_number							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								bank_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								errors							</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 errors</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								category							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								detail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								field							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								fingerprint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								statement_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								transfer_type							</strong> </p> <p>							STRING													</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>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **buy\_now\_pay\_later\_details**<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 buy\_now\_pay\_later\_details<br><br><table> <tr> <td> <p> <strong>								afterpay_details							</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 afterpay_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email_address							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								clearpay_details							</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 clearpay_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email_address							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **buyer\_email\_address**<br><br><br>STRING |
| **capabilities**<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;. |
| **card\_details**<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\_details<br><br><table> <tr> <td> <p> <strong>								application_cryptogram							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								application_identifier							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								application_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								auth_result_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								avs_status							</strong> </p> <p>							STRING													</p> </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_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>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								bin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_co_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cardholder_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								exp_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								exp_year							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fingerprint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								merchant_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								prepaid_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>								version							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								card_payment_timeline							</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_payment_timeline</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								authorized_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								captured_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>								cvv_status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								entry_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								errors							</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 errors</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								category							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								detail							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								field							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								statement_description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								verification_method							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								verification_results							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **cash\_details**<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 cash\_details<br><br><table> <tr> <td> <p> <strong>								buyer_supplied_money							</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 buyer_supplied_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								change_back_money							</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 change_back_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **customer\_id**<br><br><br>STRING |
| **delay\_action**<br><br><br>STRING |
| **delay\_duration**<br><br><br>STRING |
| **delayed\_until**<br><br><br>DATE-TIME |
| **device\_details**<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 device\_details<br><br><table> <tr> <td> <p> <strong>								device_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device_installation_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								device_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **external\_details**<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 external\_details<br><br><table> <tr> <td> <p> <strong>								source							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								source_fee_money							</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 source_fee_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								source_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **note**<br><br><br>STRING |
| **order\_id**<br><br><br>STRING |
| **processing\_fee**<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 processing\_fee<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								effective_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **receipt\_number**<br><br><br>STRING |
| **receipt\_url**<br><br><br>STRING |
| **reference\_id**<br><br><br>STRING |
| **refund\_ids**<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;. |
| **refunded\_money**<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 refunded\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **risk\_evaluation**<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 risk\_evaluation<br><br><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								risk_level							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **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>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **source\_type**<br><br><br>STRING |
| **statement\_description\_identifier**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **team\_member\_id**<br><br><br>STRING |
| **tip\_money**<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 tip\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **total\_money**<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 total\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updated\_at**<br><br><br>DATE-TIME |
| **version\_token**<br><br><br>STRING |
| **wallet\_details**<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 wallet\_details<br><br><table> <tr> <td> <p> <strong>								brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cash_app_details							</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 cash_app_details</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								buyer_cashtag							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								buyer_country_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								buyer_full_name							</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> </table> |

### payouts

The `payouts` table contains information about all payouts made in Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/payouts-api "Opens in new tab: Square documentation")<br><br><br>[payouts schema on GitHub](https://github.com/singer-io/tap-square/tree/TDL-23235-add-payouts-stream/tap_square/schemas/payouts.json "Opens in new tab: payouts schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/payouts-api/list-payouts "Opens in new tab: Square API method") |

payouts table schema

| **amount\_money**<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 amount\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **arrival\_date**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **destination**<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 destination<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **end\_to\_end\_id**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **payout\_fee**<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 payout\_fee<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								effective_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### refunds

The `refunds` table contains information about refunds on items in Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/refunds-api "Opens in new tab: Square documentation")<br><br><br>[refunds schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/refunds.json "Opens in new tab: refunds schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/refunds-api/list-payment-refunds "Opens in new tab: Square API method") |

refunds table foreign keys

| Join refunds with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>refunds.id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>refunds.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>refunds.id = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>refunds.id = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>refunds.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>refunds.id = items.absent_at_location_ids<br>```<br><br>```<br>refunds.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>refunds.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>refunds.id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>refunds.id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>refunds.id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>refunds.id = orders.id<br>```<br><br>```<br>refunds.id = orders.refunds.id<br>```<br><br>```<br>refunds.id = orders.tenders.id<br>```<br><br>```<br>refunds.order_id = orders.id<br>```<br><br>```<br>refunds.order_id = orders.returns.source_order_id<br>```<br><br>```<br>refunds.payment_id = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>refunds.id = payments.id<br>```<br><br>```<br>refunds.order_id = payments.order_id<br>```<br><br>```<br>refunds.payment_id = payments.id<br>```<br><br>```<br>refunds.id = payments.order_id<br>```<br><br>```<br>refunds.id = payments.refund_ids<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>refunds.id = shifts.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>refunds.id = taxes.absent_at_location_ids<br>``` |

refunds table schema

| **amount\_money**<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 amount\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **app\_fee\_money**<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 app\_fee\_money<br><br><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **destination\_details**<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 destination\_details<br><br><table> <tr> <td> <p> <strong>								card_details							</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_details</button><div> <div> <div><div><table> <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_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>								address_line_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_line_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_1							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								administrative_district_level_3							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</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>								locality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								postal_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								sublocality_3							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								bin							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_co_brand							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cardholder_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								exp_month							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								exp_year							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								fingerprint							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_4							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								merchant_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								prepaid_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>								version							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								entry_method							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **destination\_type**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **order\_id**<br><br><br>STRING |
| **payment\_id**<br><br><br>STRING |
| **processing\_fee**<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 processing\_fee<br><br><table> <tr> <td> <p> <strong>								amount_money							</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 amount_money</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								effective_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **reason**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **team\_member\_id**<br><br><br>STRING |
| **unlinked**<br><br><br>BOOLEAN |
| **updated\_at**<br><br><br>DATE-TIME |

### roles

The `roles` table contains information about employees’ roles in Square.

**Note**: This table can’t be replicated if the **Connect to a sandbox environment** box is checked in the [integration’s settings](https://help.qlik.com/en-US/stitch/integrations/saas/square#add-stitch-data-source) due to limits imposed by Square.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/employees-api "Opens in new tab: Square documentation")<br><br><br>[roles schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/roles.json "Opens in new tab: roles schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/employees-api/v1-list-employee-roles "Opens in new tab: Square API method") |

roles table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>STRING |
| **is\_owner**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **permissions**<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;. |
| **updated\_at**<br><br><br>DATE-TIME |

### shifts

The `shifts` table contains information about employee’s shifts in Square.

| **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 |
| --- | --- |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Square documentation](https://developer.squareup.com/reference/square/labor-api "Opens in new tab: Square documentation")<br><br><br>[shifts schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/shifts.json "Opens in new tab: shifts schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/labor-api/search-shifts "Opens in new tab: Square API method") |

shifts table foreign keys

| Join shifts with | on |
| --- | --- |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>shifts.team_member_id = team_members.id<br>```<br><br>```<br>shifts.id = team_members.assigned_locations.location_ids<br>``` |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>shifts.id = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>shifts.id = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>shifts.id = discounts.absent_at_location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>shifts.id = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>shifts.id = items.absent_at_location_ids<br>```<br><br>```<br>shifts.id = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>shifts.id = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>shifts.id = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>shifts.id = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>shifts.id = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>shifts.id = orders.id<br>```<br><br>```<br>shifts.id = orders.refunds.id<br>```<br><br>```<br>shifts.id = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>shifts.id = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>shifts.id = refunds.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>shifts.id = taxes.absent_at_location_ids<br>``` |

shifts table schema

| **breaks**<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 breaks<br><br><table> <tr> <td> <p> <strong>								break_type_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								end_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								expected_duration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_paid							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								start_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table> |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **end\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>STRING |
| **location\_id**<br><br><br>STRING |
| **start\_at**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **team\_member\_id**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |
| **wage**<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 wage<br><br><table> <tr> <td> <p> <strong>								hourly_rate							</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 hourly_rate</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								amount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								currency							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								job_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### taxes

The `taxes` table contains information about taxes enabled on your items in Square.

| **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** | [taxes schema on GitHub](https://github.com/singer-io/tap-square/blob/master/tap_square/schemas/taxes.json "Opens in new tab: taxes schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/catalog-api/list-catalog "Opens in new tab: Square API method") |

taxes table foreign keys

| Join taxes with | on |
| --- | --- |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>taxes.absent_at_location_ids = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>taxes.absent_at_location_ids = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>taxes.absent_at_location_ids = discounts.absent_at_location_ids<br>``` |
| [team_members](https://help.qlik.com/en-US/stitch/integrations/saas/square#team-members) | ```<br>taxes.absent_at_location_ids = team_members.assigned_locations.location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>taxes.absent_at_location_ids = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>taxes.absent_at_location_ids = items.absent_at_location_ids<br>```<br><br>```<br>taxes.absent_at_location_ids = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>taxes.absent_at_location_ids = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>taxes.absent_at_location_ids = items.present_at_location_ids<br>```<br><br>```<br>taxes.id = items.item_data.tax_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>taxes.absent_at_location_ids = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>taxes.absent_at_location_ids = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>taxes.absent_at_location_ids = orders.id<br>```<br><br>```<br>taxes.absent_at_location_ids = orders.refunds.id<br>```<br><br>```<br>taxes.absent_at_location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>taxes.absent_at_location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>taxes.absent_at_location_ids = refunds.id<br>``` |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>taxes.absent_at_location_ids = shifts.id<br>``` |

taxes table schema

| **absent\_at\_location\_ids**<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;. |
| --- |
| **id**<br><br><br>STRING |
| **is\_deleted**<br><br><br>BOOLEAN |
| **present\_at\_all\_locations**<br><br><br>BOOLEAN |
| **tax\_data**<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\_data<br><br><table> <tr> <td> <p> <strong>								applies_to_custom_amounts							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								calculation_phase							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								inclusion_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								percentage							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_type_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_type_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version**<br><br><br>INTEGER |

### team\_members

| **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 |
| --- | --- |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Square documentation](https://help.qlik.com/en-US/stitch/integrations/saas/square "Opens in new tab: Square documentation")<br><br><br>[team_members schema on GitHub](https://github.com/singer-io/tap-square/tree/TDL-23352-schema-changes/tap_square/schemas/team_members.json "Opens in new tab: team_members schema on GitHub")<br><br><br>[Square API method](https://developer.squareup.com/reference/square/team-api/search-team-members "Opens in new tab: Square API method") |

team\_members table foreign keys

| Join team\_members with | on |
| --- | --- |
| [shifts](https://help.qlik.com/en-US/stitch/integrations/saas/square#shifts) | ```<br>team_members.id = shifts.team_member_id<br>```<br><br>```<br>team_members.assigned_locations.location_ids = shifts.id<br>``` |
| [bank_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#bank-accounts) | ```<br>team_members.assigned_locations.location_ids = bank_accounts.id<br>``` |
| [categories](https://help.qlik.com/en-US/stitch/integrations/saas/square#categories) | ```<br>team_members.assigned_locations.location_ids = categories.absent_at_location_ids<br>``` |
| [discounts](https://help.qlik.com/en-US/stitch/integrations/saas/square#discounts) | ```<br>team_members.assigned_locations.location_ids = discounts.absent_at_location_ids<br>``` |
| [inventories](https://help.qlik.com/en-US/stitch/integrations/saas/square#inventories) | ```<br>team_members.assigned_locations.location_ids = inventories.location_id<br>``` |
| [items](https://help.qlik.com/en-US/stitch/integrations/saas/square#items) | ```<br>team_members.assigned_locations.location_ids = items.absent_at_location_ids<br>```<br><br>```<br>team_members.assigned_locations.location_ids = items.item_data.variations.item_variation_data.location_overrides.location_id<br>```<br><br>```<br>team_members.assigned_locations.location_ids = items.item_data.variations.present_at_location_ids<br>```<br><br>```<br>team_members.assigned_locations.location_ids = items.present_at_location_ids<br>``` |
| [locations](https://help.qlik.com/en-US/stitch/integrations/saas/square#locations) | ```<br>team_members.assigned_locations.location_ids = locations.id<br>``` |
| [modifier_lists](https://help.qlik.com/en-US/stitch/integrations/saas/square#modifier-lists) | ```<br>team_members.assigned_locations.location_ids = modifier_lists.absent_at_location_ids<br>``` |
| [orders](https://help.qlik.com/en-US/stitch/integrations/saas/square#orders) | ```<br>team_members.assigned_locations.location_ids = orders.id<br>```<br><br>```<br>team_members.assigned_locations.location_ids = orders.refunds.id<br>```<br><br>```<br>team_members.assigned_locations.location_ids = orders.tenders.id<br>``` |
| [payments](https://help.qlik.com/en-US/stitch/integrations/saas/square#payments) | ```<br>team_members.assigned_locations.location_ids = payments.id<br>``` |
| [refunds](https://help.qlik.com/en-US/stitch/integrations/saas/square#refunds) | ```<br>team_members.assigned_locations.location_ids = refunds.id<br>``` |
| [taxes](https://help.qlik.com/en-US/stitch/integrations/saas/square#taxes) | ```<br>team_members.assigned_locations.location_ids = taxes.absent_at_location_ids<br>``` |

team\_members table schema

| **assigned\_locations**<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 assigned\_locations<br><br><table> <tr> <td> <p> <strong>								assignment_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								location_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> </table> |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **email\_address**<br><br><br>STRING |
| **family\_name**<br><br><br>STRING |
| **given\_name**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **is\_owner**<br><br><br>BOOLEAN |
| **phone\_number**<br><br><br>STRING |
| **reference\_id**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |