你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Invoices interface

表示发票的接口。

方法

beginAmend(string, string, InvoicesAmendOptionalParams)

通过计费帐户名称和发票名称重新生成发票。 对于协议类型Microsoft客户协议的计费帐户,支持此作。

beginAmendAndWait(string, string, InvoicesAmendOptionalParams)

通过计费帐户名称和发票名称重新生成发票。 对于协议类型Microsoft客户协议的计费帐户,支持此作。

beginDownloadByBillingAccount(string, string, InvoicesDownloadByBillingAccountOptionalParams)

获取用于下载发票文档的 URL。 对于协议类型Microsoft合作伙伴协议、Microsoft客户协议或企业协议的计费帐户,支持此作。

beginDownloadByBillingAccountAndWait(string, string, InvoicesDownloadByBillingAccountOptionalParams)

获取用于下载发票文档的 URL。 对于协议类型Microsoft合作伙伴协议、Microsoft客户协议或企业协议的计费帐户,支持此作。

beginDownloadByBillingSubscription(string, InvoicesDownloadByBillingSubscriptionOptionalParams)

获取按计费订阅下载发票的 URL。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadByBillingSubscriptionAndWait(string, InvoicesDownloadByBillingSubscriptionOptionalParams)

获取按计费订阅下载发票的 URL。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadDocumentsByBillingAccount(string, DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingAccountOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadDocumentsByBillingAccountAndWait(string, DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingAccountOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadDocumentsByBillingSubscription(DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadDocumentsByBillingSubscriptionAndWait(DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

beginDownloadSummaryByBillingAccount(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)

获取用于下载发票摘要文档的 URL。 协议类型为企业协议的计费帐户支持此作。

beginDownloadSummaryByBillingAccountAndWait(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)

获取用于下载发票摘要文档的 URL。 协议类型为企业协议的计费帐户支持此作。

get(string, InvoicesGetOptionalParams)

按 ID 获取发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

getByBillingAccount(string, string, InvoicesGetByBillingAccountOptionalParams)

按计费帐户名称和 ID 获取发票。 所有计费帐户类型都支持该作。

getByBillingSubscription(string, InvoicesGetByBillingSubscriptionOptionalParams)

按订阅 ID 和发票 ID 获取发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

listByBillingAccount(string, InvoicesListByBillingAccountOptionalParams)

列出给定开始日期和结束日期的计费帐户的发票。 所有计费帐户类型都支持该作。

listByBillingProfile(string, string, InvoicesListByBillingProfileOptionalParams)

列出给定开始日期和结束日期的计费配置文件的发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

listByBillingSubscription(InvoicesListByBillingSubscriptionOptionalParams)

列出订阅的发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

方法详细信息

beginAmend(string, string, InvoicesAmendOptionalParams)

通过计费帐户名称和发票名称重新生成发票。 对于协议类型Microsoft客户协议的计费帐户,支持此作。

function beginAmend(billingAccountName: string, invoiceName: string, options?: InvoicesAmendOptionalParams): Promise<SimplePollerLike<OperationState<InvoicesAmendHeaders>, InvoicesAmendHeaders>>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

options
InvoicesAmendOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<InvoicesAmendHeaders>, InvoicesAmendHeaders>>

beginAmendAndWait(string, string, InvoicesAmendOptionalParams)

通过计费帐户名称和发票名称重新生成发票。 对于协议类型Microsoft客户协议的计费帐户,支持此作。

function beginAmendAndWait(billingAccountName: string, invoiceName: string, options?: InvoicesAmendOptionalParams): Promise<InvoicesAmendHeaders>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

options
InvoicesAmendOptionalParams

选项参数。

返回

beginDownloadByBillingAccount(string, string, InvoicesDownloadByBillingAccountOptionalParams)

获取用于下载发票文档的 URL。 对于协议类型Microsoft合作伙伴协议、Microsoft客户协议或企业协议的计费帐户,支持此作。

function beginDownloadByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

beginDownloadByBillingAccountAndWait(string, string, InvoicesDownloadByBillingAccountOptionalParams)

获取用于下载发票文档的 URL。 对于协议类型Microsoft合作伙伴协议、Microsoft客户协议或企业协议的计费帐户,支持此作。

function beginDownloadByBillingAccountAndWait(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadByBillingAccountOptionalParams): Promise<DocumentDownloadResult>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

返回

beginDownloadByBillingSubscription(string, InvoicesDownloadByBillingSubscriptionOptionalParams)

获取按计费订阅下载发票的 URL。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadByBillingSubscription(invoiceName: string, options?: InvoicesDownloadByBillingSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

参数

invoiceName

string

唯一标识发票的 ID。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

beginDownloadByBillingSubscriptionAndWait(string, InvoicesDownloadByBillingSubscriptionOptionalParams)

获取按计费订阅下载发票的 URL。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadByBillingSubscriptionAndWait(invoiceName: string, options?: InvoicesDownloadByBillingSubscriptionOptionalParams): Promise<DocumentDownloadResult>

参数

invoiceName

string

唯一标识发票的 ID。

返回

beginDownloadDocumentsByBillingAccount(string, DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingAccountOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadDocumentsByBillingAccount(billingAccountName: string, parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

parameters

DocumentDownloadRequest[]

单个文档的下载详细信息列表。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

beginDownloadDocumentsByBillingAccountAndWait(string, DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingAccountOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadDocumentsByBillingAccountAndWait(billingAccountName: string, parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingAccountOptionalParams): Promise<DocumentDownloadResult>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

parameters

DocumentDownloadRequest[]

单个文档的下载详细信息列表。

返回

beginDownloadDocumentsByBillingSubscription(DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadDocumentsByBillingSubscription(parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

参数

parameters

DocumentDownloadRequest[]

单个文档的下载详细信息列表。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

beginDownloadDocumentsByBillingSubscriptionAndWait(DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams)

获取一个 URL,用于下载多个发票文档(发票 pdf、税务收据、信用单)作为 zip 文件。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function beginDownloadDocumentsByBillingSubscriptionAndWait(parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams): Promise<DocumentDownloadResult>

参数

parameters

DocumentDownloadRequest[]

单个文档的下载详细信息列表。

返回

beginDownloadSummaryByBillingAccount(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)

获取用于下载发票摘要文档的 URL。 协议类型为企业协议的计费帐户支持此作。

function beginDownloadSummaryByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadSummaryByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>

beginDownloadSummaryByBillingAccountAndWait(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)

获取用于下载发票摘要文档的 URL。 协议类型为企业协议的计费帐户支持此作。

function beginDownloadSummaryByBillingAccountAndWait(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadSummaryByBillingAccountOptionalParams): Promise<DocumentDownloadResult>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

返回

get(string, InvoicesGetOptionalParams)

按 ID 获取发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function get(invoiceName: string, options?: InvoicesGetOptionalParams): Promise<Invoice>

参数

invoiceName

string

唯一标识发票的 ID。

options
InvoicesGetOptionalParams

选项参数。

返回

Promise<Invoice>

getByBillingAccount(string, string, InvoicesGetByBillingAccountOptionalParams)

按计费帐户名称和 ID 获取发票。 所有计费帐户类型都支持该作。

function getByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesGetByBillingAccountOptionalParams): Promise<Invoice>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

invoiceName

string

唯一标识发票的 ID。

返回

Promise<Invoice>

getByBillingSubscription(string, InvoicesGetByBillingSubscriptionOptionalParams)

按订阅 ID 和发票 ID 获取发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function getByBillingSubscription(invoiceName: string, options?: InvoicesGetByBillingSubscriptionOptionalParams): Promise<Invoice>

参数

invoiceName

string

唯一标识发票的 ID。

返回

Promise<Invoice>

listByBillingAccount(string, InvoicesListByBillingAccountOptionalParams)

列出给定开始日期和结束日期的计费帐户的发票。 所有计费帐户类型都支持该作。

function listByBillingAccount(billingAccountName: string, options?: InvoicesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

返回

listByBillingProfile(string, string, InvoicesListByBillingProfileOptionalParams)

列出给定开始日期和结束日期的计费配置文件的发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InvoicesListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>

参数

billingAccountName

string

唯一标识计费帐户的 ID。

billingProfileName

string

唯一标识计费配置文件的 ID。

返回

listByBillingSubscription(InvoicesListByBillingSubscriptionOptionalParams)

列出订阅的发票。 对于协议类型Microsoft合作伙伴协议或Microsoft客户协议的计费帐户,支持此作。

function listByBillingSubscription(options?: InvoicesListByBillingSubscriptionOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>

参数

返回