Preview an invoice using subscribe()
Learn how to preview an invoice using the subscribe() call.
To include taxation items for the corresponding invoices in the result, you must use WSDL version 120 or higher.
Zuora Platform
list_alt
Learn how to preview an invoice using the subscribe() call.
To include taxation items for the corresponding invoices in the result, you must use WSDL version 120 or higher.
subscribe() , passing the appropriate product rate plan and charge data. PreviewOptions : EnablePreviewMode to true . NumberOfPeriods to the number of billing periods to include in the preview invoice, or PreviewThroughTermEnd to preview the invoice through the end of a termed subscription (WSDL 51.0+). You can only set NumberOfPeriods or PreviewThroughTermEnd , but not both.
As an alternative to NumberOfPeriods or PreviewThroughTermEnd , you can set the InvoiceTargetDate in the SubscribeOptions to preview to a specific date.
If neither NumberOfPeriods nor PreviewThroughTermEnd nor InvoiceTargetDate are specified when EnablePreviewMode = true, then 1 billing period will be previewed by default.
InvoiceData node in the SubscribeResult , which contains the invoice and resulting invoice items.