How to select customers based on Books invoices?

How to select customers based on Books invoices?

Hello,

We're looking for a way to target customers based on their sales history.  Is there a way to sort/segment contacts based on their invoices from Zoho Books? I.e. Select all contacts that have purchased the same product(s) so we can target the appropriate audience for recommendations?

Thanks,