For a specific business, fetch the chart of accounts with type INCOME.

Operation
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
{
  "businessId": "<BUSINESS_ID>",
  "page": 1,
  "pageSize": 50
}
Updated: