Currently the object/invoice retrieve crud call gives the "body" field with the latest PDF in it. It would be nice to see the URL to download the PDF there as well, and maybe even a view of this same object that does not include the "body", as the body is not always what is wanted, and it's a couple hops through InvoiceFiles and Files to get that url otherwise.
... View more

Use Case: Displaying invoice PDFs to our customers Because accessing Zuora PDFs requires secret credentials, we can't give the links out to our users. Instead we have to create our own HTTP endpoint which can download the Zuora PDF with secret credentials and pipe the content back to our customers. We have to follow the guidance here: https://community.zuora.com/t5/API/How-to-get-invoice-PDF-and-display-to-user/m-p/15549/highlight/true#M710 This means we have to build: 1. Our own PDF endpoint to handle talking to Zuora's PDF endpoint 2. Front-end logic to access this PDF endpoint, and for security this cannot be just an HTML anchor tag. We have to write javascript code to download the PDF from our server and open it in a new tab. Solution: If Zuora's PDF URLs were signed links with expirations, we could simply give those URLs out to our customers, and have nothing additional to build. This would save us a significant amount of time during integration.
... View more