TransactionProperties Class
A transaction.
Constructor
TransactionProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
azure_credit_applied
|
The amount of any Azure credits automatically applied to this transaction. |
|
azure_plan
|
Details of the Azure plan. |
|
billing_currency
|
The ISO 4217 code for the currency in which this transaction is billed. |
|
billing_profile_display_name
|
The name of the billing profile. |
|
billing_profile_id
|
The fully qualified ID that uniquely identifies a billing profile. |
|
consumption_commitment_decremented
|
The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
|
customer_display_name
|
The name of the customer. |
|
customer_id
|
The fully qualified ID that uniquely identifies a customer. |
|
credit_type
|
str or
CreditType
The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund". |
|
date
|
The date of transaction. |
|
discount
|
The percentage discount, if any, applied to this transaction. |
|
effective_price
|
The price of the product after applying any discounts. |
|
exchange_rate
|
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. |
|
invoice_id
|
The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
|
invoice_section_display_name
|
The name of the invoice section. |
|
invoice_section_id
|
The fully qualified ID that uniquely identifies an invoice section. |
|
is_third_party
|
Whether or not the transaction is third party. |
|
kind
|
Type of the transaction, billed or unbilled. Known values are: "Other", "All", and "Reservation". |
|
market_price
|
The retail price of the product. |
|
part_number
|
The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
|
pricing_currency
|
The ISO 4217 code for the currency in which the product is priced. |
|
product_description
|
The description of the product for which the transaction took place. |
|
product_family
|
The family of the product for which the transaction took place. |
|
product_type_id
|
The ID of the product type for which the transaction took place. |
|
product_type
|
The type of the product for which the transaction took place. |
|
quantity
|
The quantity purchased in the transaction. |
|
reason_code
|
There reason code for the transaction. |
|
service_period_start_date
|
The date of the purchase of the product, or the start date of the month in which usage started. |
|
service_period_end_date
|
The end date of the product term, or the end date of the month in which usage ended. |
|
sub_total
|
The pre-tax charged amount for the transaction. |
|
tax
|
The tax amount applied to the transaction. |
|
transaction_amount
|
The charge associated with the transaction. |
|
transaction_type
|
The type of transaction. |
|
units
|
The number of units used for a given product. |
|
unit_of_measure
|
The unit of measure used to bill for the product. For example, compute services are billed per hour. |
|
unit_type
|
The description for the unit of measure for a given product. |
|
special_taxation_type
|
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. Known values are: "SubtotalLevel" and "InvoiceLevel". |
|
refund_transaction_details
|
The refund details of a transaction. |
Attributes
azure_credit_applied
The amount of any Azure credits automatically applied to this transaction.
azure_credit_applied: _models.TransactionPropertiesAzureCreditApplied | None
azure_plan
Details of the Azure plan.
azure_plan: str | None
billing_currency
The ISO 4217 code for the currency in which this transaction is billed.
billing_currency: str | None
billing_profile_display_name
The name of the billing profile.
billing_profile_display_name: Any | None
billing_profile_id
The fully qualified ID that uniquely identifies a billing profile.
billing_profile_id: str | None
consumption_commitment_decremented
The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction.
consumption_commitment_decremented: _models.TransactionPropertiesConsumptionCommitmentDecremented | None
credit_type
The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund".
credit_type: str | _models.CreditType | None
customer_display_name
The name of the customer.
customer_display_name: str | None
customer_id
The fully qualified ID that uniquely identifies a customer.
customer_id: str | None
date
The date of transaction.
date: datetime | None
discount
The percentage discount, if any, applied to this transaction.
discount: float | None
effective_price
The price of the product after applying any discounts.
effective_price: _models.TransactionPropertiesEffectivePrice | None
exchange_rate
The exchange rate used to convert charged amount to billing currency, if applicable.
exchange_rate: float | None
invoice
Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed.
invoice: str | None
invoice_id
The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed.
invoice_id: str | None
invoice_section_display_name
The name of the invoice section.
invoice_section_display_name: str | None
invoice_section_id
The fully qualified ID that uniquely identifies an invoice section.
invoice_section_id: str | None
is_third_party
Whether or not the transaction is third party.
is_third_party: bool | None
kind
"Other", "All", and "Reservation".
kind: str | _models.TransactionKind | None
market_price
The retail price of the product.
market_price: _models.TransactionPropertiesMarketPrice | None
part_number
The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices.
part_number: str | None
pricing_currency
The ISO 4217 code for the currency in which the product is priced.
pricing_currency: str | None
product_description
The description of the product for which the transaction took place.
product_description: str | None
product_family
The family of the product for which the transaction took place.
product_family: str | None
product_type
The type of the product for which the transaction took place.
product_type: str | None
product_type_id
The ID of the product type for which the transaction took place.
product_type_id: str | None
quantity
The quantity purchased in the transaction.
quantity: int | None
reason_code
There reason code for the transaction.
reason_code: str | None
refund_transaction_details
The refund details of a transaction.
refund_transaction_details: _models.TransactionPropertiesRefundTransactionDetails | None
service_period_end_date
The end date of the product term, or the end date of the month in which usage ended.
service_period_end_date: datetime | None
service_period_start_date
The date of the purchase of the product, or the start date of the month in which usage started.
service_period_start_date: datetime | None
special_taxation_type
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. Known values are: "SubtotalLevel" and "InvoiceLevel".
special_taxation_type: str | _models.SpecialTaxationType | None
sub_total
The pre-tax charged amount for the transaction.
sub_total: _models.TransactionPropertiesSubTotal | None
tax
The tax amount applied to the transaction.
tax: _models.TransactionPropertiesTax | None
transaction_amount
The charge associated with the transaction.
transaction_amount: _models.TransactionPropertiesTransactionAmount | None
transaction_type
The type of transaction.
transaction_type: str | None
unit_of_measure
The unit of measure used to bill for the product. For example, compute services are billed per hour.
unit_of_measure: str | None
unit_type
The description for the unit of measure for a given product.
unit_type: str | None
units
The number of units used for a given product.
units: float | None