az billing account transaction

Command group 'billing account' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage billing acount transaction.

Commands

Name Description Type Status
az billing account transaction list

List the billed and unbilled transactions by billing account 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.

Core Preview

az billing account transaction list

Preview

Command group 'billing account' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List the billed and unbilled transactions by billing account 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.

az billing account transaction list --billing-account-name
                                    --period-end-date
                                    --period-start-date
                                    [--filter]
                                    [--max-items]
                                    [--next-token]

Required Parameters

--billing-account-name

The ID that uniquely identifies a billing account.

--period-end-date

The end date to fetch the transactions. The date should be specified in MM-DD-YYYY format.

--period-start-date

The start date to fetch the transactions. The date should be specified in MM-DD-YYYY format.

Optional Parameters

--filter

May be used to filter by transaction type. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value are separated by a colon (:).

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.