POST
method, and the body must include the details of the receipt transaction.ApiKey: ********************
curl --location --request POST 'https://app.hisabkitab.co/third-party/receipt-transactions' \
--header 'ApiKey: <api-key>' \
--form 'date="13-02-2025"' \
--form 'receipt_number="9"' \
--form 'bank_cash_ledger_id="3"' \
--form 'ledger_id="2"' \
--form 'total_received_amount="55388.00"' \
--form 'is_manage_transaction="1"' \
--form 'payment_mode="2"' \
--form 'transaction_id[]="8"' \
--form 'transaction_id[]="2"' \
--form 'transaction_id[]="5"' \
--form 'transaction_id[]="6"' \
--form 'invoice_number[]="82023-24"' \
--form 'invoice_number[]="22023-24"' \
--form 'invoice_number[]="22023-24"' \
--form 'invoice_number[]="3"' \
--form 'bill_type[]="1"' \
--form 'bill_type[]="1"' \
--form 'bill_type[]="1"' \
--form 'bill_type[]="3"' \
--form 'received_amount[]="263.00"' \
--form 'received_amount[]="5000.00"' \
--form 'received_amount[]="100.00"' \
--form 'received_amount[]="50000.00"' \
--form 'discount_amount[]="0"' \
--form 'discount_amount[]="0"' \
--form 'discount_amount[]="0"' \
--form 'discount_amount[]="0"' \
--form 'rounding_amount[]="0"' \
--form 'rounding_amount[]="0"' \
--form 'rounding_amount[]="0"' \
--form 'rounding_amount[]="0"' \
--form 'narration="A receipt is a written acknowledgment issued by a seller upon purchasing goods or services."' \
--form 'upload_receipt_invoice=@""' \
--form 'submit_button_value="1"'
{
"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."
}