Get Journal Entry Knock Off Details
Request
GET:/{accountBookId}/journalEntry/knockOffDetails
Request Parameters
Parameter | Description | Type | |
---|---|---|---|
docNo | Document number of record. | string |
Example Request URL:
Parameters:accountBookId
= 1 docNo
= JV-000001 URL:
GET: https://accounting-api.autocountcloud.com/1/journalentry/knockoffdetails?docNo=JV-000001
Response
Success Response
Status Code: 200
Response Body
object: array[Document Knock Off View Model]
Example Success Response Body
[
{
"knockOffKey": 97,
"knockOffDocNo": "KO-000005",
"knockOffDate": "2023-03-14T00:00:00",
"knockOffAmount": 825.00,
"localKnockOffAmount": 825.00,
"debitDetails": [
{
"knockOffKey": 97,
"knockOffAmount": 825.00,
"localKnockOffAmount": 825.00,
"sourceDocNo": "I-000003",
"sourceDocKey": 126,
"sourceDtlKey": null,
"sourceDocType": "IV"
}
],
"creditDetails": [
{
"knockOffKey": 97,
"knockOffAmount": -825.00,
"localKnockOffAmount": -825.00,
"sourceDocNo": "JV-000001",
"sourceDocKey": 283,
"sourceDtlKey": 596,
"sourceDocType": "JE"
}
]
}
]
Error Response
Response Body
object: Error Response Model
Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}