Get started with a free trial today
Already have an account? Sign in
Stitch’s Invoiced integration replicates data using theInvoiced REST API. Refer to theSchema section for a list of objects available for replication.
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 | |
| Stitch plan | Standard | API availability | Available |
| Singer GitHub repository | |||
| 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 |
StitchA section for the new API key will display on the Developers page. Click theShow Secret link next to the name of the API key to display it:

Leave this page open for now - you’ll need it to complete the setup in Stitch.
On the Stitch Dashboard page, click theAdd Integration button.
Click theInvoiced icon.
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 calledstitch_invoiced in the destination.Note: Schema names cannot be changed after you save the integration.
The Sync Historical Data setting defines the starting date for your Invoiced integration. This means that dataequal 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 of1 year. For a detailed look at historical replication jobs, check out theSyncing Historical SaaS Data guide.
In theReplication Frequency section, you’ll create the integration’sreplication 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:
Advanced Scheduling using Cron (Advanced or Premium plans only)
To keep your row usage low, consider setting the integration to replicate less frequently. See theUnderstanding and Reducing Your Row Usage guide for tips on reducing your usage.
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:
Individual tables and columns
All tables and columns
Click the tabs to view instructions for each selection method.
To track a table, click thecheckbox next to the table’s name. A blue checkmark means the table is set to replicate.
To track a column, click thecheckbox next to the column’s name. A blue checkmark means the column is set to replicate.
Click theTables to Replicate tab.
In the menu that displays, clickTrack all Tables and Fields:

After you finish setting up Invoiced, itsSync Status may show asPending on either the Stitch Dashboard or in the Integration Details page.
For a new integration, aPending status indicates that Stitch is in the process of scheduling the initial replication job for the integration.This may take some time to complete.
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 theAnchor Scheduling documentation for more information.
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.
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 forversion 1 of this integration.
This is the latest version of the Invoiced integration.
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 >customers), while case is maintained in PostgreSQL destinations (CusTomERs >CusTomERs). Refer to theLoading Guide for your destination for more info.
Thecredit_notes table contains info about the credit notes in your Invoiced account. A credit note represents a balance you owe to a customer.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| 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 |
Thecustomers table contains info about the customers in your Invoiced account.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| 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 |
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 |
Theestimates table contains info about the estimates in your Invoiced account.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| 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 |
Theinvoices table contains info about the invoices in your Invoiced account. An invoice represents a balance owed to you by a customer.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| 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 |
Theplans 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.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
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 |
Thesubscriptions table contains info about the subscriptions in your Invoiced account.
Key-based Incremental | |
Primary Key | id |
Replication Key | updated_at |
| Useful links |
| 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 |
| Related | Troubleshooting |
Did this article help? If you have questions or feedback, feel free tosubmit a pull request with your suggestions,open an issue on GitHub, orreach out to us.