Invoices - List By Billing Subscription
Mencantumkan faktur untuk langganan.
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/invoices?periodStartDate={periodStartDate}&periodEndDate={periodEndDate}&api-version=2019-10-01-preview
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
billing
|
path | True |
|
ID yang secara unik mengidentifikasi akun penagihan. |
|
billing
|
path | True |
|
ID yang secara unik mengidentifikasi langganan. |
|
api-version
|
query | True |
|
Versi API yang akan digunakan dengan permintaan klien. Versi saat ini adalah 2019-10-01-preview. |
|
period
|
query | True |
|
Tanggal selesai periode faktur. |
|
period
|
query | True |
|
Tanggal mulai periode faktur. |
Respons
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK. Permintaan telah berhasil. |
|
| Other Status Codes |
Respons kesalahan yang menjelaskan mengapa operasi gagal. |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
BillingSubscriptionsListByBillingAccount
Sample Request
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/invoices?periodStartDate=2018-01-01&periodEndDate=2018-06-30&api-version=2019-10-01-preview
Sample Response
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/11000000-0000-0000-0000-000000000000/invoices/1383723",
"name": "1383723",
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions/invoices",
"properties": {
"dueDate": "2018-01-16T17:32:28Z",
"invoiceDate": "2018-01-01T17:32:28Z",
"status": "Due",
"amountDue": {
"currency": "USD",
"value": 2000
},
"invoicePeriodStartDate": "2018-01-01T17:32:28Z",
"invoicePeriodEndDate": "2018-01-15T17:32:28Z",
"invoiceType": "AzureServices",
"purchaseOrderNumber": "123456",
"subscriptionId": "55000000-0000-0000-0000-000000000011"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/11000000-0000-0000-0000-000000000000/invoices/1383724",
"name": "1383724",
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions/invoices",
"properties": {
"dueDate": "2018-03-01T17:32:28Z",
"invoiceDate": "2018-02-01T17:32:28Z",
"status": "Paid",
"amountDue": {
"currency": "USD",
"value": 2000
},
"billedAmount": {
"currency": "USD",
"value": 2000
},
"invoicePeriodStartDate": "2018-02-01T17:32:28Z",
"invoicePeriodEndDate": "2018-02-30T17:32:28Z",
"invoiceType": "AzureMarketplace",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/11000000-0000-0000-0000-000000000000",
"billingProfileDisplayName": "Contoso Operations Billing",
"purchaseOrderNumber": "123456",
"documents": [
{
"kind": "Invoice",
"url": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/11000000-0000-0000-0000-000000000000/invoices/1383724/download"
}
],
"payments": [
{
"date": "2018-01-14T17:32:28Z",
"paymentType": "credited",
"amount": {
"currency": "USD",
"value": 2000
},
"paymentMethodFamily": "CreditCard",
"paymentMethodType": "visa"
}
],
"subscriptionId": "55000000-0000-0000-0000-000000000011"
}
}
]
}
Definisi
| Amount |
Jumlahnya. |
| Document |
Properti dokumen. |
|
Document |
Jenis dokumen. |
|
Error |
Detail kesalahan. |
|
Error |
Respons kesalahan menunjukkan bahwa layanan tidak dapat memproses permintaan masuk. Alasannya disediakan dalam pesan kesalahan. |
|
Error |
|
| Invoice |
Faktur. |
|
Invoice |
Daftar faktur. |
|
Invoice |
Status faktur saat ini. |
|
Invoice |
Jenis faktur. |
|
Payment |
Keluarga metode pembayaran. |
|
Payment |
Properti pembayaran. |
|
rebill |
Jenis dokumen yang dihasilkan saat faktur Perjanjian Enterprise ditagih ulang. |
Amount
Jumlahnya.
| Name | Type | Description |
|---|---|---|
| currency |
|
Mata uang untuk nilai jumlah. |
| value |
|
Nilai jumlah. |
Document
Properti dokumen.
| Name | Type | Description |
|---|---|---|
| documentNumbers |
|
Nomor dokumen untuk faktur Perjanjian Enterprise. |
| kind |
Jenis dokumen. |
|
| url |
|
URL Dokumen. |
DocumentType
Jenis dokumen.
| Name | Type | Description |
|---|---|---|
| CreditNote |
|
|
| Invoice |
|
|
| TaxReceipt |
|
|
| VoidNote |
|
ErrorDetails
Detail kesalahan.
| Name | Type | Description |
|---|---|---|
| code |
|
Kode Kesalahan. |
| details |
Subdetail kesalahan. |
|
| message |
|
Pesan kesalahan yang menunjukkan mengapa operasi gagal. |
| target |
|
Target kesalahan tertentu. |
ErrorResponse
Respons kesalahan menunjukkan bahwa layanan tidak dapat memproses permintaan masuk. Alasannya disediakan dalam pesan kesalahan.
| Name | Type | Description |
|---|---|---|
| error |
Detail kesalahan. |
ErrorSubDetails
| Name | Type | Description |
|---|---|---|
| code |
|
Kode Kesalahan. |
| message |
|
Pesan kesalahan yang menunjukkan mengapa operasi gagal. |
| target |
|
Target kesalahan tertentu. |
Invoice
Faktur.
| Name | Type | Description |
|---|---|---|
| id |
|
Id Sumber Daya. |
| name |
|
Nama sumber daya. |
| properties.amountDue |
Jumlah yang jatuh tempo sampai sekarang. |
|
| properties.azurePrepaymentApplied |
Jumlah prabayar Azure yang diterapkan pada biaya. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| properties.billedAmount |
Total biaya untuk periode penagihan faktur. |
|
| properties.billingProfileDisplayName |
|
Nama profil penagihan tempat faktur dibuat. |
| properties.billingProfileId |
|
ID profil penagihan tempat faktur dibuat. |
| properties.creditAmount |
Total pengembalian dana untuk pengembalian dan pembatalan selama periode penagihan faktur. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| properties.documents |
|
Daftar dokumen yang tersedia untuk diunduh seperti faktur dan tanda terima pajak. |
| properties.dueDate |
|
Tanggal jatuh tempo untuk faktur. |
| properties.freeAzureCreditApplied |
Jumlah kredit Azure gratis yang diterapkan pada biaya. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| properties.invoiceDate |
|
Tanggal saat faktur dibuat. |
| properties.invoicePeriodEndDate |
|
Tanggal akhir periode penagihan tempat faktur dibuat. |
| properties.invoicePeriodStartDate |
|
Tanggal mulai periode penagihan tempat faktur dibuat. |
| properties.invoiceType |
Jenis faktur. |
|
| properties.isMonthlyInvoice |
|
Menentukan apakah faktur dihasilkan sebagai bagian dari siklus faktur bulanan atau tidak. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
| properties.payments |
Daftar pembayaran. |
|
| properties.purchaseOrderNumber |
|
Nomor pesanan pembelian opsional untuk faktur. |
| properties.rebillDetails.latestInvoiceId |
|
ID faktur terbaru yang dihasilkan saat faktur Perjanjian Enterprise ditagih ulang. |
| properties.rebillDetails.rebillDocumentType |
Jenis dokumen yang dihasilkan saat faktur Perjanjian Enterprise ditagih ulang. |
|
| properties.rebillDetails.rebilledInvoiceId |
|
ID faktur yang dihasilkan saat faktur Perjanjian Enterprise ditagih ulang. |
| properties.status |
Status faktur saat ini. |
|
| properties.subTotal |
Jumlah pra-pajak jatuh tempo. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| properties.subscriptionId |
|
ID langganan tempat faktur dibuat. |
| properties.taxAmount |
Jumlah pajak yang dikenakan untuk periode penagihan. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| properties.totalAmount |
Jumlah yang jatuh tempo saat faktur dibuat. Bidang ini berlaku untuk akun penagihan dengan jenis perjanjian Perjanjian Pelanggan Microsoft. |
|
| type |
|
Jenis sumber daya |
InvoiceListResult
Daftar faktur.
| Name | Type | Description |
|---|---|---|
| nextLink |
|
Tautan (url) ke halaman hasil berikutnya. |
| totalCount |
|
Jumlah total rekaman. |
| value |
|
Daftar faktur. |
InvoiceStatus
Status faktur saat ini.
| Name | Type | Description |
|---|---|---|
| Due |
|
|
| OverDue |
|
|
| Paid |
|
|
| Void |
|
InvoiceType
Jenis faktur.
| Name | Type | Description |
|---|---|---|
| AzureMarketplace |
|
|
| AzureService |
|
|
| AzureSupport |
|
PaymentMethodFamily
Keluarga metode pembayaran.
| Name | Type | Description |
|---|---|---|
| CheckWire |
|
|
| CreditCard |
|
|
| Credits |
|
|
| None |
|
PaymentProperties
Properti pembayaran.
| Name | Type | Description |
|---|---|---|
| amount |
Jumlah yang dibayarkan. |
|
| date |
|
Tanggal pembayaran dilakukan. |
| paymentMethodFamily |
Keluarga metode pembayaran. |
|
| paymentMethodType |
|
Jenis metode pembayaran. |
| paymentType |
|
Jenis pembayaran. |
rebillDocumentType
Jenis dokumen yang dihasilkan saat faktur Perjanjian Enterprise ditagih ulang.
| Name | Type | Description |
|---|---|---|
| Credit |
|
|
| Original |
|
|
| Rebill |
|