How to see which invoice is using a specific Invoice Template in Zoho Book

How to see which invoice is using a specific Invoice Template in Zoho Book

I'm trying to clean up our rarely used Invoice Templates. To do this I have to remove them as a selection from all invoices (otherwise you will get an error " template is in use" 

My question:
How do I find out which invoice uses the Invoice Template in question? I don't see a template table in Zoho Analytics. Is there a way to search for it via API? Through Zoho Books i