Journal Entry

Approved Journals

Approved Journals includes with Journal Voucher (JV), Purchase Voucher (UV), Sales Voucher (SV), Payment Voucher (PV) and Receipt Voucher (RV)

post/journal-entries/approve

Request

Request body

descriptionstring required

Description of Journals

documentDatestring required

Posted Date YYYY-MM-DD

documentTypenumber required

51 = Journal Voucher <br> 53 = Purchase Voucher <br> 55 = Sales Voucher <br> 57 = Payment Voucher <br> 59 = Received Voucher

remarksstring

Remarks of Journals

notestring

Internal notes

referencestring

References of Journals

contactIdnumber

Customer Id

contactNamestring required

Customer name is required in all journals except Joutnal Voucher (JV)

Example request

{
  "documentDate": "2024-01-31",
  "bookOfAccounts": [
    {
      "chartOfAccountId": 53139
    }
  ]
}

Response

ok

statusboolean
messagestring
codenumber

Example response

{
  "data": {
    "documentDate": "2024-01-31",
    "createdOn": "2023-11-08T10:49:00",
    "postedDate": "2024-01-31T00:00:00",
    "approvedOn": "2023-11-08T10:49:00",
    "bookOfAccounts": [
      {
        "chartOfAccountId": 2707445,
        "displayName": "11111 / เงินสดในมือ"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.