openintegration200+ connectors

List departments in NetSuite

Accounting API · read · 44% field coverage

Your agent can list departments in NetSuite through Apideck's Accounting API, the same call it makes for every Accounting app. It only reads, so it runs straight away; what NetSuite returns is screened before the agent sees it. Apideck adds the customer's NetSuite credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

GET https://unify.apideck.com/accounting/departments

Headers: x-apideck-service-id: netsuite, plus your app id and the customer's consumer id. Apideck MCP tool: accounting-departments-all. Agent operation id: unified.accounting.departmentsAll.

ParameterInDescription
cursorqueryCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitqueryNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[subsidiary]queryId of the subsidiary to search for

More for departments in NetSuite

get_department

List departments in other Accounting apps

The same call works for each of these; only the service id changes.

AFAS SoftwareAlegraCampfireIntuit Enterprise SuiteMRI SoftwareOdooQuickBooksSage IntacctSage Intacct RESTSAP S/4HANA CloudWafeq