Authorization: Bearer ********************
{
"BatchId": "string"
}
curl --location --request GET 'https://accountingAPI.smartlogic.mn/api/generalledger/GetJournalByBatch' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"BatchId": "string"
}'
{
"Success": true,
"Message": null,
"ErrorCode": null,
"ExceptionType": null,
"Data": [
{
"DocumentDate": "2025-04-23T00:00:00",
"DocumentNumber": null,
"DocumentDesc": "Journal 1",
"BatchId": "123",
"CustomerId": "001",
"CashFlowReportPropertyId": "",
"VatReportPropertyId": "0",
"Details": [
{
"JournalId": 1,
"AccountId": "110101",
"AccountName": "Account1",
"CustomerId": "001",
"CustomerName": "Customer01",
"BankTransactionId": null,
"Rate": 1.0000000000,
"DebitAmtFc": 0.000000,
"DebitAmt": 0.000000,
"CreditAmtFc": 1100.000000,
"CreditAmt": 1100.000000,
"CashFlowReportPropertyId": "",
"VatReportPropertyId": ""
},
{
"JournalId": 1,
"AccountId": "100100161",
"AccountName": "cash01",
"CustomerId": "001",
"CustomerName": "Customer01",
"BankTransactionId": null,
"Rate": 1.0000000000,
"DebitAmtFc": 1100.000000,
"DebitAmt": 1100.000000,
"CreditAmtFc": 0.000000,
"CreditAmt": 0.000000,
"CashFlowReportPropertyId": "",
"VatReportPropertyId": ""
}
]
}
]
}