This endpoint allows users to retrieve a list of sale return transactions, filtered by a specified date range and additional criteria. It enables users to fetch records for a particular financial year, and apply filters such as ledger ID and payment status to narrow down the results.
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:
10
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/sale-return-transactions?start_date=01-04-2023&end_date=31-03-2024&party_id=2&status=1&limit=25&skip=10' \
--header'ApiKey;'
Responses
🟢200List of Transactions
application/json
Body
data
array [object {9}]Â
required
transaction_id
integerÂ
required
This field represents a unique numerical identifier assigned to each sale return transaction.
party_name
stringÂ
required
This denotes the name of the customer or business entity that is involved in the sale return transaction.
party_id
integerÂ
required
This is a unique numeric identifier assigned to each party (customer or business entity).
phone_no
stringÂ
required
This field contains the contact number of the party associated with the sale return.
invoice_number
stringÂ
required
This represents the reference number of the original sales invoice for which the goods are being returned.
invoice_amount
numberÂ
required
This field indicates the total monetary value of the sale return transaction.
payment_status
stringÂ
required
This field is meant to capture the status of the payment associated with the sale return.
transaction_type
stringÂ
required
This field defines the nature of the transaction.
date
stringÂ
required
This represents the date on which the sale return transaction was recorded.
success
booleanÂ
required
This field indicates whether the API request was successfully processed.
message
stringÂ
required
Provides a descriptive response from the API regarding the request's outcome.