Search for invoices with search criteria and retrieve a paged list of invoices.
Valid filters are:
All valid parameters of /invoice/list
Filters specific to /invoice/search as detailed below. TODO
Pagination has the defaults as specified in its schema, but 'pagination' is an optional search request attribute!
Filters can have three items that apply to pagination (Supported by /invoice/list and factored in for compatibility):
The precedence of these filter items and pagination attributes are as follows:
No attributes from either set provided: Pagination defaults apply
No Pagination and some 'pagination' filters: Pagination defaults with overrides as follows when applicable:
PageNumber: offset / ItemsPerPage
TotalItems: limit if ignoreLimit==false else ItemsPerPage
Pagination provided: limit filters are completely ignored
NOTE: The following pattern in the request body/shape constitutes a request for "the default Pagination settings"
and will cause 'limit' filters to be IGNORED because you are providing explicit Pagination:
Valid parameters of /invoice/list
Include voided invoices: