Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
NSC | Sample SOAP Request to Apply Invoices to Customer Payment
Scenario
User would like to create a Customer Payment that will automatically apply the Invoices (via SOAP requests)
Solution
This sample SOAP request shows how to create the Apply To sublist on the Invoices, by specifying the line number, amount, the apply boolean and the document number (Invoice Internal ID)
Sample SOAP Request:
Spoiler Spoiler Warning ▲▼
<soapenv:Body>
<add xsi:type='platformMsgs:AddRequest'>
<record xsi:type='tranCust:CustomerPayment'>
<customer xsi:type='platformCore:RecordRef' internalId='1'/>
<payment xsi:type='xsd:double'>110</payment>
<account xsi:type='platformCore:RecordRef' internalId='2'/>
<applyList replaceAll='true' xsi:type='tranCust:CustomerPaymentApplyList'>
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live: PROCURE TO PAY. RSVP on this event now!
