Authenticates the request and retrieves invoice data for a specified company, applying filters and pagination as specified in the request parameters. Returns: Tuple containing: - A dictionary with the fetched invoices and pagination details. - HTTP status code 200.
Auth key for fetching ledger entries
list of invoice statuses to filter by
list of payment statuses to filter by
list of invoice acceptance statuses to filter by
list of tag key-value pair to filter by
List of customer IDs
List of owner IDs
List of buyer IDs
Invoices support sorting by invoice date. Passing 'invoiceDate' sorts ascending. To reverse the order, prefix with a hyphen.
invoiceDate, -invoiceDate Amount type filter
TOTAL, OUTSTANDING, PAID, ADJUSTED Minimum amount of the invoice amount type
Maximum amount of the invoice amount type
DateType type filter
INVOICE_DATE, DUE_DATE, PROMISE_TO_PAY_DATE start date of the invoice for date type
end date of the invoice for date type
page number of result to be fetched
number of entries per page
should return invoices that have non zero amount type
invoice number
invoice ids
should return invoices that have attachments (true/false)
attachment purpose to search by (based on hasAttachment)
Currencies
Success
The response is of type object.