Skip to main content

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​

CapabilitySupportedDetails
SyncYesEmployee records of one QuickBooks company.
Incremental syncNoEvery run is a full sync.
Account provisioningYesEmployee records: create, update attributes, disable, enable and revoke. Disable and revoke deactivate the record.
Grant writesNoThe connector has no Grant kinds.
NotificationsNo
Custom operationsNo

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​

  1. In the Intuit Developer portal, create an app for QuickBooks Online and Payments with the Accounting scope, com.intuit.quickbooks.accounting.
  2. Add the redirect URL that Owlie displays for the connection to the app's redirect URIs.
  3. 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​

FieldRequiredWhat to enter
Client IDYesThe Intuit app's client ID.
Client SecretYesThe Intuit app's client secret. Owlie stores it as a secret.
Realm IDNoLeave 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 SandboxNoOff by default. Turn on to connect a sandbox company through Intuit's sandbox API.
ScopesNoThe 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​

EntityIn QuickBooksIdentifierKey attributesSyncCreateUpdateDeleteGrants (as target)
EmployeeAn employee record in the company. This is the account entity.IdDisplayName, GivenName, FamilyName, Active, PrimaryPhone, PrimaryAddrYesYesYesYesNo

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​

OperationWhat happens in QuickBooks
ProvisionCreates an Employee record. GivenName and FamilyName are required.
Update attributesUpdates the record's writable fields.
DisableSets Active to false.
EnableSets Active to true.
RevokeSets 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.