Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Update your Profile with your Support type to get your Support Type badge.
Join the NetSuite Referral Program and get rewarded for introducing your peers to the NetSuite community. ⭐️ https://lnkd.in/eYXGYfC9
Drumroll please...registration for #SuiteWorld 2023 is now OPEN! See you in Las Vegas October 16-19 to celebrate 25 years of NetSuite with even more learning, more networking, and more fun! The show will sell-out (again), so grab that Early Bird $300 discount and reserve your spot today!
How can I apply customer payment to invoice using the API?
Hey
I have customer payment and invoice on NS, and I would like to apply the payment to the invoice using the API.
I've tried patching the invoice using the following API:
curl --location --request PATCH 'https://<>.suitetalk.api.netsuite.com/services/rest/record/v1/customerPayment/3710' \ --header 'Authorization:<>' \ --header 'Content-Type: application/json' \ --data-raw '{ "apply": { "replaceAll": true, "items": [ { "amount": 100, "apply": true }] } }
But I am getting an error:
{ "type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1", "title": "Bad Request", "status": 400, "o:errorDetails": [ { "detail": "Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.", "o:errorPath": "apply",
0