共用方式為


BillingAccountResource.DownloadDocumentsByBillingAccountInvoice Method

Definition

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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/downloadDocuments
  • Operation Id: Invoices_DownloadDocumentsByBillingAccount
  • Default Api Version: 2024-04-01
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult> DownloadDocumentsByBillingAccountInvoice (Azure.WaitUntil waitUntil, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadRequestContent> arrayOfDocumentDownloadRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadDocumentsByBillingAccountInvoice : Azure.WaitUntil * seq<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadRequestContent> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
override this.DownloadDocumentsByBillingAccountInvoice : Azure.WaitUntil * seq<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadRequestContent> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult>
Public Overridable Function DownloadDocumentsByBillingAccountInvoice (waitUntil As WaitUntil, arrayOfDocumentDownloadRequest As IEnumerable(Of BillingDocumentDownloadRequestContent), Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of BillingDocumentDownloadResult)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

arrayOfDocumentDownloadRequest
IEnumerable<BillingDocumentDownloadRequestContent>

A list of download details for individual documents.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

arrayOfDocumentDownloadRequest is null.

Applies to