I want to be able to do offline analysis of invoices not just by product but by
product category
, e.g. 'show me monthly income from Retreats' or 'show me 2025 total income for Downloadables'. It's fine if there is a separate endpoint for product categories as long as retrieving products tells me which category each is in.