How to create a vendor payment with a given bill using suitescript or rest api?
I am trying to post a vendor payment into netsuite for a given bill ( I have the bill internal id and other details).
what is the best way to post a vendor payment into netsuite? Could you please pass the suitescript object to be posted.? or the rest api request payload?