Tax Engine · :8084 Suite Home
:8084

WEN Tax

ATO-ready crypto tax engine for Australian traders. Import trades from 7 exchange formats, calculate capital gains with FIFO/HIFO/LIFO lot accounting, apply the 50% CGT discount, and generate a complete tax report — all running locally, no data leaves your machine.

Report endpoint: GET /api/report?fy=2024
7
Exchange CSV Formats
50%
CGT Discount (12+ months)
3
Cost Basis Methods
ATO
Compliant · AU Financial Year
Everything you need for ATO compliance.
Transaction Import

Import from Binance, CoinSpot, Swyftx, Independent Reserve, BTC Markets, Kraken, or any generic CSV. Duplicate detection prevents double-counting.

CGT Calculator

Full lot-based accounting with FIFO, HIFO, and LIFO. Handles buy, sell, trade (swap), gift sent/received, and fee-in-crypto disposal events.

Income Tracking

Separately tracks staking, mining, and airdrop income as ordinary income at market value on receipt — exactly as the ATO requires.

Portfolio Overview

Live holdings with cost basis, current market value via CoinGecko, and unrealized gains/losses. Falls back to cost-basis-only when offline.

ATO Reports

Full CGT event report with short-term, long-term, and 50% discount breakdown. Export to CSV and get exact figures for your tax return labels (18H, 24).

Gunbot Integration

One-click import of your complete Gunbot trade history via the /api/v1/trades endpoint. Automatic pair parsing and duplicate suppression.

How your tax report is calculated
Transaction Import
  Binance CSV / CoinSpot CSV / Swyftx CSV
  Independent Reserve / BTC Markets / Kraken
  Generic CSV / Manual Entry / Gunbot REST APICGT Engine  (tax_engine.js)
  ├─ Build running lot inventory (all-time)
  ├─ Identify disposal events (sell, trade, gift, fee)
  ├─ Match lots  FIFO / HIFO / LIFO
  ├─ Compute proceeds − cost basis = gain/loss
  ├─ Held ≥ 365 days AND gain?  apply 50% discount
  └─ Classify income events (staking / mining / airdrops)ATO Report
  ├─ Short-term CGT (held < 1 year)
  ├─ Long-term CGT (held ≥ 1 year, 50% discounted)
  ├─ Ordinary income (staking + mining + airdrops)
  └─ CSV export + ATO label guidance (18H / 24)
Australian Tax Treatment of Crypto
The ATO treats cryptocurrency as a CGT asset (not currency). Each disposal — sale, trade/swap, gift — is a CGT event. Assets held for 12+ months qualify for the 50% CGT discount for individuals. Income from staking, mining, and airdrops is taxed as ordinary income at the AUD market value on receipt. Transfers between your own wallets are not taxable. This tool implements all of these rules. Always verify with a registered tax agent before lodging.
100% local — your data never leaves your machine
All transactions are stored in tax_transactions.json on your local filesystem. The engine makes one outbound call only: to the CoinGecko public API for live price data on the Portfolio tab. No account required, no data uploaded, no subscription.