MT#7803 Add invoice details REST API to t/api-root.t

(cherry picked from commit f7ca8dc062fe4c9ff3a69d72986f24f642e7148e)