json.put("reason","Updated Amount Calculation");
customeUpdateMapString = json.toString();
//info customeUpdateMapString;
updateInvoice = invokeurl
[
url :urlToUse
type :PUT
parameters:customeUpdateMapString
connection:"books_connection"
];
Any idea what I am missing? Ive tried using Custom under payment terms in the api call but that causes an error.