import type * as Square from "../../../../index"; /** * @example * { * query: { * filter: { * locationIds: ["ES0RJRZYEC39A"], * customerIds: ["JDKYHBWT1D4F8MFH63DBMEN8Y4"] * }, * sort: { * field: "INVOICE_SORT_DATE", * order: "DESC" * } * }, * limit: 100 * } */ export interface SearchInvoicesRequest { /** Describes the query criteria for searching invoices. */ query: Square.InvoiceQuery; /** * The maximum number of invoices to return (200 is the maximum `limit`). * If not provided, the server uses a default limit of 100 invoices. */ limit?: number; /** * A pagination cursor returned by a previous call to this endpoint. * Provide this cursor to retrieve the next set of results for your original query. * * For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). */ cursor?: string; }