Skip to main content

transactions_transaction_summary_by_invoices

Creates, updates, deletes, gets or lists a transactions_transaction_summary_by_invoices resource.

Overview

Nametransactions_transaction_summary_by_invoices
TypeResource
Idazure.billing.transactions_transaction_summary_by_invoices

Fields

The following fields are returned by SELECT queries:

A transaction summary.

NameDatatypeDescription
azureCreditAppliednumberThe total amount of any Azure credits applied.
billingCurrencystringThe ISO 4217 code for the currency in which the transactions are billed.
consumptionCommitmentDecrementednumberThe total Microsoft Azure Consumption Commitment (MACC) decrement through the invoice.
subTotalnumberThe total pre-tax charged amount.
taxnumberThe total tax amount applied.
totalnumberThe total charges.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbillingAccountName, invoiceNamefilter, searchGets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.

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.

NameDatatypeDescription
billingAccountNamestringThe ID that uniquely identifies a billing account.
invoiceNamestringThe ID that uniquely identifies an invoice.
filterstringThe filter query option allows clients to filter the line items that are aggregated to create the line item summary.

SELECT examples

Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.

SELECT
azureCreditApplied,
billingCurrency,
consumptionCommitmentDecremented,
subTotal,
tax,
total
FROM azure.billing.transactions_transaction_summary_by_invoices
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND invoiceName = '{{ invoiceName }}' -- required
AND filter = '{{ filter }}'
AND search = '{{ search }}'
;