POST method, and the request body must include the updated transaction details such as debit and credit ledger entries, invoice settlements, narration, and other relevant fields.ApiKey: ********************{
"voucher_number": "string",
"date": "string",
"debit_total": 0,
"credit_total": 0,
"narration": "string",
"ledger_amount_data": [
{
"ledger_id": 0,
"amount": "string",
"debit_credit_type": 0,
"is_manage_transaction": 0
}
],
"debit_transactions": [
{
"invoice_number": "string",
"bill_type": 0,
"paid_amount": 0,
"ledger_id": 0,
"transaction_id": 0,
"total_amount": 0,
"pending_amount": 0,
"adj_ledger_1": 0,
"adj_amount_1": "string",
"adj_ledger_2": 0,
"adj_amount_2": "string"
}
],
"credit_transactions": [
{
"invoice_number": "string",
"bill_type": 0,
"received_amount": 0,
"ledger_id": 0,
"transaction_id": 0,
"total_amount": 0,
"pending_amount": 0,
"adj_ledger_1": 0,
"adj_amount_1": "string",
"adj_ledger_2": 0,
"adj_amount_2": "string"
}
],
"upload_journal_invoice": [
"string"
]
}curl --location --request POST 'https://app.hisabkitab.co/third-party/journal-transactions/1' \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucher_number": "string",
"date": "string",
"debit_total": 0,
"credit_total": 0,
"narration": "string",
"ledger_amount_data": [
{
"ledger_id": 0,
"amount": "string",
"debit_credit_type": 0,
"is_manage_transaction": 0
}
],
"debit_transactions": [
{
"invoice_number": "string",
"bill_type": 0,
"paid_amount": 0,
"ledger_id": 0,
"transaction_id": 0,
"total_amount": 0,
"pending_amount": 0,
"adj_ledger_1": 0,
"adj_amount_1": "string",
"adj_ledger_2": 0,
"adj_amount_2": "string"
}
],
"credit_transactions": [
{
"invoice_number": "string",
"bill_type": 0,
"received_amount": 0,
"ledger_id": 0,
"transaction_id": 0,
"total_amount": 0,
"pending_amount": 0,
"adj_ledger_1": 0,
"adj_amount_1": "string",
"adj_ledger_2": 0,
"adj_amount_2": "string"
}
],
"upload_journal_invoice": [
"string"
]
}'{
"data": {
"id": 1,
"company_id": 2,
"created_by": 8,
"date": "2025-09-21T18:30:00.000000Z",
"voucher_number": "1",
"debit_total": 100,
"credit_total": 100,
"narration": "ABCD",
"via_api": 2,
"created_at": "2025-09-22T10:00:40.000000Z",
"updated_at": "2025-09-23T07:24:31.000000Z",
"is_import": false,
"deleted_by": null,
"deleted_at": null
},
"success": true,
"message": "Journal Transaction updated successfully."
}