Brief Description
  • create or update or delete journal account data.
Request URL
  • https://6409627-sb2.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=647&deploy=1
Request Method
  • POST
Request Parameter Description
Parameter Required Type Description field leval
operateType True String Operate type, value: create,update,delete 1
docNum True String The document number of the Transaction 1
date True String The Posting date of the Transaction,format of "2022/11/23" 1
currency True String Currency of Transaction 1
exchangeRate True Number The exchange rate 1
subsidiary True String Subsidiary 1
memo False String Memos for the transaction 1
lines True Array line property name
unitPrice True Number Amount 2
taxRate True String Tax rate;such as 20% 2
department True String Transaction line Department 2
vendor True String A supplier of goods or services 2
customer True String A customer who receives goods or services 2
employee True String The employees of the transaction 2
debitAccount True String A debit entry code in the accounting entry generated by a transaction 2
creditAccount True String A credit entry code in the accounting entry generated by a transaction 2
memo False String Transaction remarks (lines) 2
cashFlow True String Cash flows from bank accounts(lines) 1
    "docNum": "",
    "date": "2022/11/23",
    "subsidiary": "",
    "memo": "",
    "lines": [{
        "unitPrice": 2,
        "taxRate": "",
        "memo": "",
        "cashFlow": ""
Response Parameter Description
Parameter Type Description
success Boolean true:success,false:failed
message String errors message
data Array Data
Return Samples
    // Error
    "success": false,
    "message": "docNum must be filled!",
    "data": []
    // Success
        "success": true,
        "message": "",
        "data": [{
            "internalid" :3995