Transactions - List By Invoice

請求書のトランザクションを一覧表示します。 トランザクションには、購入、払い戻し、Azure の使用料金が含まれます。

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions?api-version=2020-05-01

URI パラメーター

名前 / 必須 説明
billingAccountName
path True

string

課金アカウントを一意に識別する ID。

invoiceName
path True

string

請求書を一意に識別する ID。

api-version
query True

string

クライアント要求で使用される API のバージョン。 現在のバージョンは 2020-05-01 です。

応答

名前 説明
200 OK

TransactionListResult

OK です。 要求は成功しました。

Other Status Codes

ErrorResponse

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

TransactionsListByInvoice

Sample Request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions?api-version=2020-05-01

Sample Response

{
  "value": [
    {
      "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/transactions/41000000-0000-0000-0000-000000000000",
      "name": "41000000-0000-0000-0000-000000000000",
      "type": "Microsoft.Billing/billingAccounts/transactions",
      "properties": {
        "kind": "all",
        "date": "2018-05-01T00:00:00Z",
        "invoice": "2344233",
        "invoiceId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/2344233",
        "productFamily": "Storage",
        "productTypeId": "A12345",
        "productType": "VM Instance",
        "productDescription": "Standard D1, US West 3",
        "transactionType": "Purchase",
        "transactionAmount": {
          "currency": "USD",
          "value": 5000
        },
        "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000",
        "invoiceSectionDisplayName": "Contoso operations invoiceSection",
        "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}",
        "billingProfileDisplayName": "Contoso operations billing",
        "azurePlan": "Microsoft Azure Plan for DevTest",
        "azureCreditApplied": {
          "currency": "USD",
          "value": 2000
        },
        "billingCurrency": "USD",
        "discount": 0.1,
        "effectivePrice": {
          "currency": "USD",
          "value": 10
        },
        "exchangeRate": 1,
        "marketPrice": {
          "currency": "USD",
          "value": 20
        },
        "pricingCurrency": "USD",
        "quantity": 1,
        "servicePeriodStartDate": "2018-05-01T00:00:00Z",
        "servicePeriodEndDate": "2018-09-30T00:00:00Z",
        "subTotal": {
          "currency": "USD",
          "value": 4500
        },
        "tax": {
          "currency": "USD",
          "value": 500
        },
        "unitOfMeasure": "1 Minute",
        "units": 11.25,
        "unitType": "1 Runtime Minute"
      }
    },
    {
      "id": "/providers/Microsoft.Billing/BillingAccounts/{billingAccountName}/transactions/51000000-0000-0000-0000-000000000000",
      "name": "51000000-0000-0000-0000-000000000000",
      "type": "Microsoft.Billing/billingAccounts/transactions",
      "properties": {
        "kind": "all",
        "date": "2018-04-01T00:00:00Z",
        "invoice": "pending",
        "productFamily": "Storage",
        "productTypeId": "A12345",
        "productType": "VM Instance",
        "productDescription": "Standard Support",
        "transactionType": "Cancel",
        "transactionAmount": {
          "currency": "USD",
          "value": 50
        },
        "invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/22000000-0000-0000-0000-000000000000",
        "invoiceSectionDisplayName": "Contoso operations invoiceSection",
        "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}",
        "billingProfileDisplayName": "Contoso operations billing",
        "azurePlan": "Microsoft Azure Plan for DevTest",
        "azureCreditApplied": {
          "currency": "USD",
          "value": 20
        },
        "billingCurrency": "USD",
        "discount": 0.1,
        "effectivePrice": {
          "currency": "USD",
          "value": 10
        },
        "exchangeRate": 1,
        "marketPrice": {
          "currency": "USD",
          "value": 20
        },
        "pricingCurrency": "USD",
        "quantity": 1,
        "servicePeriodStartDate": "2018-05-01T00:00:00Z",
        "servicePeriodEndDate": "2018-09-30T00:00:00Z",
        "subTotal": {
          "currency": "USD",
          "value": 45
        },
        "tax": {
          "currency": "USD",
          "value": 5
        },
        "unitOfMeasure": "1 Minute",
        "units": 1.25,
        "unitType": "1 Runtime Minute"
      }
    }
  ]
}

定義

名前 説明
Amount

金額。

ErrorDetails

エラーの詳細。

ErrorResponse

エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに表示されます。

ErrorSubDetails
ReservationType

トランザクションの種類。

Transaction

トランザクションです。

TransactionListResult

トランザクションの一覧。

TransactionTypeKind

トランザクションの種類。 オプションはすべてまたは予約です。

Amount

金額。

名前 説明
currency

string

金額値の通貨。

value

number

金額の値。

ErrorDetails

エラーの詳細。

名前 説明
code

string

エラー コード。

details

ErrorSubDetails[]

エラーのサブ詳細。

message

string

操作が失敗した理由を示すエラー メッセージ。

target

string

特定のエラーのターゲット。

ErrorResponse

エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに表示されます。

名前 説明
error

ErrorDetails

エラーの詳細。

ErrorSubDetails

名前 説明
code

string

エラー コード。

message

string

操作が失敗した理由を示すエラー メッセージ。

target

string

特定のエラーのターゲット。

ReservationType

トランザクションの種類。

名前 説明
Purchase

string

Usage Charge

string

Transaction

トランザクションです。

名前 説明
id

string

リソース ID。

name

string

リソース名。

properties.azureCreditApplied

Amount

このトランザクションに自動的に適用される Azure クレジットの量。

properties.azurePlan

string

トランザクションに使用されたサブスクリプションの Azure プランの種類。

properties.billingCurrency

string

このトランザクションが請求される通貨の ISO 4217 コード。

properties.billingProfileDisplayName

string

トランザクションに対して課金される課金プロファイルの名前。

properties.billingProfileId

string

トランザクションに対して課金される課金プロファイルの ID。

properties.customerDisplayName

string

トランザクションが実行された顧客の名前。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

properties.customerId

string

トランザクションが行われた顧客の ID。 このフィールドは、Microsoft Partner Agreement課金アカウントにのみ適用されます。

properties.date

string

トランザクションの日付。

properties.discount

number

このトランザクションに適用される割引率 (ある場合)。

properties.effectivePrice

Amount

割引を適用した後の製品の価格。

properties.exchangeRate

number

請求金額を請求通貨に変換するために使用される為替レート (該当する場合)。

properties.invoice

string

トランザクションが課金された請求書。トランザクションが課金されない場合は "保留中" です。

properties.invoiceId

string

トランザクションが請求された請求書の ID。 このフィールドは、課金対象のトランザクションにのみ適用されます。

properties.invoiceSectionDisplayName

string

トランザクションに対して課金される請求書セクションの名前。

properties.invoiceSectionId

string

トランザクションに対して課金される請求書セクションの ID。

properties.kind

TransactionTypeKind

トランザクションの種類。 オプションはすべてまたは予約です。

properties.marketPrice

Amount

製品の小売価格。

properties.orderId

string

予約の注文 ID。 フィールドは、種類の予約のトランザクションにのみ適用されます。

properties.orderName

string

予約注文の名前。 フィールドは、種類の予約のトランザクションにのみ適用されます。

properties.pricingCurrency

string

製品の価格が設定されている通貨の ISO 4217 コード。

properties.productDescription

string

トランザクションが実行された製品の説明。

properties.productFamily

string

トランザクションが行われた製品のファミリ。

properties.productType

string

トランザクションが実行された製品の種類。

properties.productTypeId

string

トランザクションが実行された製品の種類の ID。

properties.quantity

integer

トランザクションで購入された数量。

properties.servicePeriodEndDate

string

製品期間の終了日、または使用が終了した月の終了日。

properties.servicePeriodStartDate

string

製品の購入日、または使用が開始された月の開始日。

properties.subTotal

Amount

トランザクションの税引き前金額。

properties.subscriptionId

string

トランザクションに使用されたサブスクリプションの ID。 フィールドは、種類の予約のトランザクションにのみ適用されます。

properties.subscriptionName

string

トランザクションに使用されたサブスクリプションの名前。 フィールドは、種類の予約のトランザクションにのみ適用されます。

properties.tax

Amount

トランザクションに適用される税額。

properties.transactionAmount

Amount

トランザクションに関連付けられている料金。

properties.transactionType

ReservationType

トランザクションの種類。

properties.unitOfMeasure

string

製品の請求に使用される測定単位。 たとえば、コンピューティング サービスは時間単位で課金されます。

properties.unitType

string

特定の製品の測定単位の説明。

properties.units

number

特定の製品に使用されるユニットの数。

type

string

リソースの種類。

TransactionListResult

トランザクションの一覧。

名前 説明
nextLink

string

結果の次のページへのリンク (URL)。

totalCount

number

レコードの総数。

value

Transaction[]

トランザクションの一覧。

TransactionTypeKind

トランザクションの種類。 オプションはすべてまたは予約です。

名前 説明
all

string

reservation

string