The QuickBooks Online Accountant apps tab is a good way to showcase your app to accountants. To be ready for the accountant apps tab, your app needs to support accountants who service multiple QuickBooks Online companies created for their multiple clients.
Provisioning your app
Via Intuit single sign-on, an accountant can sign in to your app for any of his clients’ QuickBooks companies.
The image below shows three connections made by Accountant John: one to his firm and one each for clients Sue’s Bakery and Bill’s Butcher. The app maintains a mapping (called Mapped ID in the diagram below) between each realmID and admin user for each of the three connections. Mapped IDs are indexed by realmID.
Connections to QuickBooks Online Accountant companies
There may be situations where you need to know if the admin user is connected to a QuickBooks Online Accountant company. Using the Entitlements endpoint, get the company’s entitlements and look through the response code for the following:
1 2 3 4
<Entitlement id="52"> <name>Accountant Menu</name> <term>On</term> </Entitlement>.