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
Create payment via API.
Hello Team,
I use the following request to push the payment to NetSuite:
-----------------
<soapenv:Body>
-<add xmlns="urn:messages_2020_1.platform.webservices.netsuite.com">
-<record xmlns:ns8="urn:customers_2020_1.transactions.webservices.netsuite.com" externalId="" xsi:type="ns8:CustomerPayment">
<ns8:customer type="customer" xsi:type="ns9:RecordRef" xmlns:ns9="urn:core_2020_1.platform.webservices.netsuite.com" internalId="3873"/>
<ns8:currency type="currency" xsi:type="ns10:RecordRef" internalId="1" xmlns:ns10="urn:core_2020_1.platform.webservices.netsuite.com"/>
<ns8:payment xsi:type="xsd:double">33.0</ns8:payment>
<ns8:tranDate xsi:type="xsd:dateTime">2021-08-19T19:09:04.000Z</ns8:tranDate>
<ns8:paymentMethod type="paymentMethod" xsi:type="ns11:RecordRef" internalId="16" xmlns:ns11="urn:core_2020_1.platform.webservices.netsuite.com"/>