Use the execute() call to execute a process to split an invoice into multiple invoices. The original invoice must be in draft status. The resulting invoices are called split invoices. This SOAP API reference includes syntax, call wrappers and container descriptions, requirements, and examples.
This feature is in Limited Availability. If you wish to have access to the feature, submit a request at Zuora Global Support.
To split a draft invoice into multiple split invoices:
You need to create InvoiceSplitItem objects and an InvoiceSplit object before you can use the execute() call.
The execute() call uses the following items:
Use all of the following fields for every execute() request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://api.zuora.com/" xmlns:ns2="http://object.api.zuora.com/"> <soapenv:Header> <ns1:SessionHeader> <ns1:session>XXX</ns1:session> </ns1:SessionHeader> </soapenv:Header> <soapenv:Body> <ns1:execute> <ns1:type>invoicesplit</ns1:type> <ns1:synchronous>false</ns1:synchronous> <ns1:ids>2c90803e386cc2bf01386d0865910025</ns1:ids> </ns1:execute> </soapenv:Body> </soapenv:Envelope>
ExecuteResult response has the following fields:
idsfield for the request.