MT#7803 API: fetch invoice details via API

(cherry picked from commit 3af973e4a743775cde51e6356f486efe58185594)