Avanza Tools
Command reference

avanza transactions

Read transactions and dividends

avanza transactions dividends

List received dividends

USAGE
  $ avanza transactions dividends [--fields <value> --json] [--output <value> [--fixture | ]] [--account-id <value>]
    [--include-closed]

FLAGS
  --account-id=<value>  Account URL parameter ID; defaults to all
  --fields=<value>      Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture             Print the HTTP request and response as a fixture
  --include-closed      Include closed accounts
  --json                Print the command response as JSON
  --output=<value>      Write the raw fixture to a new temporary file

avanza transactions list

List transactions

USAGE
  $ avanza transactions list [--fields <value> --json] [--output <value> [--fixture | ]] [--from <value>] [--to
    <value>] [--account-ids <value>...] [--types <value>...] [--isin <value>] [--include-cancelled] [--include-closed]

FLAGS
  --account-ids=<value>...  Comma-separated account IDs
  --fields=<value>          Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture                 Print the HTTP request and response as a fixture
  --from=<value>            Start date (yyyy-MM-dd); defaults to one year back
  --include-cancelled       Include cancelled transactions
  --include-closed          Include closed accounts
  --isin=<value>            Instrument ISIN
  --json                    Print the command response as JSON
  --output=<value>          Write the raw fixture to a new temporary file
  --to=<value>              End date (yyyy-MM-dd); defaults to today
  --types=<value>...        Comma-separated transaction types, for example BUY,SELL,DIVIDEND

avanza transactions pending

List pending withdrawals and internal transfers

USAGE
  $ avanza transactions pending [--fields <value> --json] [--output <value> [--fixture | ]]

FLAGS
  --fields=<value>  Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture         Print the HTTP request and response as a fixture
  --json            Print the command response as JSON
  --output=<value>  Write the raw fixture to a new temporary file

avanza transactions show

Inspect one transaction

USAGE
  $ avanza transactions show --account-id <value> --transaction-id <value> [--fields <value> --json] [--output <value>
    [--fixture | ]]

FLAGS
  --account-id=<value>      (required) Account ID or URL parameter ID
  --fields=<value>          Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture                 Print the HTTP request and response as a fixture
  --json                    Print the command response as JSON
  --output=<value>          Write the raw fixture to a new temporary file
  --transaction-id=<value>  (required) Transaction ID

avanza transactions upcoming-dividends

List upcoming dividends for held positions

USAGE
  $ avanza transactions upcoming-dividends [--fields <value> --json] [--output <value> [--fixture | ]] [--account-id
  <value>]

FLAGS
  --account-id=<value>  Account URL parameter ID; defaults to all
  --fields=<value>      Select comma-separated JSON fields (dotted paths for nested fields)
  --fixture             Print the HTTP request and response as a fixture
  --json                Print the command response as JSON
  --output=<value>      Write the raw fixture to a new temporary file

On this page