Taxu CLI

Command-line tool for fast integration, testing, and automation of Taxu API workflows.

Installation

npm install -g @taxu/cli

Quick Start

1. Login with your API key

taxu login

2. Test an endpoint

taxu refund:estimate --income 75000 --status single

3. Create a tax return

taxu returns:create --user user_123 --year 2024

Available Commands

taxu loginAuthenticate with your API key
taxu refund:estimateCalculate refund estimate
taxu returns:createCreate a new tax return
taxu returns:listList all tax returns
taxu returns:fileFile a tax return
taxu documents:uploadUpload and parse documents
taxu webhooks:testTest webhook endpoints
taxu logsView API request logs

Examples

Estimate Refund

$ taxu refund:estimate \
  --income 75000 \
  --status single \
  --deductions standard

✓ Estimated refund: $3,250.00
  Effective tax rate: 12.5%
  Federal tax: $9,375.00

Upload Document

$ taxu documents:upload \
  --file ./w2.pdf \
  --type W2 \
  --return ret_abc123

✓ Document uploaded successfully
  Document ID: doc_xyz789
  Parsed data: 
    Employer: Acme Corp
    Wages: $85,000.00

Test Webhooks

$ taxu webhooks:test \
  --event return.filed \
  --url https://myapp.com/webhooks

✓ Webhook delivered successfully
  Status: 200 OK
  Response time: 145ms

Ready to Get Started?

Install the CLI and start building in minutes