> For the complete documentation index, see [llms.txt](https://docs.silkline.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silkline.ai/configuration/integrations/quickbooks-online.md).

# QuickBooks Online

Connect your QuickBooks Online company to Silkline

## Overview

The QuickBooks Online integration connects your QuickBooks Online company to Silkline. Once connected, the data syncs available for QuickBooks Online are listed on the integration's Configuration tab under Integration Capabilities.

You authorize the connection with your Intuit login. Silkline never sees your QuickBooks password.

Orders and suppliers synced with QuickBooks link to their purchase order or vendor in QuickBooks from their sync panel in Silkline. The link opens the record in the QuickBooks company you're signed in to; if you use several QuickBooks companies, switch to the one connected to Silkline first.

## Prerequisites

* A QuickBooks Online company on a plan that includes purchase orders (Plus or Advanced).
* An Intuit login that is a **Company Admin** for that company. Only an admin can authorize an app.
* Purchase orders enabled in QuickBooks: **Settings > Account and settings > Expenses > Purchase orders**.

{% hint style="warning" %}
**The connection belongs to the person who authorizes it.** QuickBooks has no company-level credential for apps: Silkline acts in QuickBooks as the Intuit user who clicked **Connect**, with that user's permissions, and the connection stops working if that user leaves the company or loses admin rights. Connect with a shared finance or administrator login rather than a personal one, and expect to reconnect if that login changes. QuickBooks lists the connection under **Apps** for its admins.
{% endhint %}

## Connecting QuickBooks Online

{% stepper %}
{% step %}

#### Create the Integration

1. Navigate to **Organization Settings > Integrations**
2. Click **Create Integration**
3. Choose **QuickBooks Online** as the source type and save
   {% endstep %}

{% step %}

#### Authorize with Intuit

1. Open the integration; the **Configuration** tab shows the QuickBooks connection card
2. Click **Connect to QuickBooks** and sign in with your Intuit login when prompted
3. Choose the QuickBooks company to connect and click **Connect**

The card shows **Connected to** once the authorization completes, and **Test Connection** below it confirms Silkline can reach the company.
{% endstep %}
{% endstepper %}

## Reconnecting and Disconnecting

QuickBooks connections expire after 100 days without use, and a QuickBooks admin can revoke Silkline's access from QuickBooks at any time. In either case the connection card shows **Not connected**. Click **Reconnect to QuickBooks** and authorize again.

To disconnect, click **Disconnect** on the connection card. Silkline stops syncing until the integration is reconnected and asks QuickBooks to revoke its access. To make sure the access is removed, a QuickBooks admin can open **Apps** in QuickBooks and disconnect Silkline there. Records already synced stay in both systems.

## Suppliers

QuickBooks **Vendors** and Silkline **Suppliers** sync both ways.

* **QuickBooks → Silkline.** Silkline support imports your vendors, active and inactive, when the integration is set up, and changes made in QuickBooks after that come in on their own (see [Keeping Data Current](#keeping-data-current)). An inactive vendor becomes an archived supplier.
* **Silkline → QuickBooks.** Creating or editing a supplier writes it to QuickBooks. A supplier whose name exactly matches an active vendor is linked to that vendor rather than creating a second one, because QuickBooks requires vendor names to be unique. Archiving a supplier makes its vendor inactive. Only fields with a value in Silkline are written; a blank field leaves the vendor's existing value unchanged.

{% hint style="info" %}
**Address writeback uses the supplier's address fields.** The supplier's street, city, state, postal code and country are written to the vendor's billing address.
{% endhint %}

### Vendor Mapping

| QuickBooks Vendor Field | Silkline Supplier Field | Notes                                                                                                                                                                            |
| ----------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Id                      | External ID             | Unique vendor identifier                                                                                                                                                         |
| Display Name            | Name                    | QuickBooks appends " (deleted)" to an inactive vendor's name; Silkline removes it                                                                                                |
| Company Name            | Name                    | Set from the supplier name when Silkline creates the vendor, then left as it is in QuickBooks                                                                                    |
| Active                  | Archived                | Inactive vendor = archived supplier                                                                                                                                              |
| Phone                   | Primary Phone           |                                                                                                                                                                                  |
| Email                   | Primary Contact         | The vendor's email becomes one supplier contact. Other supplier contacts stay in Silkline                                                                                        |
| Website                 | Primary Domain          | Written as `https://<domain>`; read back as the bare domain                                                                                                                      |
| Billing Address         | Address                 | Street lines, city, state, postal code and country map to the supplier's structured address fields                                                                               |
| Currency                | Default Currency        | Set only when the vendor's currency differs from your organization's base currency. Not written to QuickBooks for the base currency, so single-currency companies are unaffected |
| Last Updated Time       | Updated At              | Read only                                                                                                                                                                        |

## Materials

QuickBooks **products** (inventory and non-inventory items) become Silkline **Materials**. Materials sync one way, from QuickBooks to Silkline; Silkline never creates or edits QuickBooks items.

Silkline support imports your items, active and inactive, when the integration is set up, and changes made in QuickBooks after that come in on their own. Non-inventory and Inventory items are imported. Services, categories and bundles are not materials and are skipped.

### Item Mapping

| QuickBooks Item Field  | Silkline Material Field | Notes                                                             |
| ---------------------- | ----------------------- | ----------------------------------------------------------------- |
| Id                     | External ID             | Unique item identifier                                            |
| Name                   | Name                    |                                                                   |
| SKU                    | Material Number         | The item's name when it has no SKU                                |
| Purchasing description | Description             | The sales description when the item has no purchasing description |
| Type                   | Inventory Type          | Inventory → Inventory, Non-inventory → Non-inventory              |
| Active                 | Archived                | Inactive item = archived material                                 |
| Last Updated Time      | Updated At              | Read only                                                         |

## Users

QuickBooks **Employees** become Silkline **Users**. Users sync one way, from QuickBooks to Silkline; Silkline never creates or edits QuickBooks employees.

Silkline support imports your employee records when the integration is set up, and changes made in QuickBooks after that come in on their own. Every employee record with an email is imported, active or inactive; an employee without an email can't be matched to a Silkline user and is skipped. An employee whose email matches an existing Silkline user is linked to that user.

{% hint style="info" %}
**Employee records are not a list of QuickBooks users.** QuickBooks keeps employee records for payroll and time tracking, so they can include people who never use Silkline and leave out people who sign in to QuickBooks. A company without QuickBooks Payroll may not see its employee records in the QuickBooks menus at all.
{% endhint %}

### Employee Mapping

| QuickBooks Employee Field | Silkline User Field | Notes                                                          |
| ------------------------- | ------------------- | -------------------------------------------------------------- |
| Id                        | External ID         | Unique employee identifier                                     |
| Primary email             | Username and Email  | Required; the username is set once and never changed by a sync |
| Given name                | First Name          |                                                                |
| Family name               | Last Name           |                                                                |
| Active                    | Archived            | Inactive employee = archived user                              |

## Budgets

QuickBooks **Customers**, **Projects** or **Classes** can become Silkline **Budgets**. Customers and classes sync both ways; projects sync from QuickBooks only. To turn it on, choose the list as the **Budget Source** on the integration's **Configuration** tab; with no source chosen, budgets are managed in Silkline only.

After you choose a Budget Source, Silkline support imports every record in that list, including inactive ones, and changes made in QuickBooks after that come in on their own. A record whose name matches an existing Silkline budget is linked to that budget rather than creating a second one.

* **Customers.** Each customer becomes a budget, and a sub-customer's budget sits under its parent customer's budget. Projects are skipped.
* **Projects.** Each project becomes a budget. Project budgets are top-level; the client a project belongs to doesn't become a budget.
* **Classes.** Each class becomes a budget named by its full path, such as "Engineering:Avionics", and a sub-class's budget sits under its parent class's budget. Turn on class tracking in QuickBooks first (**Settings > Account and settings > Advanced > Categories**).

QuickBooks has no budget amount on any of these, so a new budget starts at zero. Set its amount in Silkline; later syncs leave the amount and currency unchanged.

**Budgets created or changed in Silkline.** Creating, renaming or archiving a budget writes it to QuickBooks: a new customer or class is created (a budget under a parent becomes a sub-customer or sub-class), and a renamed or archived one is renamed or made inactive. Projects can't be created or changed by apps, so for the Projects source, create, rename and close projects in QuickBooks; Silkline picks up a new or changed project within a few minutes. Renaming a project budget in Silkline doesn't change the project.

**Budgets on order lines.** A purchase order line with a budget carries the budget's QuickBooks record: a customer or project in the line's **Customer** field (not billable), or a class in its **Class** field. When budgets are classes, don't also link a configurable field to QuickBooks Classes; the budget's class is written to the line.

{% hint style="info" %}
**Changing the Budget Source** keeps the budgets already imported, and their links stay with the list they came from. Contact Silkline support to import the new list. A record whose name matches a budget already linked to a different QuickBooks record isn't imported; rename one of them, then contact Silkline support to import it.
{% endhint %}

### Budget Mapping

| QuickBooks Field                                      | Silkline Budget Field | Notes                                                                             |
| ----------------------------------------------------- | --------------------- | --------------------------------------------------------------------------------- |
| Id                                                    | External ID           | Unique record identifier                                                          |
| Display Name (customer, project) or full name (class) | Name                  | QuickBooks appends " (deleted)" to an inactive record's name; Silkline removes it |
| Parent customer or class                              | Parent Budget         | Sub-customers and sub-classes only                                                |
| Active                                                | Archived              | Inactive record = archived budget                                                 |

## Purchase Orders

Silkline orders are written to QuickBooks as **Purchase Orders**, and billing on those purchase orders is read back (see [Billing](#billing)). Purchase orders created in QuickBooks are not imported.

Before the first order can be pushed, choose two things on the integration's **Configuration** tab:

* **Accounts Payable Account**: the A/P account every purchase order posts against.
* **Default Expense Account**: the expense account for lines with no account chosen and no QuickBooks item.

Each line is written one of two ways:

* **Item details**, when the line's material came from a QuickBooks item and no account is chosen on the line. The line carries the item, quantity and unit price, and books to the item's expense account.
* **Category details** for every other line, with its amount only; the quantity and unit price stay in Silkline and in the line description. The line is coded to the account chosen on it, or to the Default Expense Account. Choosing an account on a line with a material writes it here, without the item.

{% hint style="warning" %}
**Items must be purchasable.** QuickBooks only accepts an item on a purchase order when the item has **I purchase this product/service from a vendor** turned on and an expense account chosen. An order with a line for any other item fails to push, and the error names the item to fix.
{% endhint %}

The purchase order is first created when the order reaches the status chosen under **Create Purchase Orders At**, which is **Open** by default; choose an earlier status to create it sooner. Once the purchase order exists, every later change to the order updates it. Lines are matched to the QuickBooks lines they created, so editing a quantity updates that line in place, adding a line adds one, and removing a line removes it.

The supplier must exist in QuickBooks. If it hasn't been synced yet, the order push syncs the supplier first.

**Requester and buyer.** QuickBooks purchase orders have no requester or buyer field, so Silkline writes them into purchase order custom fields:

1. In QuickBooks, add two custom fields in the **Transaction** category with **Purchase Order** turned on, for example **Requester** and **Buyer**. QuickBooks allows three purchase order custom fields.
2. On the integration's **Configuration** tab, choose them as the **Requester Custom Field** and **Buyer Custom Field**.

Each is written as the user's first and last name, or their username when they have no name. Any Silkline user can be the requester or buyer; they don't need to be a QuickBooks employee. Clearing the requester or buyer in Silkline clears the field in QuickBooks.

{% hint style="info" %}
**Order numbers.** The Silkline order number becomes the purchase order's number in QuickBooks, so it must be assigned before the order is pushed and can be at most 21 characters. Silkline updates only the purchase order it created for an order; a QuickBooks purchase order that happens to share the number is never touched.
{% endhint %}

### Purchase Order Mapping

| Silkline Order Field     | QuickBooks Purchase Order Field | Notes                                                                                                                                                           |
| ------------------------ | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Order Number             | PO Number (DocNumber)           | At most 21 characters                                                                                                                                           |
| Supplier                 | Vendor                          | Synced to QuickBooks first if needed                                                                                                                            |
| Release date             | Transaction Date                | Set when the purchase order is created: the date the order was first released, or the created date before release. Later pushes leave it as it is in QuickBooks |
| Estimated arrival        | Due date                        | Not shown in QuickBooks: QuickBooks does not keep a due date written through its API, so set it on the purchase order in QuickBooks if needed                   |
| Currency                 | Currency                        | Sent only when it differs from your base currency                                                                                                               |
| Notes                    | Your message to vendor          | Plain text; prints on the purchase order                                                                                                                        |
| Rationale                | Memo                            | Plain text; internal, does not print                                                                                                                            |
| Ship-to address          | Ship To                         | One address line per line of the Silkline address, up to five                                                                                                   |
| Accounts Payable Account | A/P Account                     | From the integration configuration                                                                                                                              |
| Requester                | Requester Custom Field          | From the integration configuration; the user's name                                                                                                             |
| Buyer                    | Buyer Custom Field              | From the integration configuration; the user's name                                                                                                             |
| Location field           | Location                        | When a field is linked to QuickBooks Locations; see Configurable Fields                                                                                         |

### Purchase Order Line Mapping

| Silkline Line Field                | QuickBooks Line Field | Notes                                                                  |
| ---------------------------------- | --------------------- | ---------------------------------------------------------------------- |
| Line number                        | Line number           |                                                                        |
| Part number, revision, description | Description           | "PART / REV - description"; whichever parts the line has               |
| Material                           | Product/Service       | Item lines only: the QuickBooks item the material came from            |
| Quantity                           | Qty                   | Item lines only                                                        |
| Unit cost                          | Rate                  | Item lines only                                                        |
| Quantity × Unit cost               | Amount                | Rounded to cents                                                       |
| Account field                      | Category (Account)    | When a field is linked to QuickBooks Accounts; see Configurable Fields |
| Default Expense Account            | Category (Account)    | Lines with no account chosen and no QuickBooks item                    |
| Class field                        | Class                 | When a field is linked to QuickBooks Classes; both line types          |

## Billing

When a Bill in QuickBooks is created from a purchase order, with **Copy to bill** or by adding the purchase order to a Bill, QuickBooks records how much of each line has been billed. Silkline reads that back as each line's billed quantity, which drives the order's **Billing** status and the **Qty Billed** column on the Line Items page.

* **Item lines** are billed by quantity: billing 3 of 5 units reads as 3 billed.
* **Category lines** are billed by amount, which Silkline converts to units: billing $150 of a $250 line with 10 units reads as 6 billed, rounded to four decimal places.
* **Discount lines** (a negative cost) read as unbilled until a Bill includes them. **Copy to bill** may leave them off the Bill, so an order with a discount line can stay partially billed.
* **Bills not linked to the purchase order** don't count, even for the same vendor.

Billing updates on its own as Bills are entered in QuickBooks (see [Keeping Data Current](#keeping-data-current)), and pulling the order reads it immediately. Payment status is not read; set it on the order in Silkline.

{% hint style="info" %}
**Receiving stays in Silkline.** QuickBooks Online has no goods receipt, so received quantities are entered in Silkline and are never read from or written to QuickBooks.
{% endhint %}

## Configurable Fields

Three QuickBooks lists can supply the options of a Silkline configurable field:

| QuickBooks List | Field Level | Written To                    | Options                                                                                                               |
| --------------- | ----------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| Accounts        | Order line  | The line's account (Category) | Cost and asset accounts: Expense, Cost of Goods Sold, Other Expense, Other Current Asset, Fixed Asset and Other Asset |
| Classes         | Order line  | The line's class              | All classes                                                                                                           |
| Locations       | Order       | The purchase order's location | All locations                                                                                                         |

To link a field:

1. Create a **Labeled Select** configurable field for the level in the table: order line for Accounts and Classes, order for Locations.
2. On the field's integration link, choose the QuickBooks integration and the list.
3. Contact Silkline support to load the options.

Options are named by their full path in QuickBooks, such as "Job Expenses:Job Materials", and an account with an account number leads with it, such as "9000 - Purchasing". An inactive entry becomes an archived option. Entries added or changed in QuickBooks reach the options within a few minutes.

{% hint style="info" %}
**Class and location tracking must be on in QuickBooks** (**Settings > Account and settings > Advanced > Categories**) before QuickBooks accepts them on a purchase order.
{% endhint %}

## Keeping Data Current

Changes made in QuickBooks reach Silkline without anyone running a sync:

* **Within a few minutes**, QuickBooks notifies Silkline of changed vendors, items, employees, customers, accounts, classes, locations, purchase orders and bills, and Silkline reads each changed record. Customers and classes are read as budgets only when they are the Budget Source.
* **On a regular schedule**, Silkline also checks for anything changed since its last check, so a missed notification is caught on the next run.

Purchase orders update only when Silkline created them. Billing comes through the bills entered against them: when a Bill is created or changed, Silkline reads the purchase orders it's linked to. To read a record immediately, pull it from its sync panel.

## Sync checks and data sync protection

After Silkline writes a purchase order or a vendor to QuickBooks, it runs a **sync check**: the record is read back from QuickBooks and compared, field by field, against the Silkline order or supplier. The result drives a protection called the **sync lock**:

* **No differences** — the two systems agree, and reads from QuickBooks continue to update the record normally.
* **Differences remain** — QuickBooks did not accept every change. The record is **locked**: reads from QuickBooks stop updating it, so the Silkline version is preserved until you resolve the mismatch.

An order's or supplier's sync sidebar gives you both surfaces:

* The **Sync Check** tab runs the comparison on demand and lists exactly which fields differ between QuickBooks and Silkline.
* The **Data Sync Protection** card shows whether the record is locked and lets you clear the lock. Clearing it lets the next read from QuickBooks update the record again — use it once the mismatch is resolved, or when QuickBooks' version is the one you want.

{% hint style="warning" %}
A locked order also stops billing read-back: bills entered in QuickBooks against its purchase order do not reach Silkline until the lock is cleared. A locked order or supplier shows a lock badge on its sync button, and a locked order also shows one in order tables.
{% endhint %}

## Known Limitations

* **Purchase order status isn't synced.** A purchase order stays open in QuickBooks until it is fully billed or closed there, even when the Silkline order is closed or canceled. Closing it in QuickBooks doesn't close the Silkline order.
* **Order adjustments aren't written.** A QuickBooks purchase order has no discount or freight line, so turn off order adjustments in Organization Settings and put those costs on order lines.
* **Order numbers must be unique in QuickBooks.** A push fails when a QuickBooks purchase order already has the order's number.
* **The due date isn't kept.** QuickBooks does not keep a due date written through its API.
* **Payment status isn't read.** Set it on the order in Silkline.
* **There is no receiving in QuickBooks Online.** Received quantities are entered in Silkline.

## FAQ

<details>

<summary>Why does a line lose its QuickBooks item when I choose an account?</summary>

QuickBooks doesn't take a separate account on an item line; the item's own expense account is used. Choosing an account on the line writes it as a category line on that account, so the line carries its amount and description but not the item, quantity or rate.

</details>

<details>

<summary>A new class, location or account doesn't appear as an option in Silkline.</summary>

Options refresh within a few minutes of a change in QuickBooks. If an option is still missing after that, contact Silkline support.

</details>

<details>

<summary>An order shows as unbilled although it has a Bill in QuickBooks.</summary>

Only Bills created from the purchase order count. Pull the order to read its billing now, and check that the Bill was made with **Copy to bill** or by adding the purchase order to it.

</details>

<details>

<summary>Why doesn't a supplier's address appear on the vendor?</summary>

Addresses are written from the supplier's address fields. Fill them in on the supplier.

</details>

## More Information

* [QuickBooks Online purchase orders](https://quickbooks.intuit.com/learn-support/en-us/help-article/purchase-orders/create-purchase-orders-quickbooks-online/L4gD3hAVy_US_en_US)
