# Query: Filter accounts
For a specific business, fetch the chart of accounts with type `INCOME`.
Additional filters are available, like `subtypes`. See [schema](360019968212).
Replace `<BUSINESS_ID>` with a real business id.
Operation
: ```graphql
query ($businessId: ID!, $page: Int!, $pageSize: Int!) {
business(id: $businessId) {
id
accounts(page: $page, pageSize: $pageSize, types: [INCOME]) {
pageInfo {
currentPage
totalPages
totalCount
}
edges {
node {
id
name
description
displayId
type {
name
value
}
subtype {
name
value
}
normalBalanceType
isArchived
}
}
}
}
}
```
Operation Variables
: ```graphql
{
"businessId": "<BUSINESS_ID>",
"page": 1,
"pageSize": 50
}
```