getInvoicesDetails

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