Invoices interface
表示發票的介面。
方法
方法詳細資料
beginAmend(string, string, InvoicesAmendOptionalParams)
依計費帳戶名稱和發票名稱重新產生發票。 合約類型Microsoft客戶合約的計費帳戶支援此作業。
function beginAmend(billingAccountName: string, invoiceName: string, options?: InvoicesAmendOptionalParams): Promise<SimplePollerLike<OperationState<InvoicesAmendHeaders>, InvoicesAmendHeaders>>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
- 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
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
- options
- InvoicesAmendOptionalParams
選項參數。
傳回
Promise<InvoicesAmendHeaders>
beginDownloadByBillingAccount(string, string, InvoicesDownloadByBillingAccountOptionalParams)
取得下載發票檔的 URL。 合約類型Microsoft合作夥伴合約、Microsoft客戶合約或 Enterprise 合約的計費帳戶支援此作業。
function beginDownloadByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
beginDownloadByBillingAccountAndWait(string, string, InvoicesDownloadByBillingAccountOptionalParams)
取得下載發票檔的 URL。 合約類型Microsoft合作夥伴合約、Microsoft客戶合約或 Enterprise 合約的計費帳戶支援此作業。
function beginDownloadByBillingAccountAndWait(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadByBillingAccountOptionalParams): Promise<DocumentDownloadResult>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<DocumentDownloadResult>
beginDownloadByBillingSubscription(string, InvoicesDownloadByBillingSubscriptionOptionalParams)
取得 URL,以依計費訂用帳戶下載發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function beginDownloadByBillingSubscription(invoiceName: string, options?: InvoicesDownloadByBillingSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
beginDownloadByBillingSubscriptionAndWait(string, InvoicesDownloadByBillingSubscriptionOptionalParams)
取得 URL,以依計費訂用帳戶下載發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function beginDownloadByBillingSubscriptionAndWait(invoiceName: string, options?: InvoicesDownloadByBillingSubscriptionOptionalParams): Promise<DocumentDownloadResult>
參數
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<DocumentDownloadResult>
beginDownloadDocumentsByBillingAccount(string, DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingAccountOptionalParams)
取得 URL,以下載多個發票檔(發票 pdf、稅務收據、信用票據)作為 zip 檔案。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function beginDownloadDocumentsByBillingAccount(billingAccountName: string, parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- parameters
個別檔的下載詳細數據清單。
選項參數。
傳回
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
可唯一識別計費帳戶的標識碼。
- parameters
個別檔的下載詳細數據清單。
選項參數。
傳回
Promise<DocumentDownloadResult>
beginDownloadDocumentsByBillingSubscription(DocumentDownloadRequest[], InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams)
取得 URL,以下載多個發票檔(發票 pdf、稅務收據、信用票據)作為 zip 檔案。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function beginDownloadDocumentsByBillingSubscription(parameters: DocumentDownloadRequest[], options?: InvoicesDownloadDocumentsByBillingSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- parameters
個別檔的下載詳細數據清單。
傳回
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
個別檔的下載詳細數據清單。
傳回
Promise<DocumentDownloadResult>
beginDownloadSummaryByBillingAccount(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)
取得 URL 以下載發票的摘要檔。 合約類型為 Enterprise 合約的計費帳戶支援此作業。
function beginDownloadSummaryByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadSummaryByBillingAccountOptionalParams): Promise<SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DocumentDownloadResult>, DocumentDownloadResult>>
beginDownloadSummaryByBillingAccountAndWait(string, string, InvoicesDownloadSummaryByBillingAccountOptionalParams)
取得 URL 以下載發票的摘要檔。 合約類型為 Enterprise 合約的計費帳戶支援此作業。
function beginDownloadSummaryByBillingAccountAndWait(billingAccountName: string, invoiceName: string, options?: InvoicesDownloadSummaryByBillingAccountOptionalParams): Promise<DocumentDownloadResult>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<DocumentDownloadResult>
get(string, InvoicesGetOptionalParams)
依標識碼取得發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function get(invoiceName: string, options?: InvoicesGetOptionalParams): Promise<Invoice>
參數
- invoiceName
-
string
可唯一識別發票的標識碼。
- options
- InvoicesGetOptionalParams
選項參數。
傳回
Promise<Invoice>
getByBillingAccount(string, string, InvoicesGetByBillingAccountOptionalParams)
依計費帳戶名稱和標識碼取得發票。 所有計費帳戶類型都支援此作業。
function getByBillingAccount(billingAccountName: string, invoiceName: string, options?: InvoicesGetByBillingAccountOptionalParams): Promise<Invoice>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<Invoice>
getByBillingSubscription(string, InvoicesGetByBillingSubscriptionOptionalParams)
依訂用帳戶標識碼和發票標識碼取得發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function getByBillingSubscription(invoiceName: string, options?: InvoicesGetByBillingSubscriptionOptionalParams): Promise<Invoice>
參數
- invoiceName
-
string
可唯一識別發票的標識碼。
選項參數。
傳回
Promise<Invoice>
listByBillingAccount(string, InvoicesListByBillingAccountOptionalParams)
列出指定開始日期和結束日期之計費帳戶的發票。 所有計費帳戶類型都支援此作業。
function listByBillingAccount(billingAccountName: string, options?: InvoicesListByBillingAccountOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
選項參數。
傳回
listByBillingProfile(string, string, InvoicesListByBillingProfileOptionalParams)
列出指定開始日期和結束日期之帳單配置檔的發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function listByBillingProfile(billingAccountName: string, billingProfileName: string, options?: InvoicesListByBillingProfileOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>
參數
- billingAccountName
-
string
可唯一識別計費帳戶的標識碼。
- billingProfileName
-
string
可唯一識別帳單配置檔的標識碼。
選項參數。
傳回
listByBillingSubscription(InvoicesListByBillingSubscriptionOptionalParams)
列出訂用帳戶的發票。 合約類型Microsoft合作夥伴合約或Microsoft客戶合約的計費帳戶支援此作業。
function listByBillingSubscription(options?: InvoicesListByBillingSubscriptionOptionalParams): PagedAsyncIterableIterator<Invoice, Invoice[], PageSettings>
參數
選項參數。