Collect payment for consolidated invoices through Orders
Learn how to collect payment for consolidated invoices using the Zuora REST API by applying existing payments.
After the consolidated invoice is generated, you can collect payment for it.
You can first use the value of the invoiceNumbers field included in the returned response to retrieve the ID of the consolidated invoice. Then, you can use the Apply a payment operation to apply an existing payment to the consolidated invoice. You have to set the invoiceId field to the ID of the consolidated invoice in the request body.
To collect payment for a consolidated invoice through the Zuora REST API, perform the following steps: