doctl billing-history list

Go to Navigation

Usage

doctl billing-history list [flags]

Aliases

ls

Description

This command retrieves the following details for each event in your billing history:

  • The date of the event
  • The type of billing event
  • A description of the event
  • The amount of the event in USD
  • The invoice ID associated with the event, if applicable
  • The invoice UUID associated with the event, if applicable

Flags

OptionDescription
--formatColumns for output in a comma-separated list. Possible values: Date, Type, Description, Amount, InvoiceID, InvoiceUUID
--help, -hHelp for this command
--no-headerReturn raw data with no headers
Default: false
CommandDescription
doctl billing-historyDisplay commands for retrieving your billing history

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false