Issue creating a vendor payment

Hi all,

 

Very new developer to Netsuite. Im trying to create a vendor payment and am getting an error. Here’s the json Im sending as the upsert:

 


{

"externalId" : "747001dd-7f04-4398-97c2-2926c7d8e6a2",

"account" : {

"name" : "",

"internalId" : "1"

},

"total" : 3500.0,

"tranDate" : "2021-10-13T12:00:00Z",

"currency" : {

"internalId" : "1",

"type" : "currency"

},

"entity" : {

"internalId" : "206",

"type" : "vendor"

},

"exchangeRate" : "1.0",

"applyList" : [

{

"apply" : true,

"type": "Bill",

"doc" : "401",

"refNum" : "747001dd-7f04-4398-97c2-2926c7d8e6a2",

"amount" : 3500.0

}

]

}

I think it’s the type in the apply list that I need to have a different value for but I’m uncertain. Also where can I see the range of possible vales?

Rookie Asked on October 6, 2021 in SuiteApps.

are you using the rest api or the soap api?

on October 6, 2021.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor