Share via


BillingInvoiceSectionResource.GetTransactionsAsync Method

Definition

Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transactions
  • Operation Id: Transactions_ListByInvoiceSection
  • Default Api Version: 2024-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransactionData> GetTransactionsAsync (Azure.ResourceManager.Billing.Models.BillingInvoiceSectionResourceGetTransactionsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTransactionsAsync : Azure.ResourceManager.Billing.Models.BillingInvoiceSectionResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
override this.GetTransactionsAsync : Azure.ResourceManager.Billing.Models.BillingInvoiceSectionResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
Public Overridable Function GetTransactionsAsync (options As BillingInvoiceSectionResourceGetTransactionsOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingTransactionData)

Parameters

options
BillingInvoiceSectionResourceGetTransactionsOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BillingTransactionData that may take multiple service requests to iterate over.

Exceptions

options is null.

Applies to