As with heaven or wise billing software you can query
all accounts with different selection criteria.