Returns a redirect URL to download the invoice file content.
A successful response returns a 302 status code. Your client should automatically follow the redirected link to download the file.
Some clients, such as Swagger UI, can include the authorization header when following the redirected link. This will cause the request to fail with a 400 Bad Request response. To avoid this issue, ensure that the authorization header is removed when the client follows the redirected URL.
Successful Response: Redirect to download file
Not Found
Unprocessable Entity
curl -i -X GET \ 'https://api.goshippo.com/v2/reports/invoices/4e43e2df-3e35-4985-b718-2d21e5078175' \ -H 'Authorization: ShippoToken <API_TOKEN>'
{- "detail": "File not Found"
}