getInvoicesDetailsAsk AIThis query retrieves invoice details by ID. This is currently used by microservice.