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.
Is the REST API Transform from Invoice to CM Working?
Hi NetSuite Community
I am working with the REST API to do a bunch of operations. One of the operations is to transform an Invoice to a CM and apply it, just like in the UI.
The system is transforming the Invoice to CM, however it leaves the CM opened, cause it cant apply it.
I looked at the doc from
The transform to CM and the creditMemo | Request body.
A suiteanswer exists 91284, but also it does not work.
POST
http://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/invoice/60/!transform/creditMemo
{
"toBeEmailed":false,
"apply":{
"items" :
[
{
"line": 0,
"amount":3.01,
"apply": true,
0