accountingAccounts
Accounts from a connected accounting integration's chart of accounts, for use as selectable options (e.g. the default income, inventory, and expense account settings).
Only ACTIVE accounts are returned, ordered by name. Filter with filters.keyword for a
text search and filters.accountClass to narrow to a QuickBooks classification (map
income -> REVENUE, inventory -> ASSET, expense -> EXPENSE on the client).
Error Scenarios
- **
NOT_FOUND**: the integration does not exist.
Permissions Required
integration:read_external_datapermission.
accountingAccounts(
after: String
before: String
filters: AccountingAccountFiltersInput
first: Int
integrationId: ID!
last: Int
): AccountingAccountConnection!
Arguments
accountingAccounts.after ● String scalar common
Returns the elements in the list that come after the specified cursor.
accountingAccounts.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
accountingAccounts.filters ● AccountingAccountFiltersInput input accounting
Optional filters to apply to the accounts.
accountingAccounts.first ● Int scalar common
Returns the first _n_ elements from the list.
accountingAccounts.integrationId ● ID! non-null scalar common
The accounting integration ID.
accountingAccounts.last ● Int scalar common
Returns the last _n_ elements from the list.
Type
AccountingAccountConnection object common
The connection type for AccountingAccount.