HisabKitab
  1. Expense Credit Note Transaction
HisabKitab
  • Third Party APIs
    • How to Generate ApiKey ?
    • Account Master
      • Ledger Groups
        • List of All Groups
        • Create Group
        • Create Batch Groups
        • Edit Group
        • Update Group
        • Delete Group
      • Ledgers
        • Create Ledger
          • Customer Ledger
          • Supplier Ledger
          • Bank Ledger
          • Capital Ledger
          • Cash Ledger
          • Income Ledger
          • Expense Ledger
          • Fixed Asset Ledger
          • Investment Ledger
          • Loan and Advance (Asset) Ledger
          • Misc Assets Ledger
          • Other Current Assets Ledger
          • Taxes - GST Ledger
          • Taxes - TDS Ledger
          • Taxes - TCS Ledger
          • Provisions Ledger
          • Reserve and Surplus Ledger
          • Secured Loan Ledger
          • Unsecured Loan Ledger
          • Stock In Hand Ledger
          • Other Current Liabilities Ledger
          • TDS Receivable Ledger
          • TCS Receivable Ledger
        • Ledger Detail
        • List of all Ledgers
        • Edit Ledger
        • Update Ledger
        • Delete Ledger
        • Delete Ledger Media
        • Add Location(Fixed Asset )
        • Check Unique GST Number
        • Check Unique GST Number with Ledger
        • Holding & Profit Ratio
        • Ledger TDS tax Data
        • Ledger TCS tax Data
    • Item Master
      • Item Groups
        • List of all groups
        • Create Group
        • Create Batch Groups
        • Edit Group
        • Update Group
        • Delete Group
      • Items
        • Item Form Details
        • List of items
        • Create Good Item
        • Create Service Item
        • Edit Item
        • Update Item
        • Delete Item
      • Unit of Measurement
        • List of Unit of Measurement
        • Create Unit of Measurement
        • Edit Unit of Measurement
        • Update Unit of Measurement
        • Delete Unit of Measurement
    • Broker Master
      • List of Brokers
      • Create Broker
      • Edit Broker
      • Update Broker
      • Delete Broker
    • Transport Master
      • List of Transport
      • Create Transport
      • Edit Transport
      • Update Transport
      • Delete Transport
    • Cess Rate
      • List of Cess Rate
      • Create Cess Rate
      • Edit Cess Rate
      • Update Cess Rate
      • Delete Cess Rate
    • Dispatch Address
      • List of Dispatch Address
      • Create Dispatch Address
      • Edit Dispatch Address
      • Update Dispatch Address
      • Delete Dispatch Address
    • Shipping Address
      • List of Shipping Addresses
      • Create Shipping Address
      • Edit Shipping Address
      • Update Shipping Address
      • Delete Shipping Address
    • Comman APIs
      • Company Details
      • Countries
      • States
      • Cities
      • Gst Rates
      • Classification-nature-type
    • Configuration
      • Sale
        • Sale Configuration
        • Update Configuration
        • Update Configuration with Type
      • Sale Return
        • Sale Return Configuration
        • Update Configuration
        • Update Configuration with Type
      • Income Debit Note
        • Debit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Income Credit Note
        • Credit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Estimate Quote
        • Estimate Configuration
        • Update Configuration with Type
        • Update Configuration
      • Delivery Challan
        • Delivery Challan Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase
        • Purchase Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase Return
        • Purchase Return Configuration
        • Update Configuration
        • Update Configuration with Type
      • Expense Credit Note
        • Expense Credit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Expense Debit Note
        • Expense Debit Note Configuration
        • Update Configuration
        • Update Configuration with Type
      • Purchase Order
        • Purchase Order Configuration
        • Update Configuration
        • Update Configuration with Type
    • Sale Transactions
      • List of Transactions
      • Next Invoice Number
      • Create Item Sale
      • Create Accounting Sale
      • Edit Sale
      • Update Sale
      • Duplicate Sale
      • Delete Sale
      • Get Sale For Sale Return
      • Create Challan From Sale Invoice
    • Sale Return Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Sale Return
      • Create Accounting Sale Return
      • Edit Sale Return
      • Update Sale Return
      • Duplicate Sale Return
      • Delete Sale Return
    • Income Debit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Debit Note
      • Create Accounting Debit Note
      • Edit Debit Note
      • Update Debit Note
      • Duplicate Debit Note
      • Delete Debit Note
    • Income Credit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Credit Note
      • Create Accounting Credit Note
      • Edit Credit Note
      • Update Credit Note
      • Duplicate Credit Note
      • Delete Credit Note
    • Estimate Quote Transaction
      • List of Transactions
      • Next Estimate Number
      • Create Item Estimate
      • Create Accounting Estimate
      • Edit Estimate
      • Update Estimate
      • Duplicate Estimate
      • Create Sale From Estimate
      • Delete Estimate
    • Delivery Challan Transaction
      • List of Transactions
      • Next Challan Number
      • Create Delivery Challan
      • Edit Delivery Challan
      • Update Delivery Challan
      • Duplicate Delivery Challan
      • Create Sale From Delivery Challan
      • Delete Delivery Challan
    • Purchase Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Purchase
      • Create Accounting Purchase
      • Edit purchase
      • Update purchase
      • Duplicate purchase
      • Get purchase For purchase Return
      • Delete purchase
    • Purchase Return Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Purchase Return
      • Create Accounting Purchase Return
      • Edit purchase Return
      • Update purchase Return
      • Duplicate purchase Return
      • Delete purchase Return
    • Expense Credit Note Transaction
      • List of Transactions
        GET
      • Next Invoice Number
        GET
      • Create Item Expense Credit Note
        POST
      • Create Accounting Expense Credit Note
        POST
      • Edit Expense Credit Note
        GET
      • Update Expense Credit Note
        POST
      • Duplicate Expense Credit Note
        GET
      • Delete Expense Credit Note
        DELETE
    • Expense Debit Note Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Expense Debit Note
      • Create Accounting Expense Debit Note
      • Edit Expense Debit Note
      • Update Expense Debit Note
      • Duplicate Expense Debit Note
      • Delete Expense Debit Note
    • Purchase Order Transaction
      • List of Transactions
      • Next Invoice Number
      • Create Item Purchase Order
      • Create Accounting Purchase Order
      • Edit purchase Order
      • Update Purchase Order
      • Duplicate purchase Order
      • Delete purchase Order
      • Book Purchase Order
    • Receipt Transaction
      • List of Receipts
      • Next invoice number
      • Create Receipt
      • Edit Receipt
      • Update Receipt
      • Delete Receipt
    • Payment Transaction
      • List of Payments
      • Next invoice number
      • Create Payment
      • Edit Payment
      • Update Payment
      • Delete Payment
    • Journal Transaction
      • List of Journals
      • Next invoice number
      • Create Journal
      • Edit Journal
      • Update Journal
      • Delete Journal
  1. Expense Credit Note Transaction

Edit Expense Credit Note

GET
https://app.hisabkitab.co/third-party/expense-credit-note/{id}
For the GET request version of the Edit Expense Credit Note API, we'll retrieve the existing details of the expense credit note transaction by its ID, allowing users to view and then modify the data based on those details.

Request#

The API uses a GET request to retrieve an existing expense credit note transaction using its unique ID.

Response#

The response will include the details of the expense credit note to allow for the necessary modifications.

Request

Authorization
Add parameter in header
ApiKey
Example:
ApiKey: ********************
Path Params
id
integer 
required
It represents the ID of the expense credit note transaction you want to retrieve.
Example:
1

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.hisabkitab.co/third-party/expense-credit-note/1' \
--header 'ApiKey;'

Responses

🟢200Edit Expense Credit Note
application/json
Body
data
object 
required
id
integer 
required
A unique identifier assigned to the credit note transaction.
company_id
integer 
required
The ID of the company making the credit note, helping to associate transactions with specific business entities.
voucher_number
string 
required
Unique sequential number assigned to the purchase return voucher for identification and record-keeping.
voucher_date
string 
required
The date on which the voucher is issued, formatted as DD-MM-YYYY.
payment_mode
integer 
required
Represents mode ID of payment (e.g., cash, bank transfer, or credit). The value is usually mapped to predefined payment methods.
payment_type_ledger_id
integer 
required
The ID of the ledger account associated with the payment type. If null, no specific ledger is assigned.
original_inv_no
string 
required
The invoice number of the original purchase transaction linked to this return.
original_inv_date
string 
required
The date of the original purchase invoice for reference.
supplier_purchase_return_number
string 
required
The purchase return number assigned by the supplier.
supplier_purchase_return_date
string 
required
The date of the purchase return document issued by the supplier.
supplier_id
integer 
required
The ID of the ledger account assigned to the supplier.
gstin
string 
required
The GST identification number of the supplier, ensuring compliance with tax regulations.
broker_id
integer 
required
The ID of the broker involved in the transaction, if any.
brokerage_for_sale
integer 
required
The brokerage value is the percentage fee that the broker receives for facilitating the deal.
brokerage_on_value_type
integer 
required
This field determines the basis on which the brokerage fee is calculated such as invoice value (1) and taxable value (2).
transport_id
integer 
required
Represents the unique identifier for the transport service provider that is responsible for delivering the goods.
transporter_document_number
string 
required
Refers to the document number issued by the transporter, such as a bill.
transporter_document_date
string 
required
This is the date when the transporter's document was issued.
transporter_vehicle_number
string 
required
Represents the vehicle number used for transporting the goods.
eway_bill_number
string 
required
The reference number of the e-way bill (if applicable).
eway_bill_date
string 
required
The date of e-way bill generation (if applicable).
expense_cn_item_type
integer 
required
Indicates the type of invoice, such as item invoice (2) and accounting invoice (1).
shipping_freight
number 
required
This field represents the cost of shipping or freight for transporting the goods.
packing_charge
number 
required
This field refers to the cost associated with packaging the goods.
tcs_tax_id
integer 
required
This field stores the identifier for the Tax Collected at Source (TCS) tax.
tcs_rate
integer 
required
This represents the percentage rate of TCS applicable to the transaction.
tcs_amount
number 
required
This field captures the total monetary amount of TCS deducted from the transaction.
cgst
number 
required
The total amount of Central Goods and Services Tax (CGST) applied to the transaction.
sgst
number 
required
The total amount of State Goods and Services Tax (SGST) applied to the transaction.
igst
number 
required
The total amount of Integrated Goods and Services Tax (IGST) applicable to the transaction.
shipping_freight_with_gst
integer 
required
This field represents the shipping freight charges, including GST
packing_charge_with_gst
integer 
required
This field represents the packing charges, including GST.
shipping_freight_sgst_amount
number 
required
GST tax Detail of shipping freight including SGST, CGST and IGST.
shipping_freight_cgst_amount
number 
required
shipping_freight_igst_amount
number 
required
packing_charge_sgst_amount
number 
required
GST tax Detail of packing charges including SGST, CGST and IGST.
packing_charge_cgst_amount
number 
required
packing_charge_igst_amount
number 
required
rounding_amount
number 
required
The amount adjusted for rounding off the total bill.
total
number 
required
The total value of the sale transaction before tax.
grand_total
number 
required
The final amount of the invoice, which includes all items, taxes, additional charges, and rounding adjustments.
taxable_value
integer 
required
The amount on which tax is calculated.
gross_value
integer 
required
The total gross value of the sale before deductions.
payment_status
string 
required
The current payment status of the transaction (e.g., "Unpaid").
due_amount
integer 
required
This field indicates the remaining balance that is yet to be paid or adjusted for the transaction. It is calculated as the difference between the invoice_amount and the paid_amount.
narration
string 
required
An optional narrative field for providing additional notes or descriptions related to the transaction
term_and_condition
string 
required
Includes any terms and conditions relevant to the transaction, such as payment terms, delivery schedules, or return policies.
is_gst_enabled
boolean 
required
Indicates whether GST is enabled for the transaction.
is_gst_na
boolean 
required
Indicates if GST is not applicable to the transaction.
is_cgst_sgst_igst_calculated
boolean 
required
Indicates whether CGST, SGST, or IGST has been calculated.
is_rcm_applicable
boolean 
required
Specifies whether Reverse Charge Mechanism (RCM) is applicable (1 = Yes, 0 = No).
pass_tds_entry
integer 
required
A boolean flag indicating whether Tax Deducted at Source (TDS) is added or not to the transaction.
tds_pan
string 
required
The Permanent Account Number (PAN) of the supplier or party for whom TDS is deducted.
tds_taxable_value
number 
required
The portion of the transaction amount on which TDS is applicable.
ledger_of_tds
integer 
required
The ledger account where the deducted TDS amount is recorded.
tds_rate
integer 
required
Represents the rate (%) at which TDS is collected on the transaction.
tds_amount
number 
required
This field shows the amount of TDS collected on the transaction.
cess
integer 
required
Represents the cess (additional tax) applied to the transaction.
shipping_gstin
string 
required
Define the shipping customer gstin number.
shipping_name
string 
required
Define the shipping customer's name.
is_round_off_not_changed
integer 
required
A flag indicating whether the rounding amount has been manually adjusted or remains unchanged.
supplier_ledger_name
string 
required
The name of the supplier ledger, which linked to the transaction.
media
array[string]
required
Stores media-related data associated with the transaction.
paid_amount
integer 
required
The total amount already paid towards this transaction.
supplier
object 
required
The supplier from whom the transaction was made.
billing_address
object 
required
Contains details about the billing address linked to the transaction.
shipping_address
object 
required
Contains details about the shipping address linked to the transaction.
dispatch_address
object 
required
Represents the address where the goods should be picked up or dispatched from.
expense_credit_note_items
array [object {39}] 
required
A list containing details of items.
expense_credit_note_ledgers
array[string]
required
A list containing details of ledger.
additional_charges
array[string]
required
Holds any extra charges applied to the transaction.
add_less
array[string]
required
Contains adjustments that either increase (add) or decrease (less) the total transaction amount.
payment_details
array[string]
required
Stores information about payments linked to the transaction.
receipt_transaction_item
array[string]
required
This is a list of transaction items related to the receipt for this transaction.
journal_transaction_item
array[string]
required
A list of journal entries associated with this transaction, which is used for accounting purposes.
via_api
boolean 
required
is_import
integer 
required
created_by
integer 
required
A unique identifier of the user who created the transaction.
created_at
string 
required
The date and time indicating when the record was initially created in the system,
updated_at
string 
required
The date and time indicating when the record was last modified or updated in the system.
deleted_by
integer 
required
This field records the ID of the user who deleted the transaction.
deleted_at
string 
required
Stores the date and time when the transaction was deleted.
success
boolean 
required
message
string 
required
Example
{
    "data": {
        "id": 1,
        "company_id": 6,
        "voucher_number": "4",
        "payment_mode": null,
        "payment_type_ledger_id": null,
        "voucher_date": "2025-01-13T18:30:00.000000Z",
        "original_inv_no": null,
        "original_inv_date": null,
        "supplier_purchase_return_number": null,
        "supplier_purchase_return_date": null,
        "supplier_id": 3,
        "gstin": null,
        "broker_id": null,
        "brokerage_for_sale": null,
        "brokerage_on_value_type": 1,
        "transport_id": null,
        "transporter_document_number": null,
        "transporter_document_date": null,
        "transporter_vehicle_number": null,
        "expense_cn_item_type": 2,
        "shipping_freight": null,
        "packing_charge": null,
        "tcs_tax_id": null,
        "tcs_rate": null,
        "tcs_amount": null,
        "cgst": 0,
        "sgst": 0,
        "igst": 0,
        "shipping_freight_with_gst": 0,
        "packing_charge_with_gst": 0,
        "shipping_freight_sgst_amount": null,
        "shipping_freight_cgst_amount": null,
        "shipping_freight_igst_amount": null,
        "packing_charge_sgst_amount": null,
        "packing_charge_cgst_amount": null,
        "packing_charge_igst_amount": null,
        "rounding_amount": 0,
        "total": 200,
        "grand_total": 200,
        "taxable_value": 200,
        "gross_value": 200,
        "payment_status": "Unpaid",
        "due_amount": 200,
        "narration": "Expense credit note",
        "term_and_condition": null,
        "is_gst_enabled": 0,
        "is_gst_na": 1,
        "is_cgst_sgst_igst_calculated": 0,
        "is_rcm_applicable": false,
        "pass_tds_entry": 0,
        "tds_pan": null,
        "tds_taxable_value": null,
        "ledger_of_tds": null,
        "tds_rate": null,
        "tds_amount": null,
        "cess": 0,
        "shipping_gstin": null,
        "shipping_name": null,
        "is_round_off_not_changed": 0,
        "supplier_ledger_name": "AAW",
        "media": [],
        "paid_amount": 0,
        "supplier": {
            "id": 4,
            "name": "AAW",
            "company_id": 6,
            "group_id": 2,
            "parent_id": null,
            "model_id": 2,
            "model_type": "App\\Models\\Master\\Supplier",
            "ledgers_data": {
                "Supplier": {
                    "gstin": "24ABCPM4732A1ZA",
                    "phone_1": "7359971320",
                    "phone_2": null,
                    "website": null,
                    "brokerage": null,
                    "reference": true,
                    "cin_number": "",
                    "entity_type": 9,
                    "person_name": null,
                    "person_email": "vishalinfyom@gmail.com",
                    "broker_master": null,
                    "reference_name": null,
                    "opening_balance": 789679,
                    "pan_card_number": "ABCPM4732A",
                    "rate_of_interest": null,
                    "gst_return_status": null,
                    "reference_address": null,
                    "brokerage_on_value": 3,
                    "credit_period_type": 1,
                    "credit_limit_period": null,
                    "gst_registration_type": 1,
                    "opening_balance_dr_cr": 2,
                    "billing_address_city_id": 1,
                    "billing_address_pin_code": "395008",
                    "billing_address_state_id": 2,
                    "shipping_address_city_id": 1,
                    "billing_address_address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
                    "billing_address_address_2": "KADODARA ROAD",
                    "reference_contact_details": null,
                    "shipping_address_pin_code": "395008",
                    "shipping_address_state_id": 2,
                    "billing_address_country_id": 1,
                    "shipping_address_address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
                    "shipping_address_address_2": "KADODARA ROAD",
                    "shipping_address_country_id": 1
                }
            },
            "opening_balance": 789679,
            "opening_balance_dr_cr": 2,
            "is_default": false,
            "via_api": 0,
            "is_import": 0,
            "created_at": "2023-06-17T09:20:33.000000Z",
            "updated_at": "2024-07-11T06:57:17.000000Z"
        },
        "billing_address": {
            "id": 5,
            "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
            "address_2": "KADODARA ROAD",
            "country_id": 1,
            "state_id": 2,
            "city_id": 1,
            "pin_code": "395008",
            "model_id": 3,
            "model_type": "App\\Models\\ExpenseCreditNoteTransaction",
            "address_type": 1,
            "created_at": "2025-02-12T10:51:29.000000Z",
            "updated_at": "2025-02-12T10:51:29.000000Z"
        },
        "dispatch_address": {
            "id": 6,
            "address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
            "address_2": "KADODARA ROAD",
            "country_id": 1,
            "state_id": 2,
            "city_id": 1,
            "pin_code": "395008",
            "model_id": 3,
            "model_type": "App\\Models\\ExpenseCreditNoteTransaction",
            "address_type": 2,
            "created_at": "2025-02-12T10:51:29.000000Z",
            "updated_at": "2025-02-12T10:51:29.000000Z"
        },
        "expense_credit_note_items": [
            {
                "id": 3,
                "expense_cn_id": 1,
                "item_id": 7,
                "additional_description": "test",
                "unit_id": 1,
                "quantity": 1,
                "mrp": null,
                "with_tax": false,
                "rpu_with_gst": null,
                "rpu_without_gst": 100,
                "discount_type": 1,
                "discount_value": null,
                "discount_type_2": 1,
                "discount_value_2": null,
                "total_discount_amount": 0,
                "gst_id": 10,
                "gst_tax_percentage": 18,
                "total": 100,
                "ledger_id": 9,
                "classification_igst_tax": null,
                "classification_cgst_tax": null,
                "classification_sgst_tax": null,
                "classification_cess_tax": null,
                "classification_is_rcm_applicable": 0,
                "classification_is_itc_applicable": 0,
                "classification_nature_type": null,
                "consolidating_items_to_invoice": "0",
                "cess_rate": 0,
                "cess_amount": 0,
                "taxable_amount": 0,
                "item_name": "Accounting Service",
                "ledger_name": "Consultancy",
                "units_of_array": [
                    {
                        "id": 1,
                        "name": "PIECES",
                        "code": "PCS",
                        "full_name": "PCS-PIECES",
                        "is_default": true,
                        "for_gst_use_name": null,
                        "company_id": null,
                        "created_at": "2023-02-10T04:22:56.000000Z",
                        "updated_at": "2023-02-10T04:22:56.000000Z"
                    }
                ],
                "decimal_places": 0,
                "decimal_places_for_rate": 2,
                "secondary_unit_of_measurement": null,
                "conversion_rate": null,
                "created_at": "2025-02-12T10:51:29.000000Z",
                "updated_at": "2025-02-12T10:51:29.000000Z"
            },
            {
                "id": 4,
                "expense_cn_id": 1,
                "item_id": 3,
                "additional_description": "test",
                "unit_id": 1,
                "quantity": 1,
                "mrp": null,
                "with_tax": false,
                "rpu_with_gst": null,
                "rpu_without_gst": 100,
                "discount_type": 1,
                "discount_value": null,
                "discount_type_2": 1,
                "discount_value_2": null,
                "total_discount_amount": 0,
                "gst_id": 10,
                "gst_tax_percentage": 18,
                "total": 100,
                "ledger_id": 5,
                "classification_igst_tax": null,
                "classification_cgst_tax": null,
                "classification_sgst_tax": null,
                "classification_cess_tax": null,
                "classification_is_rcm_applicable": 0,
                "classification_is_itc_applicable": 0,
                "classification_nature_type": null,
                "consolidating_items_to_invoice": "0",
                "cess_rate": 0,
                "cess_amount": 0,
                "taxable_amount": 0,
                "item_name": "ACTGsss",
                "ledger_name": "Purchase",
                "units_of_array": [
                    {
                        "id": 1,
                        "name": "PIECES",
                        "code": "PCS",
                        "full_name": "PCS-PIECES",
                        "is_default": true,
                        "for_gst_use_name": null,
                        "company_id": null,
                        "created_at": "2023-02-10T04:22:56.000000Z",
                        "updated_at": "2023-02-10T04:22:56.000000Z"
                    }
                ],
                "decimal_places": 0,
                "decimal_places_for_rate": 2,
                "secondary_unit_of_measurement": null,
                "conversion_rate": 1,
                "created_at": "2025-02-12T10:51:29.000000Z",
                "updated_at": "2025-02-12T10:51:29.000000Z"
            }
        ],
        "expense_credit_note_ledgers": [],
        "additional_charges": [],
        "add_less": [],
        "payment_details": [],
        "payment_transaction_item": [],
        "journal_transaction_item": [],
        "via_api": 0,
        "is_import": 0,
        "created_by": 8,
        "created_at": "2025-02-12T10:51:29.000000Z",
        "updated_at": "2025-02-12T10:51:29.000000Z",
        "deleted_by": null,
        "deleted_at": null
    },
    "success": true,
    "message": "Expense credit note Transaction Retrieved Successfully"
}
Modified at 2025-04-03 10:09:38
Previous
Create Accounting Expense Credit Note
Next
Update Expense Credit Note
Built with