Using Departments/Locations and Classes in Intuit Enterprise Suite
Intuit Enterprise Suite supports two powerful categorization features for tracking where your business activity happens: Departments and Classes. In the API, business units (departments) are represented by the Department entity — the same entity QuickBooks Online uses.
Enable Locations and Classes
- In Intuit Enterprise Suite, go to the gear icon → Account and settings → Advanced → Categories.
- Toggle on Track classes and/or Track locations (the UI label for the Department entity).
- Optionally choose whether to assign classes/departments per transaction or per line.
- Save your changes.
Departments and Classes are best used for high‑level categories such as offices, regions, or departments.
References:
- Using Classes and Departments in QBO: Using Classes And Locations in QuickBooks Online
- Business units in the API: Manage business units (Departments) workflow
How Apideck maps Intuit Enterprise Suite Departments
- The Apideck Accounting API
departmentsandlocationsresources both map to the same underlyingDepartmententity — read or write either unified resource and you're working with the same records. - If your product or domain uses the term "departments", or the term "locations", either unified resource works: they are the same underlying entity in Intuit Enterprise Suite. See: Manage business units (Departments).
- Supported operations (API endpoints):
- List:
GET /query?query=select * from Department(paginate viaSTARTPOSITIONandMAXRESULTSclauses in the query) - Create:
POST /department - Get by ID:
GET /department/{id} - Update:
POST /department/{id}(sparse update)
- List:
- Field mappings (examples):
name→Namestatus→Active(Apideck normalizes toactive/inactive)row_version→SyncTokencreated_at/updated_at→MetaData.CreateTime/MetaData.LastUpdatedTime(normalized to ISO 8601)
Practical examples (Apideck Accounting API)
Create a department:
List departments:
Get a department by ID:
Update a department:
Notes and requirements
- Ensure Departments/Classes are enabled in the Intuit Enterprise Suite entity; otherwise department fields may be ignored or operations may fail validation in the UI.
- Required scope remains
com.intuit.quickbooks.accounting. - Intuit Enterprise Suite represents business units as
Departmentin the API; Apideck'sdepartmentsandlocationsresources both abstract this for consistency across accounting connectors.