Generate consolidated invoices through Orders
Learn how to generate consolidated invoices for hybrid orders containing both subscriptions and non-subscription charges using the Zuora REST API.
With Unified Invoicing, you can generate consolidated invoices while creating a hybrid order containing both subscriptions and non-subscription charges through the Zuora REST API.
Assume that your end customer places an order for subscribing to professional services and also purchases some hardware products, you want to create a consolidated invoice to include both the order and the non-subscription charge for hardware purchase in real time, and then collect the payment for the invoice. In this scenario, you can use the Create an order operation to create a hybrid order and generate a consolidated invoice directly. Later, you can use the Apply a payment operation to apply an existing payment to the consolidated invoice.
You can use the Create an order operation to create an order line item with a new subscription and generate a consolidated invoice.
To create an order line item with a new subscription: