transactions
Creates, updates, deletes, gets or lists a transactions resource.
Overview
| Name | transactions |
| Type | Resource |
| Id | azure.billing.transactions |
Fields
The following fields are returned by SELECT queries:
- list_by_customer
- list_by_invoice_section
- list_by_billing_profile
- list_by_invoice
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
azureCreditApplied | object | The amount of any Azure credits automatically applied to this transaction. |
azurePlan | string | Details of the Azure plan. |
billingCurrency | string | The ISO 4217 code for the currency in which this transaction is billed. |
billingProfileDisplayName | object | The name of the billing profile. |
billingProfileId | string | The fully qualified ID that uniquely identifies a billing profile. |
consumptionCommitmentDecremented | object | The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
creditType | string | The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund". (Other, AzureFreeCredit, AzureCreditOffer, ServiceInterruption, Refund) |
customerDisplayName | string | The name of the customer. |
customerId | string | The fully qualified ID that uniquely identifies a customer. |
date | string (date-time) | The date of transaction. |
discount | number | The percentage discount, if any, applied to this transaction. |
effectivePrice | object | The price of the product after applying any discounts. |
exchangeRate | number | The exchange rate used to convert charged amount to billing currency, if applicable. |
invoice | string | Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed. |
invoiceId | string | The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
invoiceSectionDisplayName | string | The name of the invoice section. |
invoiceSectionId | string | The fully qualified ID that uniquely identifies an invoice section. |
isThirdParty | boolean | Whether or not the transaction is third party. |
kind | string | Type of the transaction, billed or unbilled. Known values are: "Other", "All", and "Reservation". (Other, All, Reservation) |
marketPrice | object | The retail price of the product. |
partNumber | string | The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
pricingCurrency | string | The ISO 4217 code for the currency in which the product is priced. |
productDescription | string | The description of the product for which the transaction took place. |
productFamily | string | The family of the product for which the transaction took place. |
productType | string | The type of the product for which the transaction took place. |
productTypeId | string | The ID of the product type for which the transaction took place. |
quantity | integer | The quantity purchased in the transaction. |
reasonCode | string | There reason code for the transaction. |
refundTransactionDetails | object | The refund details of a transaction. |
servicePeriodEndDate | string (date-time) | The end date of the product term, or the end date of the month in which usage ended. |
servicePeriodStartDate | string (date-time) | The date of the purchase of the product, or the start date of the month in which usage started. |
specialTaxationType | string | 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". (SubtotalLevel, InvoiceLevel) |
subTotal | object | The pre-tax charged amount for the transaction. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
tax | object | The tax amount applied to the transaction. |
transactionAmount | object | The charge associated with the transaction. |
transactionType | string | The type of transaction. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unitOfMeasure | string | The unit of measure used to bill for the product. For example, compute services are billed per hour. |
unitType | string | The description for the unit of measure for a given product. |
units | number | The number of units used for a given product. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
azureCreditApplied | object | The amount of any Azure credits automatically applied to this transaction. |
azurePlan | string | Details of the Azure plan. |
billingCurrency | string | The ISO 4217 code for the currency in which this transaction is billed. |
billingProfileDisplayName | object | The name of the billing profile. |
billingProfileId | string | The fully qualified ID that uniquely identifies a billing profile. |
consumptionCommitmentDecremented | object | The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
creditType | string | The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund". (Other, AzureFreeCredit, AzureCreditOffer, ServiceInterruption, Refund) |
customerDisplayName | string | The name of the customer. |
customerId | string | The fully qualified ID that uniquely identifies a customer. |
date | string (date-time) | The date of transaction. |
discount | number | The percentage discount, if any, applied to this transaction. |
effectivePrice | object | The price of the product after applying any discounts. |
exchangeRate | number | The exchange rate used to convert charged amount to billing currency, if applicable. |
invoice | string | Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed. |
invoiceId | string | The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
invoiceSectionDisplayName | string | The name of the invoice section. |
invoiceSectionId | string | The fully qualified ID that uniquely identifies an invoice section. |
isThirdParty | boolean | Whether or not the transaction is third party. |
kind | string | Type of the transaction, billed or unbilled. Known values are: "Other", "All", and "Reservation". (Other, All, Reservation) |
marketPrice | object | The retail price of the product. |
partNumber | string | The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
pricingCurrency | string | The ISO 4217 code for the currency in which the product is priced. |
productDescription | string | The description of the product for which the transaction took place. |
productFamily | string | The family of the product for which the transaction took place. |
productType | string | The type of the product for which the transaction took place. |
productTypeId | string | The ID of the product type for which the transaction took place. |
quantity | integer | The quantity purchased in the transaction. |
reasonCode | string | There reason code for the transaction. |
refundTransactionDetails | object | The refund details of a transaction. |
servicePeriodEndDate | string (date-time) | The end date of the product term, or the end date of the month in which usage ended. |
servicePeriodStartDate | string (date-time) | The date of the purchase of the product, or the start date of the month in which usage started. |
specialTaxationType | string | 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". (SubtotalLevel, InvoiceLevel) |
subTotal | object | The pre-tax charged amount for the transaction. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
tax | object | The tax amount applied to the transaction. |
transactionAmount | object | The charge associated with the transaction. |
transactionType | string | The type of transaction. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unitOfMeasure | string | The unit of measure used to bill for the product. For example, compute services are billed per hour. |
unitType | string | The description for the unit of measure for a given product. |
units | number | The number of units used for a given product. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
azureCreditApplied | object | The amount of any Azure credits automatically applied to this transaction. |
azurePlan | string | Details of the Azure plan. |
billingCurrency | string | The ISO 4217 code for the currency in which this transaction is billed. |
billingProfileDisplayName | object | The name of the billing profile. |
billingProfileId | string | The fully qualified ID that uniquely identifies a billing profile. |
consumptionCommitmentDecremented | object | The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
creditType | string | The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund". (Other, AzureFreeCredit, AzureCreditOffer, ServiceInterruption, Refund) |
customerDisplayName | string | The name of the customer. |
customerId | string | The fully qualified ID that uniquely identifies a customer. |
date | string (date-time) | The date of transaction. |
discount | number | The percentage discount, if any, applied to this transaction. |
effectivePrice | object | The price of the product after applying any discounts. |
exchangeRate | number | The exchange rate used to convert charged amount to billing currency, if applicable. |
invoice | string | Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed. |
invoiceId | string | The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
invoiceSectionDisplayName | string | The name of the invoice section. |
invoiceSectionId | string | The fully qualified ID that uniquely identifies an invoice section. |
isThirdParty | boolean | Whether or not the transaction is third party. |
kind | string | Type of the transaction, billed or unbilled. Known values are: "Other", "All", and "Reservation". (Other, All, Reservation) |
marketPrice | object | The retail price of the product. |
partNumber | string | The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
pricingCurrency | string | The ISO 4217 code for the currency in which the product is priced. |
productDescription | string | The description of the product for which the transaction took place. |
productFamily | string | The family of the product for which the transaction took place. |
productType | string | The type of the product for which the transaction took place. |
productTypeId | string | The ID of the product type for which the transaction took place. |
quantity | integer | The quantity purchased in the transaction. |
reasonCode | string | There reason code for the transaction. |
refundTransactionDetails | object | The refund details of a transaction. |
servicePeriodEndDate | string (date-time) | The end date of the product term, or the end date of the month in which usage ended. |
servicePeriodStartDate | string (date-time) | The date of the purchase of the product, or the start date of the month in which usage started. |
specialTaxationType | string | 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". (SubtotalLevel, InvoiceLevel) |
subTotal | object | The pre-tax charged amount for the transaction. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
tax | object | The tax amount applied to the transaction. |
transactionAmount | object | The charge associated with the transaction. |
transactionType | string | The type of transaction. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unitOfMeasure | string | The unit of measure used to bill for the product. For example, compute services are billed per hour. |
unitType | string | The description for the unit of measure for a given product. |
units | number | The number of units used for a given product. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
azureCreditApplied | object | The amount of any Azure credits automatically applied to this transaction. |
azurePlan | string | Details of the Azure plan. |
billingCurrency | string | The ISO 4217 code for the currency in which this transaction is billed. |
billingProfileDisplayName | object | The name of the billing profile. |
billingProfileId | string | The fully qualified ID that uniquely identifies a billing profile. |
consumptionCommitmentDecremented | object | The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
creditType | string | The credit type of the transaction. Applies only to credited transactions. Known values are: "Other", "AzureFreeCredit", "AzureCreditOffer", "ServiceInterruption", and "Refund". (Other, AzureFreeCredit, AzureCreditOffer, ServiceInterruption, Refund) |
customerDisplayName | string | The name of the customer. |
customerId | string | The fully qualified ID that uniquely identifies a customer. |
date | string (date-time) | The date of transaction. |
discount | number | The percentage discount, if any, applied to this transaction. |
effectivePrice | object | The price of the product after applying any discounts. |
exchangeRate | number | The exchange rate used to convert charged amount to billing currency, if applicable. |
invoice | string | Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed. |
invoiceId | string | The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
invoiceSectionDisplayName | string | The name of the invoice section. |
invoiceSectionId | string | The fully qualified ID that uniquely identifies an invoice section. |
isThirdParty | boolean | Whether or not the transaction is third party. |
kind | string | Type of the transaction, billed or unbilled. Known values are: "Other", "All", and "Reservation". (Other, All, Reservation) |
marketPrice | object | The retail price of the product. |
partNumber | string | The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
pricingCurrency | string | The ISO 4217 code for the currency in which the product is priced. |
productDescription | string | The description of the product for which the transaction took place. |
productFamily | string | The family of the product for which the transaction took place. |
productType | string | The type of the product for which the transaction took place. |
productTypeId | string | The ID of the product type for which the transaction took place. |
quantity | integer | The quantity purchased in the transaction. |
reasonCode | string | There reason code for the transaction. |
refundTransactionDetails | object | The refund details of a transaction. |
servicePeriodEndDate | string (date-time) | The end date of the product term, or the end date of the month in which usage ended. |
servicePeriodStartDate | string (date-time) | The date of the purchase of the product, or the start date of the month in which usage started. |
specialTaxationType | string | 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". (SubtotalLevel, InvoiceLevel) |
subTotal | object | The pre-tax charged amount for the transaction. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
tax | object | The tax amount applied to the transaction. |
transactionAmount | object | The charge associated with the transaction. |
transactionType | string | The type of transaction. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
unitOfMeasure | string | The unit of measure used to bill for the product. For example, compute services are billed per hour. |
unitType | string | The description for the unit of measure for a given product. |
units | number | The number of units used for a given product. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_customer | select | billing_account_name, billing_profile_name, customer_name, periodStartDate, periodEndDate, type | filter, orderBy, top, skip, count, search | Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated. |
list_by_invoice_section | select | billing_account_name, billing_profile_name, invoice_section_name, periodStartDate, periodEndDate, type | filter, orderBy, top, skip, count, search | Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated. |
list_by_billing_profile | select | billing_account_name, billing_profile_name, periodStartDate, periodEndDate, type | filter, orderBy, top, skip, count, search | Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated. |
list_by_invoice | select | billing_account_name, invoice_name | filter, orderBy, top, skip, count, search | Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges. |
get_transaction_summary_by_invoice | exec | billing_account_name, invoice_name | filter, search | Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges. |
transactions_download_by_invoice | exec | billing_account_name, invoice_name | Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
billing_account_name | string | The ID that uniquely identifies a billing account. Required. |
billing_profile_name | string | The ID that uniquely identifies a billing profile. Required. |
customer_name | string | The ID that uniquely identifies a customer. Required. |
invoice_name | string | The ID that uniquely identifies an invoice. Required. |
invoice_section_name | string | The ID that uniquely identifies an invoice section. Required. |
periodEndDate | string (date) | The end date to fetch the transactions. The date should be specified in MM-DD-YYYY format. Required. |
periodStartDate | string (date) | The start date to fetch the transactions. The date should be specified in MM-DD-YYYY format. Required. |
type | string | The type of transaction. Known values are: "Other", "Billed", and "Unbilled". Required. |
count | boolean | The count query option allows clients to request a count of the matching resources included with the resources in the response. Default value is None. |
filter | string | The filter query option allows clients to filter the line items that are aggregated to create the line item summary. Default value is None. |
orderBy | string | The orderby query option allows clients to request resources in a particular order. Default value is None. |
search | string | The search query option allows clients to filter the line items that are aggregated to create the line item summary. Default value is None. |
skip | integer | The skip query option requests the number of items in the queried collection that are to be skipped and not included in the result. Default value is None. |
top | integer | The top query option requests the number of items in the queried collection to be included in the result. The maximum supported value for top is 50. Default value is None. |
SELECT examples
- list_by_customer
- list_by_invoice_section
- list_by_billing_profile
- list_by_invoice
Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
SELECT
id,
name,
azureCreditApplied,
azurePlan,
billingCurrency,
billingProfileDisplayName,
billingProfileId,
consumptionCommitmentDecremented,
creditType,
customerDisplayName,
customerId,
date,
discount,
effectivePrice,
exchangeRate,
invoice,
invoiceId,
invoiceSectionDisplayName,
invoiceSectionId,
isThirdParty,
kind,
marketPrice,
partNumber,
pricingCurrency,
productDescription,
productFamily,
productType,
productTypeId,
quantity,
reasonCode,
refundTransactionDetails,
servicePeriodEndDate,
servicePeriodStartDate,
specialTaxationType,
subTotal,
systemData,
tags,
tax,
transactionAmount,
transactionType,
type,
unitOfMeasure,
unitType,
units
FROM azure.billing.transactions
WHERE billing_account_name = '{{ billing_account_name }}' -- required
AND billing_profile_name = '{{ billing_profile_name }}' -- required
AND customer_name = '{{ customer_name }}' -- required
AND periodStartDate = '{{ periodStartDate }}' -- required
AND periodEndDate = '{{ periodEndDate }}' -- required
AND type = '{{ type }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND count = '{{ count }}'
AND search = '{{ search }}'
;
Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
SELECT
id,
name,
azureCreditApplied,
azurePlan,
billingCurrency,
billingProfileDisplayName,
billingProfileId,
consumptionCommitmentDecremented,
creditType,
customerDisplayName,
customerId,
date,
discount,
effectivePrice,
exchangeRate,
invoice,
invoiceId,
invoiceSectionDisplayName,
invoiceSectionId,
isThirdParty,
kind,
marketPrice,
partNumber,
pricingCurrency,
productDescription,
productFamily,
productType,
productTypeId,
quantity,
reasonCode,
refundTransactionDetails,
servicePeriodEndDate,
servicePeriodStartDate,
specialTaxationType,
subTotal,
systemData,
tags,
tax,
transactionAmount,
transactionType,
type,
unitOfMeasure,
unitType,
units
FROM azure.billing.transactions
WHERE billing_account_name = '{{ billing_account_name }}' -- required
AND billing_profile_name = '{{ billing_profile_name }}' -- required
AND invoice_section_name = '{{ invoice_section_name }}' -- required
AND periodStartDate = '{{ periodStartDate }}' -- required
AND periodEndDate = '{{ periodEndDate }}' -- required
AND type = '{{ type }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND count = '{{ count }}'
AND search = '{{ search }}'
;
Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
SELECT
id,
name,
azureCreditApplied,
azurePlan,
billingCurrency,
billingProfileDisplayName,
billingProfileId,
consumptionCommitmentDecremented,
creditType,
customerDisplayName,
customerId,
date,
discount,
effectivePrice,
exchangeRate,
invoice,
invoiceId,
invoiceSectionDisplayName,
invoiceSectionId,
isThirdParty,
kind,
marketPrice,
partNumber,
pricingCurrency,
productDescription,
productFamily,
productType,
productTypeId,
quantity,
reasonCode,
refundTransactionDetails,
servicePeriodEndDate,
servicePeriodStartDate,
specialTaxationType,
subTotal,
systemData,
tags,
tax,
transactionAmount,
transactionType,
type,
unitOfMeasure,
unitType,
units
FROM azure.billing.transactions
WHERE billing_account_name = '{{ billing_account_name }}' -- required
AND billing_profile_name = '{{ billing_profile_name }}' -- required
AND periodStartDate = '{{ periodStartDate }}' -- required
AND periodEndDate = '{{ periodEndDate }}' -- required
AND type = '{{ type }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND count = '{{ count }}'
AND search = '{{ search }}'
;
Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.
SELECT
id,
name,
azureCreditApplied,
azurePlan,
billingCurrency,
billingProfileDisplayName,
billingProfileId,
consumptionCommitmentDecremented,
creditType,
customerDisplayName,
customerId,
date,
discount,
effectivePrice,
exchangeRate,
invoice,
invoiceId,
invoiceSectionDisplayName,
invoiceSectionId,
isThirdParty,
kind,
marketPrice,
partNumber,
pricingCurrency,
productDescription,
productFamily,
productType,
productTypeId,
quantity,
reasonCode,
refundTransactionDetails,
servicePeriodEndDate,
servicePeriodStartDate,
specialTaxationType,
subTotal,
systemData,
tags,
tax,
transactionAmount,
transactionType,
type,
unitOfMeasure,
unitType,
units
FROM azure.billing.transactions
WHERE billing_account_name = '{{ billing_account_name }}' -- required
AND invoice_name = '{{ invoice_name }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND count = '{{ count }}'
AND search = '{{ search }}'
;
Lifecycle Methods
- get_transaction_summary_by_invoice
- transactions_download_by_invoice
Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.
EXEC azure.billing.transactions.get_transaction_summary_by_invoice
@billing_account_name='{{ billing_account_name }}' --required,
@invoice_name='{{ invoice_name }}' --required,
@filter='{{ filter }}',
@search='{{ search }}'
;
Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
EXEC azure.billing.transactions.transactions_download_by_invoice
@billing_account_name='{{ billing_account_name }}' --required,
@invoice_name='{{ invoice_name }}' --required
;