A web-based tool that automates tax reporting for Moldovan investors using Interactive Brokers. Converts USD trades to MDL, calculates capital gains tax, and generates Excel reports ready for FISC submission.
Live Demo: https://fisc-tools.vercel.app
- USD to MDL Conversion — Automatically converts trades using official NBM (National Bank of Moldova) exchange rates
- Tax Calculation — Calculates 6% Moldovan capital gains tax on each closed position
- Excel Export — Generates formatted Excel files matching the tax authority requirements
- Privacy First — All processing happens in your browser; your financial data never leaves your device
- Upload your Interactive Brokers Activity Statement (PDF format)
- The tool parses your trades and matches them with historical NBM exchange rates
- Capital gains are calculated for each closed position using FIFO method
- Download the Excel report with all calculations ready for tax filing
- Log in to your Interactive Brokers account
- Go to Performance & Reports → Statements
- Select Activity statement type
- Choose the Annual period for the tax year you need
- Set format to PDF
- Click Run and download the generated PDF
- Node.js 18+
- npm
git clone https://github.com/msuhov/fisc-tools.git
cd fisc-tools
npm installnpm startThe app will be available at http://localhost:4200
npm run buildThe exchange rates are bundled with the app. To update them with newer rates from NBM:
- Go to NBM Official Exchange Rates
- Select USD currency and the date range you need
- Export the data as Excel (
.xlsx)
npm run generate-rates path/to/downloaded-rates.xlsxThis generates a usd-mdl-rates.json file in the current directory.
cp usd-mdl-rates.json libs/exchange-rates/src/lib/data/usd-mdl-rates.json
npm run buildMIT