Share via


IInvoiceCollection.Query(IQuery) Method

Definition

Queries invoices associated to the partner.

public Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Invoices.Invoice> Query (Microsoft.Store.PartnerCenter.Models.Query.IQuery query);
abstract member Query : Microsoft.Store.PartnerCenter.Models.Query.IQuery -> Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Invoices.Invoice>
Public Function Query (query As IQuery) As ResourceCollection(Of Invoice)

Parameters

query
IQuery

The invoice query. The QueryFactory can be used to build queries. Invoice queries support simple and indexed queries. You can retrieve subsets of invoices by providing an indexed query and specifying the index to start from and the page size to retrieve. You can also filter invoices using their dates. InvoiceSearchField lists the supported search fields. You can use the FieldFilterOperation enumeration to specify filtering operations. Supported filtering operations are: greater than, greater than or equals, less than, less than or equals, equals, and not equals. You can also compose compound filters that use the AND and OR field filter operations to retrieve a specific invoice subset.

Returns

The invoices that match the given query.

Applies to