Share via


BillingInvoiceResource.GetTransactions Method

Definition

Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions
  • Operation Id: Transactions_ListByInvoice
  • Default Api Version: 2024-04-01
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData> GetTransactions (Azure.ResourceManager.Billing.Models.BillingInvoiceResourceGetTransactionsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTransactions : Azure.ResourceManager.Billing.Models.BillingInvoiceResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
override this.GetTransactions : Azure.ResourceManager.Billing.Models.BillingInvoiceResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
Public Overridable Function GetTransactions (options As BillingInvoiceResourceGetTransactionsOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingTransactionData)

Parameters

options
BillingInvoiceResourceGetTransactionsOptions

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

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

Applies to