Hi team,
We have an invoice with a total amount 6758,58, but this invoice contains 6 records, every record is for 1,126.43 with a different "DUE DATE" and installment number (example attached).
Is it possible to retrieve such an invoice with all records and installment numbers via SOAP?
Standard SOAP request for the invoice using the internal id of the invoice returns us just the total value without records.
<soap-env:Body>
<search xmlns="urn:messages_2020_1.platform.webservices.netsuite.com">
<searchRecord xmlns:ns12="urn:sales_2020_1.transactions.webservices.netsuite.com" xsi:type="ns12:TransactionSearchAdvanced">
<ns12:criteria xsi:type="ns12:TransactionSearch">
<ns12:basic xsi:type="ns13:TransactionSearchBasic" xmlns:ns13="urn:common_2020_1.platform.webservices.netsuite.com">
<ns13:internalId xsi:type="ns14:SearchMultiSelectField" xmlns:ns14="urn:core_2020_1.platform.webservices.netsuite.com" operator="anyOf">
<ns14:searchValue type="invoice" xsi:type="ns14:RecordRef" externalId="" internalId="XXXXXXXXXXXX">
<ns14:name xsi:type="xsd:string"/>
</ns14:searchValue>
</ns13:internalId>
<ns13:recordType xsi:type="ns16:SearchStringField" operator="is" xmlns:ns16="urn:core_2020_1.platform.webservices.netsuite.com">
<ns16:searchValue xsi:type="xsd:string">invoice</ns16:searchValue>
</ns13:recordType>
</ns12:basic>
</ns12:criteria>
</searchRecord>
</search>
</soap-env:Body>
Example of the invoice with different "DUE DATE" and installment number attached.