POST method, and the body must include the details of the receipt transaction.ApiKey: ********************{
"receipt_number": "1",
"date": "22-09-2025",
"bank_cash_ledger_id": 10,
"ledger_id": 3,
"total_received_amount": 100,
"payment_mode_id": "5",
"reference_number": "123123",
"narration": "ABCD",
"is_manage_transaction": 1,
"settle_invoices_data": [
{
"transaction_id": 1,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 10,
"adj_amount_1": "123",
"adj_ledger_2": 25,
"adj_amount_2": "123"
},
{
"transaction_id": 2,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 20,
"adj_amount_1": "123",
"adj_ledger_2": 25,
"adj_amount_2": "123"
}
],
"upload_receipt_invoice": []
}curl --location --request POST 'https://app.hisabkitab.co/third-party/receipt-transactions' \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"receipt_number": "1",
"date": "22-09-2025",
"bank_cash_ledger_id": 10,
"ledger_id": 3,
"total_received_amount": 100,
"payment_mode_id": "5",
"reference_number": "123123",
"narration": "ABCD",
"is_manage_transaction": 1,
"settle_invoices_data": [
{
"transaction_id": 1,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 10,
"adj_amount_1": "123",
"adj_ledger_2": 25,
"adj_amount_2": "123"
},
{
"transaction_id": 2,
"invoice_number": "50",
"bill_type": 1,
"date": "11-02-2025",
"total_amount": 540,
"pending_amount": 540,
"type": 1,
"received_amount": 540,
"adj_ledger_1": 20,
"adj_amount_1": "123",
"adj_ledger_2": 25,
"adj_amount_2": "123"
}
],
"upload_receipt_invoice": []
}'{
"data": {
"id": 5,
"company_id": 6,
"date": "2025-02-12T18:30:00.000000Z",
"receipt_number": "9",
"bank_cash_ledger_id": "3",
"ledger_id": "2",
"total_received_amount": 55388,
"narration": "A receipt is a written acknowledgment issued by a seller upon purchasing goods or services.",
"is_manage_transaction": true,
"payment_mode": "2",
"reference_number": null,
"via_api": true,
"is_import": false,
"created_by": 8,
"created_at": "2025-02-13T09:23:44.000000Z",
"updated_at": "2025-02-13T09:23:44.000000Z"
},
"success": true,
"message": "Receipt transaction created successfully."
}