The problem with Billing Preview is that it doesn't calculate taxes. I need to see the taxes. What I need is similar to what the Zuora's UI to preview an existing subscription: - Login to Zuora - Select an existing subscription - In the More pulldown, select preview This action shows future invoices with taxes. Which API gives me the same thing as this action?
... View more
Has the gETTransactionInvoice API changed since the OP posted? Now, it returns invoice objects whose field invoiceFiles is just a string; not an object. Here's an example: accountId:"2c92c0fb6a07403b016d0972cd4c29c2" accountName:"Test Cloud Services" accountNumber:"98396194" amount:26.76 balance:26.76 body:null createdBy:"2c92c0f8692450a10169259ef33061da" creditBalanceAdjustmentAmount:0 dueDate:"2019-05-11" id:"2c92c0946a072fa4016a0d3fc94612ca" invoiceDate:"2019-05-11" invoiceFiles:"/v1/invoices/2c92c0946a072fa4016a0d3fc94612ca/files" invoiceItems:"/v1/invoices/2c92c0946a072fa4016a0d3fc94612ca/items" I don't think we can use the URL that is in invoiceFiles. So, to get the PDF files, I'd have to: Call gETInvoiceFiles. This returns something like: id:"66674858177d40be91905de87b84c38b" pdfFileUrl:"/v1/files/2c92c08c6a073477016a0d3fcca4037a" versionNumber:1555000445985 Then call gETFiles on each of the fileIds (without the /v1/files/ portion). Can someone at Zuora confirm that this is the new way of getting PDF files?
... View more