Skip to main content

Get Journal Entry Listing (Simple)

Get journal entry listing using simple date filter.

Request

GET:/{accountBookId}/journalEntry/listing

Request Parameters

ParameterDescriptionType
pagePage index of returned records. Each page contains at most 100 records. Using a page index beyond the number of available pages will result in empty result.numberrequired
startDateStarting date range. Returns document records where docDate falls on startDate or later.datenullable
endDateEnding date range. Returns document records where docDate falls on startDate or earlier.datenullable

Example Request URL:

Parameters:
accountBookId = 1
page = 1
startDate = 2023-01-06
endDate = 2023-05-06

URL:
GET: https://accounting-api.autocountcloud.com/1/journalentry/listing?page=1&startDate=2023-01-06&endDate=2023-05-06

Response

Success Response

Status Code: 200

Response Body

FieldDescriptionType
dataResponse data.array[Journal Entry View Model]
totalCountNumber of records retrieved.number
Example Success Response Body
{
"data": [
{
"master": {
"docKey": 283,
"docNo": "JV-000001",
"docNo2": null,
"docDate": "2023-03-14T00:00:00",
"taxDate": null,
"currencyCode": "MYR",
"currencyRate": 1.000000000000,
"journalType": "GENERAL",
"description": "Payment for I-000003\t",
"note": null,
"cancelled": false,
"totalDR": 1507.50,
"totalCR": 1507.50,
"localTotalDR": 1507.50,
"localTotalCR": 1507.50,
"totalDRExTax": 1507.50,
"totalCRExTax": 1507.50,
"localTotalDRExTax": 1507.50,
"localTotalCRExTax": 1507.50,
"taxableDR": 0.00,
"taxableCR": 0.00,
"localTaxableDR": 0.00,
"localTaxableCR": 0.00,
"taxDR": 0.00,
"taxCR": 0.00,
"localTaxDR": 0.00,
"localTaxCR": 0.00,
"exTaxDR": 0.00,
"exTaxCR": 0.00,
"localExTaxDR": 0.00,
"localExTaxCR": 0.00,
"netTotalDR": 1507.50,
"netTotalCR": 1507.50,
"localNetTotalDR": 1507.50,
"localNetTotalCR": 1507.50,
"createdTimeStamp": "2023-03-14T10:32:48.8295116",
"createdUserID": "ADMIN",
"lastModified": "2023-03-16T16:24:28.6829841",
"lastModifiedUserID": "ADMIN",
"status": "Fully Applied"
},
"details": [
{
"docKey": 283,
"dtlKey": 596,
"seq": 1,
"accNo": "300-D003",
"toAccountRate": 1.000000000000,
"ref": null,
"description": "Payment for I-000003\t",
"furtherDescription": null,
"dr": null,
"cr": 825.00,
"localDR": null,
"localCR": 825.00,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxBName": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": null,
"totalCR": 825.00,
"localTotalDR": null,
"localTotalCR": 825.00,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"salesAgent": null,
"inclusiveTax": true,
"name": null,
"deptNo": null
},
{
"docKey": 283,
"dtlKey": 604,
"seq": 3,
"accNo": "310-1000",
"toAccountRate": 1.000000000000,
"ref": null,
"description": "Payment for I-000003\t",
"furtherDescription": null,
"dr": 825.00,
"cr": null,
"localDR": 825.00,
"localCR": null,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxBName": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": 825.00,
"totalCR": null,
"localTotalDR": null,
"localTotalCR": null,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"salesAgent": null,
"inclusiveTax": false,
"name": null,
"deptNo": null
},
{
"docKey": 283,
"dtlKey": 640,
"seq": 5,
"accNo": "310-1000",
"toAccountRate": 1.000000000000,
"ref": null,
"description": "Payment for I-000003\t",
"furtherDescription": null,
"dr": 682.50,
"cr": null,
"localDR": 682.50,
"localCR": null,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxBName": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": 682.50,
"totalCR": null,
"localTotalDR": null,
"localTotalCR": null,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"salesAgent": null,
"inclusiveTax": false,
"name": null,
"deptNo": null
},
{
"docKey": 283,
"dtlKey": 642,
"seq": 4,
"accNo": "300-D003",
"toAccountRate": 1.000000000000,
"ref": null,
"description": "Payment for I-000003\t",
"furtherDescription": null,
"dr": null,
"cr": 682.50,
"localDR": null,
"localCR": 682.50,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxBName": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": null,
"totalCR": 682.50,
"localTotalDR": null,
"localTotalCR": 682.50,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"salesAgent": null,
"inclusiveTax": true,
"name": null,
"deptNo": null
}
]
}
],
"totalCount": 1
}

Error Response

Response Body

object: Error Response Model

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