POST method and requires a body containing the journal transaction details.ApiKey: ********************{
"voucher_number": "2",
"date": "22-09-2025",
"debit_total": 100,
"credit_total": 100,
"narration": "ABCD",
"ledger_amount_data": [
{
"ledger_id": 546032,
"amount": "100",
"debit_credit_type": 1,
"is_manage_transaction": 1
},
{
"ledger_id": 546032,
"amount": 100,
"debit_credit_type": 2,
"is_manage_transaction": 1
}
],
"debit_transactions": [
{
"invoice_number": "1",
"bill_type": 1,
"paid_amount": -0.4,
"ledger_id": 546032,
"transaction_id": 113944,
"total_amount": 2914.6,
"pending_amount": -0.4,
"adj_ledger_1": 201964,
"adj_amount_1": "100",
"adj_ledger_2": 201964,
"adj_amount_2": "100"
}
],
"credit_transactions": [
{
"invoice_number": "5",
"bill_type": 11,
"received_amount": 250,
"ledger_id": 84932,
"transaction_id": 143,
"total_amount": 500,
"pending_amount": 250,
"adj_ledger_1": 83583,
"adj_amount_1": "100",
"adj_ledger_2": 84573,
"adj_amount_2": "100"
}
],
"media": []
}curl --location --request POST 'https://app.hisabkitab.co/third-party/journal-transactions' \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucher_number": "2",
"date": "22-09-2025",
"debit_total": 100,
"credit_total": 100,
"narration": "ABCD",
"ledger_amount_data": [
{
"ledger_id": 546032,
"amount": "100",
"debit_credit_type": 1,
"is_manage_transaction": 1
},
{
"ledger_id": 546032,
"amount": 100,
"debit_credit_type": 2,
"is_manage_transaction": 1
}
],
"debit_transactions": [
{
"invoice_number": "1",
"bill_type": 1,
"paid_amount": -0.4,
"ledger_id": 546032,
"transaction_id": 113944,
"total_amount": 2914.6,
"pending_amount": -0.4,
"adj_ledger_1": 201964,
"adj_amount_1": "100",
"adj_ledger_2": 201964,
"adj_amount_2": "100"
}
],
"credit_transactions": [
{
"invoice_number": "5",
"bill_type": 11,
"received_amount": 250,
"ledger_id": 84932,
"transaction_id": 143,
"total_amount": 500,
"pending_amount": 250,
"adj_ledger_1": 83583,
"adj_amount_1": "100",
"adj_ledger_2": 84573,
"adj_amount_2": "100"
}
],
"media": []
}'{
"data": {
"id": 4,
"company_id": 6,
"voucher_number": "6",
"date": "2025-02-12T18:30:00.000000Z",
"debit_total": 85000,
"credit_total": 85000,
"narration": "0",
"is_import": false,
"created_by": 8,
"created_at": "2025-02-13T11:51:18.000000Z",
"updated_at": "2025-02-13T11:51:18.000000Z"
},
"success": true,
"message": "Journal Transaction created successfully."
}