Download pdf invoice from api