Tax Optimizer

Jurisdiction-aware lot sequencing, ISA and PEA wrapper logic, MiFID II compliance records. Tax complexity handled at the API layer so your engineers don’t build it from scratch.

Get API Access
Abstract visualization of tax lot sequencing across time periods
Compliance

MiFID II Article 25 records — automatic

MiFID II requires platforms to document best-execution evidence for every order leg. That means recording the execution venue chosen, why it was chosen, the price achieved, and the time of execution — for every trade, every day, forever.

Portfolwright generates compliant MiFID II trade records automatically on every rebalancing event. Records are accessible via API, exportable to your compliance team’s preferred format, and retained for the mandatory 5-year period.

100% of rebalancing events auto-generate
MiFID II Article 25 compliance records
MiFID II record response
{
  "mifid_record_id": "mf_8k3p1r",
  "article": "MiFID II Art 25",
  "execution_venue": "XEUR",
  "venue_selection_rationale": "best_price",
  "execution_time": "2026-06-21T09:32:14Z",
  "price_achieved": 47.82,
  "price_currency": "EUR",
  "client_order_id": "co_pf_3x8k2m_001",
  "retained_until": "2031-06-21"
}
Wrapper logic

ISA, PEA, and Depot rules handled automatically

United Kingdom

Stocks & Shares ISA

Annual contribution limit (£20,000 for 2024/25) tracked per investor. ISA-eligible assets checked against HMRC qualifying investments list. Gains within ISA wrapper excluded from rebalancing-triggered CGT calculation.

  • Annual allowance tracking
  • HMRC-eligible asset check
  • CGT isolation
France

Plan d’Épargne en Actions (PEA)

PEA-eligible securities limited to EU-domiciled equities and qualifying ETFs. €150,000 cumulative deposit cap tracked. Rebalancing sequences prioritize PEA-eligible lots for tax-optimal turnover.

  • EU domicile eligibility check
  • €150K deposit cap tracking
  • 5-year holding optimization
Germany

Wertpapierdepot (Depot)

Abgeltungsteuer (capital gains tax) of 25% applies to most securities. FIFO mandatory per §20 EStG. Sparer-Pauschbetrag (annual tax-free allowance of €1,000) tracked per investor for optimal lot scheduling.

  • FIFO enforcement per §20 EStG
  • Annual allowance tracking
  • Kirchensteuer flag support

Tax-optimal rebalancing across every European jurisdiction.