Share via


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

Experimental Preview Deprecated

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]

Examples

Required Parameters

--billing-account-name
Experimental Preview Deprecated

The ID that uniquely identifies a billing account.

--period-end-date
Experimental Preview Deprecated

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

--period-start-date
Experimental Preview Deprecated

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

Optional Parameters

--filter
Experimental Preview Deprecated

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
Experimental Preview Deprecated

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
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

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