Update Knock Off Entry
Request
PUT:/{accountBookId}/knockOffEntry
Request Parameters
Parameter | Description | Type | |
---|---|---|---|
docNo | Document number of record. | string | required |
Request Body
object: Knock Off Entry Input Model
Example Request Body
Example: Update deptNo
value in knock off record created in Create Knock Off Entry.
{
"master": {
"accNo": "300-D002",
"docNo": "KO-000001",
"docDate": "2023-03-15",
"docNoFormatName": null,
"deptNo": "D-0003"
},
"details": [
{
"docNo": "JV-000003",
"docType": "JE",
"knockOffAmount": 472.50
},
{
"docNo": "CN-000001",
"docType": "CN",
"knockOffAmount": -472.50
}
]
}
Example Request URL:
Parameters:accountBookId
= 1 docNo
= KO-000001 URL:
PUT: https://accounting-api.autocountcloud.com/1/knockOffEntry?docNo=KO-000001
Response
Success Response
Code: 204
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}