Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.taxmaxi.com/llms.txt

Use this file to discover all available pages before exploring further.

The TaxMaxi CLI gives you a tax command you can run from any terminal. It is built for individuals who want to compute their crypto taxes without touching a UI, and for automation pipelines and AI agents that need machine-readable tax output. The CLI calls the same TaxMaxi API that developers integrate directly, so everything you do through it is fully reproducible via the REST API or JavaScript SDK.

Installation

Install the CLI globally from npm:
npm install -g tax
Verify the installation succeeded:
tax --version

Available commands

tax coinbase

Run the full Coinbase workflow: connect via OAuth, sync transactions, and compute your German tax summary — in one command.

tax coinbase connect

Authenticate your Coinbase account via OAuth. The session is cached locally so subsequent runs skip re-auth automatically.

tax coinbase sync

Sync your Coinbase transaction records into TaxMaxi after connecting.

tax coinbase replay

Rebuild normalized records from cached raw Coinbase data without re-fetching from Coinbase.

tax coinbase calculate

Compute a German tax summary for a specific year from your synced records.

Global flags

Use --json, --no-browser, --force, and --year to control CLI behaviour and enable scripting.

Command reference

CommandDescription
tax coinbaseFull workflow: connect → sync → calculate
tax coinbase connectOAuth connect, caches session to ~/.config/tax/session.json
tax coinbase syncSync Coinbase records into TaxMaxi
tax coinbase replayRebuild from cached raw records without re-fetching
tax coinbase calculate --year <YYYY>Compute German tax summary for a given year

Next steps

Coinbase workflow

Step-by-step guide to running the Coinbase connect, sync, and calculate commands.

Flags reference

Full reference for all CLI flags, including scripting examples with --json.