InvoicesClient Interface

public interface InvoicesClient

An instance of this class provides access to all the operations defined in InvoicesClient.

Method Summary

Modifier and Type Method and Description
abstract void amend(String billingAccountName, String invoiceName)

Regenerate an invoice by billing account name and invoice name.

abstract void amend(String billingAccountName, String invoiceName, Context context)

Regenerate an invoice by billing account name and invoice name.

abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName)

Regenerate an invoice by billing account name and invoice name.

abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName, Context context)

Regenerate an invoice by billing account name and invoice name.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download an invoice document.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)

Gets a URL to download an invoice document.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName)

Gets a URL to download an invoice by billing subscription.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName, String documentName, Context context)

Gets a URL to download an invoice by billing subscription.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download the summary document for an invoice.

abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)

Gets a URL to download the summary document for an invoice.

abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download an invoice document.

abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)

Gets a URL to download an invoice document.

abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName)

Gets a URL to download an invoice by billing subscription.

abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName, String documentName, Context context)

Gets a URL to download an invoice by billing subscription.

abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download the summary document for an invoice.

abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)

Gets a URL to download the summary document for an invoice.

abstract InvoiceInner get(String invoiceName)

Gets an invoice by ID.

abstract InvoiceInner getByBillingAccount(String billingAccountName, String invoiceName)

Gets an invoice by billing account name and ID.

abstract Response<InvoiceInner> getByBillingAccountWithResponse(String billingAccountName, String invoiceName, Context context)

Gets an invoice by billing account name and ID.

abstract InvoiceInner getByBillingSubscription(String invoiceName)

Gets an invoice by subscription ID and invoice ID.

abstract Response<InvoiceInner> getByBillingSubscriptionWithResponse(String invoiceName, Context context)

Gets an invoice by subscription ID and invoice ID.

abstract Response<InvoiceInner> getWithResponse(String invoiceName, Context context)

Gets an invoice by ID.

abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName)

Lists the invoices for a billing account for a given start date and end date.

abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a billing account for a given start date and end date.

abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName)

Lists the invoices for a billing profile for a given start date and end date.

abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a billing profile for a given start date and end date.

abstract PagedIterable<InvoiceInner> listByBillingSubscription()

Lists the invoices for a subscription.

abstract PagedIterable<InvoiceInner> listByBillingSubscription(LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a subscription.

Method Details

amend

public abstract void amend(String billingAccountName, String invoiceName)

Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

amend

public abstract void amend(String billingAccountName, String invoiceName, Context context)

Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

beginAmend

public abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName)

Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginAmend

public abstract SyncPoller<PollResult<Void>,Void> beginAmend(String billingAccountName, String invoiceName, Context context)

Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDownloadByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

the SyncPoller<T,U> for polling of a URL to download an invoice document.

beginDownloadByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)

Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
documentName - The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a URL to download an invoice document.

beginDownloadByBillingSubscription

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName)

Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.

Returns:

the SyncPoller<T,U> for polling of a URL to download an invoice by billing subscription.

beginDownloadByBillingSubscription

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadByBillingSubscription(String invoiceName, String documentName, Context context)

Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.
documentName - The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a URL to download an invoice by billing subscription.

beginDownloadDocumentsByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
parameters - A list of download details for individual documents.

Returns:

the SyncPoller<T,U> for polling of a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

beginDownloadDocumentsByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
parameters - A list of download details for individual documents.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

beginDownloadDocumentsByBillingSubscription

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

parameters - A list of download details for individual documents.

Returns:

the SyncPoller<T,U> for polling of a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

beginDownloadDocumentsByBillingSubscription

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

parameters - A list of download details for individual documents.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

beginDownloadSummaryByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

the SyncPoller<T,U> for polling of a URL to download the summary document for an invoice.

beginDownloadSummaryByBillingAccount

public abstract SyncPoller<PollResult<DocumentDownloadResultInner>,DocumentDownloadResultInner> beginDownloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)

Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a URL to download the summary document for an invoice.

downloadByBillingAccount

public abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

a URL to download an invoice document.

downloadByBillingAccount

public abstract DocumentDownloadResultInner downloadByBillingAccount(String billingAccountName, String invoiceName, String documentName, Context context)

Gets a URL to download an invoice document. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
documentName - The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.
context - The context to associate with this operation.

Returns:

a URL to download an invoice document.

downloadByBillingSubscription

public abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName)

Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.

Returns:

a URL to download an invoice by billing subscription.

downloadByBillingSubscription

public abstract DocumentDownloadResultInner downloadByBillingSubscription(String invoiceName, String documentName, Context context)

Gets a URL to download an invoice by billing subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.
documentName - The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt.
context - The context to associate with this operation.

Returns:

a URL to download an invoice by billing subscription.

downloadDocumentsByBillingAccount

public abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
parameters - A list of download details for individual documents.

Returns:

a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

downloadDocumentsByBillingAccount

public abstract DocumentDownloadResultInner downloadDocumentsByBillingAccount(String billingAccountName, List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
parameters - A list of download details for individual documents.
context - The context to associate with this operation.

Returns:

a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

downloadDocumentsByBillingSubscription

public abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

parameters - A list of download details for individual documents.

Returns:

a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

downloadDocumentsByBillingSubscription

public abstract DocumentDownloadResultInner downloadDocumentsByBillingSubscription(List<DocumentDownloadRequest> parameters, Context context)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

parameters - A list of download details for individual documents.
context - The context to associate with this operation.

Returns:

a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

downloadSummaryByBillingAccount

public abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName)

Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

a URL to download the summary document for an invoice.

downloadSummaryByBillingAccount

public abstract DocumentDownloadResultInner downloadSummaryByBillingAccount(String billingAccountName, String invoiceName, Context context)

Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

a URL to download the summary document for an invoice.

get

public abstract InvoiceInner get(String invoiceName)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.

Returns:

an invoice by ID.

getByBillingAccount

public abstract InvoiceInner getByBillingAccount(String billingAccountName, String invoiceName)

Gets an invoice by billing account name and ID. The operation is supported for all billing account types.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.

Returns:

an invoice by billing account name and ID.

getByBillingAccountWithResponse

public abstract Response<InvoiceInner> getByBillingAccountWithResponse(String billingAccountName, String invoiceName, Context context)

Gets an invoice by billing account name and ID. The operation is supported for all billing account types.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

an invoice by billing account name and ID along with Response<T>.

getByBillingSubscription

public abstract InvoiceInner getByBillingSubscription(String invoiceName)

Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.

Returns:

an invoice by subscription ID and invoice ID.

getByBillingSubscriptionWithResponse

public abstract Response<InvoiceInner> getByBillingSubscriptionWithResponse(String invoiceName, Context context)

Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

an invoice by subscription ID and invoice ID along with Response<T>.

getWithResponse

public abstract Response<InvoiceInner> getWithResponse(String invoiceName, Context context)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

invoiceName - The ID that uniquely identifies an invoice.
context - The context to associate with this operation.

Returns:

an invoice by ID along with Response<T>.

listByBillingAccount

public abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName)

Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<InvoiceInner> listByBillingAccount(String billingAccountName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
periodStartDate - The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
periodEndDate - The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName)

Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<InvoiceInner> listByBillingProfile(String billingAccountName, String billingProfileName, LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
billingProfileName - The ID that uniquely identifies a billing profile.
periodStartDate - The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
periodEndDate - The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingSubscription

public abstract PagedIterable<InvoiceInner> listByBillingSubscription()

Lists the invoices for a subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

listByBillingSubscription

public abstract PagedIterable<InvoiceInner> listByBillingSubscription(LocalDate periodStartDate, LocalDate periodEndDate, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)

Lists the invoices for a subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

Parameters:

periodStartDate - The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
periodEndDate - The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
top - The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50.
skip - The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
count - The count query option allows clients to request a count of the matching resources included with the resources in the response.
search - The search query option allows clients to request items within a collection matching a free-text search expression. search is only supported for string fields.
context - The context to associate with this operation.

Returns:

a container for a list of resources as paginated response with PagedIterable<T>.

Applies to