az billing invoice
Manage invoice.
Commands
Name | Description | Type | Status |
---|---|---|---|
az billing invoice download |
Get URL to download invoice. |
Core | Preview |
az billing invoice list |
List the invoices for a subscription. |
Core | GA |
az billing invoice section |
Manage invoice section. |
Core | Preview |
az billing invoice section create |
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section initiate-transfer |
Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section list |
List the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section show |
Get an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section update |
Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement. |
Core | Preview |
az billing invoice section wait |
Place the CLI in a waiting state until a condition of the billing invoice section is met. |
Core | Preview |
az billing invoice show |
Get an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. |
Core | GA |
az billing invoice download
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get URL to download invoice.
az billing invoice download [--account-name]
[--download-token]
[--download-urls]
[--invoice-name]
Examples
Get a URL to download an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
az billing invoice download --account-name "{billingAccountName}" --invoice-name "{invoiceName}" --download-token "{downloadToken}"
Get a URL to download an multiple invoices documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
az billing invoice download --account-name "{billingAccountName}" --download-urls "{ListOfDownloadURLs}"
Get a URL to download multiple invoices documents (invoice pdf, tax receipts, credit notes) as a zip file.
az billing invoice download --download-urls "{ListOfDownloadURLs}"
Get a URL to download an invoice.
az billing invoice download --invoice-name "{invoiceName}" --download-token "{downloadToken}"
Optional Parameters
The ID that uniquely identifies a billing account.
The download token with document source and document ID.
Space-separated list of download urls for individual.
The ID that uniquely identifies an invoice.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice list
List the invoices for a subscription.
az billing invoice list --period-end-date
--period-start-date
[--account-name]
[--profile-name]
Examples
List invoices by billing account and profile name with default properties
az billing invoice list --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --period-end-date "2018-06-30" --period-start-date "2018-01-01"
List invoices by billing account and profile name with expanded properties
az billing invoice list --account-name "{billingAccountName}" --profile-name "{billingProfileName}" --period-end-date "2018-06-30" --period-start-date "2018-01-01"
Required Parameters
The end date to fetch the invoices. The date should be specified in YYYY-MM-DD format.
The start date to fetch the invoices. The date should be specified in YYYY-MM-DD format.
Optional Parameters
The ID that uniquely identifies a billing account.
The ID that uniquely identifies a billing profile.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az billing invoice show
Get an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
az billing invoice show --name
[--account-name]
[--by-subscription]
Examples
Show an invoice by billing account name and ID
az billing invoice show --account-name "{billingAccountName}" --name "{invoiceName}"
Show an invoice by ID
az billing invoice show --name "{invoiceName}"
Show an invoice by subscription ID and invoice ID
az billing invoice show --name "{invoiceName}" --by-subscription
Required Parameters
The ID that uniquely identifies an invoice.
Optional Parameters
The ID that uniquely identifies a billing account.
When provided, it must work with --invoice-name to get an invoice by subscription ID and invoice ID.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.