POST
method, and the body must contain the updated details of the receipt transaction. The ID of the receipt should be included in the URL, indicating which transaction is to be updated.ApiKey: ********************
curl --location --request POST 'https://app.hisabkitab.co/third-party/receipt-transactions/1' \
--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 'rc_transaction_item_id="1"' \
--form 'rc_transaction_item_id="2"' \
--form 'rc_transaction_item_id="3"' \
--form 'rc_transaction_item_id="4"' \
--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",
"is_default_created_by_transaction": false,
"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": 0,
"created_by": 8,
"created_at": "2025-02-13T09:23:44.000000Z",
"updated_at": "2025-02-13T09:28:47.000000Z",
"deleted_by": null,
"deleted_at": null
},
"success": true,
"message": "Receipt transaction updated successfully."
}