This API retrieves a list of expense credit note transactions based on specified query parameters. It supports filtering and pagination to fetch records efficiently.
The API uses a GET request to fetch expense credit note transaction data. Since it does not require a request body, users can simply call the endpoint with query parameters to retrieve the necessary information.
The API returns a response containing transaction details such as transaction ID, party name, invoice number, invoice amount, payment status, transaction type, and date. Additionally, it includes a success flag and a message confirming the successful retrieval of expense credit note transactions.
Request
Authorization
Add parameter in header
ApiKey
Example:
ApiKey: ********************
Query Params
start_date
stringÂ
required
The start date of the financial year (DD-MM-YYYY).
Example:
01-04-2024
end_date
stringÂ
required
The end date of the financial year (DD-MM-YYYY).
Example:
31-03-2025
party_id
integerÂ
optional
The unique identifier (ID) of the party used to filter transactions by party.
The limit specifies the number of records to retrieve, e.g., limit=25 returns 25 records.
Example:
25
skip
integerÂ
optional
The skip query parameter determines how many records to skip from the start, e.g., skip=10 ignores the first 10 records and fetches the rest.
Example:
0
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?start_date=01-04-2024&end_date=31-03-2025&party_id=1&status=1&limit=25&skip=0' \
--header'ApiKey;'
Responses
🟢200List of Transactions
application/json
Body
data
array [object {9}]Â
required
Contain a list of expense credit note transactions.
transaction_id
integerÂ
required
A unique identifier is assigned to each transaction.
party_name
stringÂ
required
The name of the party or vendor involved in the transaction. This represents the seller or supplier from whom the purchase is made.
party_id
integerÂ
required
A unique numerical identifier assigned to the party, which helps in managing and retrieving vendor details efficiently within the system.
phone_no
stringÂ
required
The contact number of the party involved in the transaction. If no phone number is available, this field remains null.
invoice_number
stringÂ
required
A unique number assigned to the expense credit note invoice.
invoice_amount
integerÂ
required
The total monetary value of the invoice, indicating the amount payable for the purchased goods or services.
payment_status
stringÂ
required
Specifies whether the payment for the transaction is completed or pending, such as Paid = 1, Unpaid = 2, Partially Unpaid = 3.
transaction_type
stringÂ
required
Defines the nature of the transaction, which is a "Expense Cr. Note".
date
stringÂ
required
The date when the transaction took place, formatted as "DD-MM-YYYY.