Filter Invoices
Authenticates the request and retrieves invoice data for the company associated with the signature, applying filters and pagination from the query string.
Behavior change: the default response now includes DRAFT, FINALIZED, and VOIDED
invoices. Previously only FINALIZED invoices were returned. Pass
lifecycleStatuses=FINALIZED to restore the old behavior.
Headers
Auth key for fetching ledger entries
Query Parameters
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
Field that startDate / endDate apply to.
CREATED_AT filters by when the invoice was created in Valyx, UPDATED_AT by when it was last modified.
For CREATED_AT / UPDATED_AT the end-date comparison is performed on DATE(column), so the full
end day is included; the other date types compare against the date column directly.
INVOICE_DATE, DUE_DATE, PROMISE_TO_PAY_DATE, CREATED_AT, UPDATED_AT Start date for the selected dateType. Pass as YYYY-MM-DD.
End date for the selected dateType. Pass as YYYY-MM-DD.
Filter invoices by where they originated. Repeat the param to pass multiple values
(e.g. ?originSource=VALYX&originSource=ZOHO). Matches the invoiceOriginSource value
stored on the invoice-extra row.
ZOHO, IRECKONER, BOLTIC, VALYX, OTHER Filter invoices by lifecycle status. Repeat the param to pass multiple values
(e.g. ?lifecycleStatuses=FINALIZED&lifecycleStatuses=DRAFT).
Default behavior change: by default the response now includes DRAFT, FINALIZED, and
VOIDED invoices (previously DRAFT and VOIDED were excluded). Callers that need only
finalized invoices must pass lifecycleStatuses=FINALIZED explicitly.
DELETED is accepted by the parser but yields no results — deleted invoices are always
excluded from this endpoint.
DRAFT, FINALIZED, VOIDED, DELETED 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