Invoiced integration summary

Stitch’s Invoiced integration replicates data using the Invoiced REST API. Refer to the Schema section for a list of objects available for replication.

Invoiced feature snapshot

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

STITCH
Release status

Released on March 21, 2019

Supported by

Singer Community

Stitch plan

Standard

API availability

Available

Singer GitHub repository

singer-io/tap-invoiced

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Supported

Table-level reset

Unsupported

Configurable Replication Methods

Unsupported

DATA SELECTION
Table selection

Supported

Column selection

Supported

Select all

Supported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting Invoiced

Step 1: Generate an Invoiced API key

  1. Sign into your Invoiced account.
  2. Click Settings on the left side of the page.
  3. In the Business Settings section, click Developers.
  4. On the Developers page, click the New API Key button. A New API Key window will display.
  5. In the Key Description field, enter a description that identifies the API key. For example: Stitch
  6. Click Save. This will direct you back to the Developers page after the API key is created.
  7. A section for the new API key will display on the Developers page. Click the Show Secret link next to the name of the API key to display it:

    A highlighted API key field on the Developers page in the Invoiced app

Leave this page open for now - you’ll need it to complete the setup in Stitch.

Step 2: Add Invoiced as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the Invoiced 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 Invoiced” would create a schema called stitch_invoiced in the destination. Note: Schema names cannot be changed after you save the integration.

  5. In the API Key field, paste your Invoiced API key.
  6. If the Invoiced instance you’re connecting to is a sandbox, check the Is this a sandbox connection? box.

Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Invoiced 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 Invoiced’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.

Step 4: Create a replication schedule

In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Invoiced integrations support the following replication scheduling methods:

To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.

Step 5: Set objects to replicate

The last step is to select the tables and columns you want to replicate. Learn about the available tables for this integration.

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

For Invoiced 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.
  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

  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 Invoiced, 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.

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.


Invoiced table reference

credit_notes

The credit_notes table contains info about the credit notes in your Invoiced account. A credit note represents a balance you owe to a customer.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

credit_notes schema on GitHub

Invoiced API method

Join credit_notes with on
customers
credit_notes.customer = customers.id
estimates
credit_notes.customer = estimates.customer
credit_notes.id = estimates.id
invoices
credit_notes.customer = invoices.customer
credit_notes.id = invoices.id
subscriptions
credit_notes.customer = subscriptions.customer
transactions
credit_notes.customer = transactions.customer
credit_notes.id = transactions.id

id

INTEGER

balance

NUMBER

closed

BOOLEAN

currency

STRING

customer

INTEGER

date

STRING

discounts

ARRAY

draft

BOOLEAN

items

ARRAY

invoice

INTEGER

metadata

OBJECT

name

STRING

notes

STRING

number

STRING

paid

BOOLEAN

status

STRING

subtotal

NUMBER

taxes

ARRAY

total

NUMBER

created_at

STRING

updated_at

STRING

purchase_order

STRING

url

STRING

pdf_url

STRING

object

STRING

customers

The customers table contains info about the customers in your Invoiced account.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

customers schema on GitHub

Invoiced API method

Join customers with on
credit_notes
customers.id = credit_notes.customer
estimates
customers.id = estimates.customer
invoices
customers.id = invoices.customer
subscriptions
customers.id = subscriptions.customer
transactions
customers.id = transactions.customer

id

INTEGER

address1

STRING

address2

STRING

attention_to

STRING

autopay

BOOLEAN

chase

BOOLEAN

chasing_cadence

INTEGER

city

STRING

country

STRING

credit_hold

BOOLEAN

credit_limit

NUMBER

email

STRING

language

STRING

metadata

OBJECT

name

STRING

next_chase_step

INTEGER

notes

STRING

number

STRING

parent_customer

INTEGER

payment_source

OBJECT

payment_terms

STRING

phone

STRING

postal_code

STRING

sign_up_page

INTEGER

state

STRING

tax_id

STRING

taxable

BOOLEAN

taxes

ARRAY

type

STRING

created_at

STRING

updated_at

STRING

currency

STRING

owner

INTEGER

avalara_entity_use_code

STRING

avalara_exemption_number

STRING

sign_up_url

STRING

statement_pdf_url

STRING

ach_gateway

INTEGER

cc_gateway

INTEGER

autopay_delay_days

INTEGER

object

STRING

estimates

The estimates table contains info about the estimates in your Invoiced account.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

estimates schema on GitHub

Invoiced API method

Join estimates with on
credit_notes
estimates.customer = credit_notes.customer
estimates.id = credit_notes.id
customers
estimates.customer = customers.id
invoices
estimates.customer = invoices.customer
estimates.id = invoices.id
subscriptions
estimates.customer = subscriptions.customer
transactions
estimates.customer = transactions.customer
estimates.id = transactions.id

id

INTEGER

approved

BOOLEAN

balance

NUMBER

closed

BOOLEAN

currency

STRING

customer

INTEGER

date

STRING

deposit

NUMBER

deposit_paid

BOOLEAN

discounts

ARRAY

draft

BOOLEAN

expiration_date

STRING

items

ARRAY

invoice

INTEGER

metadata

OBJECT

name

STRING

notes

STRING

number

STRING

payment_terms

STRING

status

STRING

subtotal

NUMBER

taxes

ARRAY

total

NUMBER

created_at

STRING

updated_at

STRING

purchase_order

STRING

ship_to

OBJECT

url

STRING

pdf_url

STRING

object

STRING

invoices

The invoices table contains info about the invoices in your Invoiced account. An invoice represents a balance owed to you by a customer.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

invoices schema on GitHub

Invoiced API method

Join invoices with on
credit_notes
invoices.customer = credit_notes.customer
invoices.id = credit_notes.id
customers
invoices.customer = customers.id
estimates
invoices.customer = estimates.customer
invoices.id = estimates.id
subscriptions
invoices.customer = subscriptions.customer
invoices.subscription = subscriptions.id
transactions
invoices.customer = transactions.customer
invoices.id = transactions.id

id

INTEGER

attempt_count

INTEGER

autopay

BOOLEAN

balance

NUMBER

closed

BOOLEAN

currency

STRING

customer

INTEGER

date

STRING

discounts

ARRAY

draft

BOOLEAN

due_date

STRING

items

ARRAY

metadata

OBJECT

name

STRING

next_payment_attempt

STRING

notes

STRING

number

STRING

paid

BOOLEAN

payment_terms

STRING

status

STRING

subscription

INTEGER

subtotal

NUMBER

taxes

ARRAY

total

NUMBER

created_at

STRING

updated_at

STRING

purchase_order

STRING

ship_to

OBJECT

payment_plan

INTEGER

url

STRING

payment_url

STRING

pdf_url

STRING

object

STRING

plans

The plans table contains info about the plans in your Invoiced account. A plan describes a fixed amount that is billed to customers over a recurring interval.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

plans schema on GitHub

Invoiced API method

amount

NUMBER

catalog_item

STRING

created_at

INTEGER

currency

STRING

description

STRING

id

STRING

interval

STRING

interval_count

INTEGER

metadata

OBJECT

name

STRING

notes

STRING

object

STRING

pricing_mode

STRING

quantity_type

STRING

tiers

OBJECT

updated_at

INTEGER

subscriptions

The subscriptions table contains info about the subscriptions in your Invoiced account.

Replication Method

Key-based Incremental

Primary Key

id

Replication Key

updated_at

Useful links

subscriptions schema on GitHub

Invoiced API method

Join subscriptions with on
credit_notes
subscriptions.customer = credit_notes.customer
customers
subscriptions.customer = customers.id
estimates
subscriptions.customer = estimates.customer
invoices
subscriptions.customer = invoices.customer
subscriptions.id = invoices.subscription
transactions
subscriptions.customer = transactions.customer

id

INTEGER

addons

ARRAY

cancel_at_period_end

BOOLEAN

canceled_at

STRING

contract_period_end

STRING

contract_period_start

STRING

contract_renewal_cycles

INTEGER

contract_renewal_mode

STRING

customer

INTEGER

cycles

INTEGER

discounts

ARRAY

metadata

OBJECT

mrr

NUMBER

period_end

STRING

period_start

STRING

plan

STRING

quantity

INTEGER

recurring_total

NUMBER

start_date

STRING

status

STRING

taxes

ARRAY

created_at

STRING

updated_at

STRING

amount

STRING

bill_in

STRING

bill_in_advance_days

INTEGER

paused

BOOLEAN

url

STRING

object

STRING

ship_to

OBJECT


Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.