TransactionProperties interface

A transaction.

Properties

azureCreditApplied

The amount of any Azure credits automatically applied to this transaction.

azurePlan

Details of the Azure plan.

billingCurrency

The ISO 4217 code for the currency in which this transaction is billed.

billingProfileDisplayName

The name of the billing profile.

billingProfileId

The fully qualified ID that uniquely identifies a billing profile.

consumptionCommitmentDecremented

The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction.

creditType

The credit type of the transaction. Applies only to credited transactions.

customerDisplayName

The name of the customer.

customerId

The fully qualified ID that uniquely identifies a customer.

date

The date of transaction.

discount

The percentage discount, if any, applied to this transaction.

effectivePrice

The price of the product after applying any discounts.

exchangeRate

The exchange rate used to convert charged amount to billing currency, if applicable.

invoice

Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed.

invoiceId

The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.

invoiceSectionDisplayName

The name of the invoice section.

invoiceSectionId

The fully qualified ID that uniquely identifies an invoice section.

isThirdParty

Whether or not the transaction is third party.

kind

Type of the transaction, billed or unbilled.

marketPrice

The retail price of the product.

partNumber

The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices.

pricingCurrency

The ISO 4217 code for the currency in which the product is priced.

productDescription

The description of the product for which the transaction took place.

productFamily

The family of the product for which the transaction took place.

productType

The type of the product for which the transaction took place.

productTypeId

The ID of the product type for which the transaction took place.

quantity

The quantity purchased in the transaction.

reasonCode

There reason code for the transaction.

refundTransactionDetails

The refund details of a transaction.

servicePeriodEndDate

The end date of the product term, or the end date of the month in which usage ended.

servicePeriodStartDate

The date of the purchase of the product, or the start date of the month in which usage started.

specialTaxationType

Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.

subTotal

The pre-tax charged amount for the transaction.

tax

The tax amount applied to the transaction.

transactionAmount

The charge associated with the transaction.

transactionType

The type of transaction.

unitOfMeasure

The unit of measure used to bill for the product. For example, compute services are billed per hour.

units

The number of units used for a given product.

unitType

The description for the unit of measure for a given product.

Property Details

azureCreditApplied

The amount of any Azure credits automatically applied to this transaction.

azureCreditApplied?: TransactionPropertiesAzureCreditApplied

Property Value

azurePlan

Details of the Azure plan.

azurePlan?: string

Property Value

string

billingCurrency

The ISO 4217 code for the currency in which this transaction is billed.

billingCurrency?: string

Property Value

string

billingProfileDisplayName

The name of the billing profile.

billingProfileDisplayName?: any

Property Value

any

billingProfileId

The fully qualified ID that uniquely identifies a billing profile.

billingProfileId?: string

Property Value

string

consumptionCommitmentDecremented

The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction.

consumptionCommitmentDecremented?: TransactionPropertiesConsumptionCommitmentDecremented

Property Value

creditType

The credit type of the transaction. Applies only to credited transactions.

creditType?: string

Property Value

string

customerDisplayName

The name of the customer.

customerDisplayName?: string

Property Value

string

customerId

The fully qualified ID that uniquely identifies a customer.

customerId?: string

Property Value

string

date

The date of transaction.

date?: Date

Property Value

Date

discount

The percentage discount, if any, applied to this transaction.

discount?: number

Property Value

number

effectivePrice

The price of the product after applying any discounts.

effectivePrice?: TransactionPropertiesEffectivePrice

Property Value

exchangeRate

The exchange rate used to convert charged amount to billing currency, if applicable.

exchangeRate?: number

Property Value

number

invoice

Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed.

invoice?: string

Property Value

string

invoiceId

The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.

invoiceId?: string

Property Value

string

invoiceSectionDisplayName

The name of the invoice section.

invoiceSectionDisplayName?: string

Property Value

string

invoiceSectionId

The fully qualified ID that uniquely identifies an invoice section.

invoiceSectionId?: string

Property Value

string

isThirdParty

Whether or not the transaction is third party.

isThirdParty?: boolean

Property Value

boolean

kind

Type of the transaction, billed or unbilled.

kind?: string

Property Value

string

marketPrice

The retail price of the product.

marketPrice?: TransactionPropertiesMarketPrice

Property Value

partNumber

The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices.

partNumber?: string

Property Value

string

pricingCurrency

The ISO 4217 code for the currency in which the product is priced.

pricingCurrency?: string

Property Value

string

productDescription

The description of the product for which the transaction took place.

productDescription?: string

Property Value

string

productFamily

The family of the product for which the transaction took place.

productFamily?: string

Property Value

string

productType

The type of the product for which the transaction took place.

productType?: string

Property Value

string

productTypeId

The ID of the product type for which the transaction took place.

productTypeId?: string

Property Value

string

quantity

The quantity purchased in the transaction.

quantity?: number

Property Value

number

reasonCode

There reason code for the transaction.

reasonCode?: string

Property Value

string

refundTransactionDetails

The refund details of a transaction.

refundTransactionDetails?: TransactionPropertiesRefundTransactionDetails

Property Value

servicePeriodEndDate

The end date of the product term, or the end date of the month in which usage ended.

servicePeriodEndDate?: Date

Property Value

Date

servicePeriodStartDate

The date of the purchase of the product, or the start date of the month in which usage started.

servicePeriodStartDate?: Date

Property Value

Date

specialTaxationType

Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.

specialTaxationType?: string

Property Value

string

subTotal

The pre-tax charged amount for the transaction.

subTotal?: TransactionPropertiesSubTotal

Property Value

tax

The tax amount applied to the transaction.

tax?: TransactionPropertiesTax

Property Value

transactionAmount

The charge associated with the transaction.

transactionAmount?: TransactionPropertiesTransactionAmount

Property Value

transactionType

The type of transaction.

transactionType?: string

Property Value

string

unitOfMeasure

The unit of measure used to bill for the product. For example, compute services are billed per hour.

unitOfMeasure?: string

Property Value

string

units

The number of units used for a given product.

units?: number

Property Value

number

unitType

The description for the unit of measure for a given product.

unitType?: string

Property Value

string