Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Applying Customer Payment Sublist
I've been struggling with automating Applying a deposit in SuiteScripts and even Webservices. According to my case#1292244 it is not possible.
I was told to Apply the deposit using a Customer Payment and was given the soap below.
<soapenv:Body> <platformMsgs:add xmlns:s0="urn:customers_2010_2.transactions.webservices.netsuite.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:platformMsgs="urn:messages_2010_2.platform.webservices.netsuite.com" xmlns:platformCore="urn:core_2010_2.platform.webservices.netsuite.com"> <platformMsgs:record xsi:type="s0:CustomerPayment"> <s0:customer internalId="1" /> ////customer ID <s0:payment>100.0</s0:payment> //// amount you want to apply <s0:applyList> <s0:apply> <s0:apply>true</s0:apply> <s0:doc>386</s0:doc> ////invoice ID <s0:due>100.0</s0:due> ////amount due of the invoice </s0:apply> </s0:applyList> <s0:depositList> <s0:deposit> <s0:apply>true</s0:apply> <s0:doc>384</s0:doc> ////customer deposit ID <s0:amount>100.0</s0:amount> ////amount you want to apply </s0:deposit> </s0:depositList> </platformMsgs:record> </platformMsgs:add> </soapenv:Body>
0