QuickBooks
QuickBooks Online is Intuit's accounting product. The QuickBooks connector reads and maintains the company's Employee records through the QuickBooks Online Accounting API. An Employee is a worker record in the company's books. It is not a QuickBooks sign-in, so this connector does not show or change who can sign in to QuickBooks or what they can do there. The connector has no Grant kinds.
Capabilities
| Capability | Supported | Details |
|---|---|---|
| Sync | Yes | Employee records of one QuickBooks company. |
| Incremental sync | No | Every run is a full sync. |
| Account provisioning | Yes | Employee records: create, update attributes, disable, enable and revoke. Disable and revoke deactivate the record. |
| Grant writes | No | The connector has no Grant kinds. |
| Notifications | No | |
| Custom operations | No |
Authentication
The connector has one authentication method, OAuth 2.0. You create an app in the Intuit Developer portal and own its client ID and secret. An administrator of the QuickBooks company then authorizes that app from Owlie, and the connection is bound to the company they choose. Owlie refreshes the access token itself and stores the new refresh token each time Intuit rotates it.
Get credentials from QuickBooks
- In the Intuit Developer portal, create an app for QuickBooks
Online and Payments with the Accounting scope,
com.intuit.quickbooks.accounting. - Add the redirect URL that Owlie displays for the connection to the app's redirect URIs.
- Copy the app's Client ID and Client Secret. Use the development keys for a sandbox company and the production keys for a real one.
Intuit's guide covers the app and its keys: Set up OAuth 2.0.
The com.intuit.quickbooks.accounting scope covers everything the connector does: sync, the
connection test and employee record writes. The other scopes Owlie offers (openid, profile,
email, phone and address) are not needed.
Connect QuickBooks in Owlie
| Field | Required | What to enter |
|---|---|---|
| Client ID | Yes | The Intuit app's client ID. |
| Client Secret | Yes | The Intuit app's client secret. Owlie stores it as a secret. |
| Realm ID | No | Leave empty. Owlie fills it in with the company you authorize. Enter a company's numeric realm ID beforehand only to require that exact company. |
| Use Sandbox | No | Off by default. Turn on to connect a sandbox company through Intuit's sandbox API. |
| Scopes | No | The scopes Owlie requests. The default is com.intuit.quickbooks.accounting. |
After saving, select Connect on the integration's Connection tab, sign in to Intuit, and choose the company. Owlie checks that the new token can read that company's information before it stores anything, and refuses the connection otherwise. If you entered a Realm ID and authorize a different company, the connection is refused.
While the integration is connected, Realm ID and Use Sandbox are read-only. Disconnect first to change them. The connection test reads the bound company's information.
Entities
| Entity | In QuickBooks | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| Employee | An employee record in the company. This is the account entity. | Id | DisplayName, GivenName, FamilyName, Active, PrimaryPhone, PrimaryAddr | Yes | Yes | Yes | Yes | No |
Delete deactivates the record. QuickBooks keeps deactivated employees, and Owlie shows a record
whose Active field is false as disabled.
By default, Sync matches an employee to an identity by DisplayName against the identity's display
name, and flags an employee it can't match. If names are not unique in your organization, change the rule on the account's Sync job. See account matching.
Provisioning behaviour and limits
| Operation | What happens in QuickBooks |
|---|---|
| Provision | Creates an Employee record. GivenName and FamilyName are required. |
| Update attributes | Updates the record's writable fields. |
| Disable | Sets Active to false. |
| Enable | Sets Active to true. |
| Revoke | Sets Active to false. The record stays in QuickBooks. |
These operations change accounting data. None of them creates, disables or removes a person's QuickBooks sign-in.
The default provisioning profile fills GivenName, FamilyName and DisplayName from the
identity's first name, last name and display name. The writable fields are DisplayName,
GivenName, FamilyName, PrintOnCheckName, BillableTime, PrimaryPhone and PrimaryAddr.
Limits:
- When QuickBooks Payroll is on, QuickBooks can restrict changes to some employee fields, including
DisplayName. Owlie reports the refusal. - Sync reads at most 100 employees per request and pages through the rest.
Troubleshooting
"QuickBooks realmId must be a decimal company ID; connect the integration to bind the company." The integration has no company yet. Select Connect on the Connection tab and authorize a company.
"QuickBooks GivenName and FamilyName are required to create an employee." The identity has no first or last name, or the provisioning profile doesn't map them. Fix the identity or the mapping, then retry.
"QuickBooks SSN is not a writable employee field." and similar messages name a field the connector can't write. Remove that field's mapping from the provisioning profile.
"QuickBooks returned an incomplete or inconsistent employee response." QuickBooks answered with data the connector could not trust, so Owlie stopped instead of guessing. Retry, and check the company in QuickBooks if it repeats.
Changelog
The QuickBooks connector is at version 1. Owlie shows each connector's changelog with the connector in the catalog.