Bybit and OKX in Spain: tax guide
Both are foreign exchanges (Dubai / Seychelles) → Models 172/173 mandatory + IRPF gains.
Taxable events: Spot trades, perpetual futures (each close), funding rates (income/expense), Earn rewards (capital income), Launchpad tokens (capital income at receipt price)
kointax integration:
- Bybit: Account → API Management → Create read-only API → kointax Connections
- OKX: Account → API → Create read-only → kointax Connections
Koinly imports Bybit/OKX history but doesn't generate Models 172/173. kointax does.
👉 Connect Bybit and OKX in kointax and generate your AEAT models


