Skip to main content

Get Journal Entry

Request

GET:/{accountBookId}/journalEntry

Request Parameters

ParameterDescriptionType
docNoDocument number of record.stringrequired

Example Request URL:

Parameters:
accountBookId = 1
docNo = JV-000001

URL:
GET: https://accounting-api.autocountcloud.com/1/journalentry?docNo=JV-000001

Response

Success Response

Status Code: 200

Response Body

object: Journal Entry View Model

Example Success Response Body
{
"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,
"totalDRExTax": 825.00,
"totalCRExTax": 825.00,
"taxableDR": 0.00,
"taxableCR": 0.00,
"localTaxableDR": 0.00,
"localTaxableCR": 0.00,
"taxDR": 0.00,
"taxCR": 0.00,
"localTaxDR": 0.00,
"localTaxCR": 0.00,
"netTotalDR": 825.00,
"netTotalCR": 825.00,
"localNetTotalDR": 825.00,
"localNetTotalCR": 825.00,
"createdTimeStamp": "2023-03-14T10:32:48.8295116",
"createdUserID": "ADMIN",
"lastModified": "2023-03-14T10:50:45.3493131",
"lastModifiedUserID": "ADMIN",
"status": "Fully Applied",
"approverID": "ADMIN",
"approvedTimeStamp": "2023-03-06T16:42:26.9875477",
"rejectReason": null
},
"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,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": null,
"totalCR": 825.00,
"localTotalDR": null,
"localTotalCR": 825.00,
"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,
"taxCode": null,
"taxRate": null,
"taxAdjustment": null,
"localTaxAdjustment": null,
"tariffCode": null,
"taxExportCountry": null,
"taxPermitNo": null,
"taxBRNo": null,
"taxRefNo": null,
"taxRegisterNo": null,
"taxBillDate": null,
"totalDRExTax": null,
"totalCRExTax": null,
"localTotalDRExTax": null,
"localTotalCRExTax": null,
"taxDR": null,
"taxCR": null,
"localTaxDR": null,
"localTaxCR": null,
"totalDR": 825.00,
"totalCR": null,
"localTotalDR": null,
"localTotalCR": null,
"salesAgent": null,
"inclusiveTax": false,
"name": null,
"deptNo": null
}
]
}

Error Response

Response Body

object: Error Response Model

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