Skip to main content

Get Outstanding Knock Off Transactions

Request

GET:/{accountBookId}/knockOffEntry/outstandingTransactions

Request Parameters

ParameterDescriptionType
accNoCustomer/Supplier code.stringrequired
docDateDate filter, get records with document date on or before date entered.daterequired

Example Request URL:

Parameters:
accountBookId = 1
accNo = 300-D001
docDate = 2023-06-03

URL:
GET: https://accounting-api.autocountcloud.com/1/knockoffentry/outstandingtransactions?accNo=300-D001&docDate=2023-06-03

Response

Success Response

Status Code: 200

Response Body

object: array[Knock Off Transaction View Model]

Example Success Response Body
[
{
"koTransKey": 160,
"sourceType": "CN",
"sourceKey": 19,
"sourceDtlKey": null,
"docNo": "CN-000007",
"docDate": "2021-08-17T00:00:00",
"accNo": "300-D001",
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"amount": -100.00,
"localAmount": -100.00,
"knockOffAmount": 0.00,
"localKnockOffAmount": 0.00
},
{
"koTransKey": 161,
"sourceType": "CN",
"sourceKey": 21,
"sourceDtlKey": null,
"docNo": "CN-000007",
"docDate": "2021-08-17T00:00:00",
"accNo": "300-D001",
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"amount": -100.00,
"localAmount": -100.00,
"knockOffAmount": 0.00,
"localKnockOffAmount": 0.00
},
{
"koTransKey": 162,
"sourceType": "CN",
"sourceKey": 23,
"sourceDtlKey": null,
"docNo": "CN-000007",
"docDate": "2021-08-17T00:00:00",
"accNo": "300-D001",
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"amount": -100.00,
"localAmount": -100.00,
"knockOffAmount": 0.00,
"localKnockOffAmount": 0.00
},
{
"koTransKey": 163,
"sourceType": "CN",
"sourceKey": 24,
"sourceDtlKey": null,
"docNo": "CN-000007",
"docDate": "2021-08-17T00:00:00",
"accNo": "300-D001",
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"amount": -100.00,
"localAmount": -100.00,
"knockOffAmount": 0.00,
"localKnockOffAmount": 0.00
}
]

Error Response

Response Body

object: Error Response Model

Example Error Response Body
{
"statusCode": 401,
"message": "401 Unauthorized."
}