Skip to main content

Reporting Pipeline

This document outlines the technical architecture and data pipeline responsible for aggregating and generating data for regulatory reporting.

1. Architecture & Data Pipeline

Potential Deployment Schema:

Potential Data Flow:

outbox → Debezium → Kafka → Ingestor → Compliance DB

Source Services (Runtime Plane)

  • Registry Service — Companies, users, bonds, LEIs, wallet addresses, AML state
  • Core Payment Service — Marketplace payments, settlement, DVP orchestration
  • Indexer — On-chain state (bonds, offers, deals, transfers, token ownership)
  • Eventer — Business logic triggers from canonical Kafka event stream
  • Partner Service — Broker registry, LEIs, country codes, permissions
  • Blockchain Event Service — Raw chain event capture

Compliance Plane (Reporting Infrastructure)

  • Kafka — Event streaming backbone (operational, Strimzi-managed)
  • Outbox Pattern — Domain writes + outbox row in same transaction for at-least-once delivery
  • Compliance Ingestor — Kafka consumer that UPSERTs into compliance.* schema with idempotency tracking
  • Compliance Database — Relational schema covering: companies, bonds, market orders, trades, settlements, chain transactions, governance actions, snapshots, cases, and submissions
  • Report Generators — Produce XML/ZIP artifacts per report type, record submission metadata

2. Data Availability Matrix

Data DomainSource ServiceStatus
Company identity (LEI, name, registration)Registry ServiceAvailable
User identity & walletRegistry ServiceAvailable
Bond metadata (ISIN, issuer, maturity, coupon)Registry Service + IndexerAvailable
Bond lifecycle events (publish, issue, suspend, redeem)Indexer (BondHistory)Available
Marketplace trades (price, quantity, timestamp)Core Payment Service + IndexerAvailable
OTC transfersIndexer (TransferEvent)Available
Order book (offers, deals, status changes)Indexer (MarketOffer, MarketDeal)Available
Token ownership & supplyIndexer (TokenOwner)Available
Broker/Distributor data (country, LEI)Partner ServiceAvailable
CFI code, FISNRegistry ServiceAvailable
Platform configuration (venue MIC, Deuss LEI)Configuration fileAvailable
Auth context (non-repudiation)Audit loggingAvailable

3. Operator Implementation Scope

The following items are the technical responsibility of the operating entity to implement and manage:

  1. Report scheduling & orchestration — Deploy cron/scheduler for daily (FIRDS), per-event (transaction reports), monthly (DLT), and semi-annual reports
  2. Submission channel configuration — Establish connections to ARM (for transaction reporting to NCA), ESMA FIRDS portal, APA, CPT data feeds, FIU (e-STR)
  3. Jurisdiction configuration — Set venue MIC, entity LEI, country codes, and jurisdiction-specific routing rules
  4. Compliance staffing — STOR/STR case management requires trained compliance officers
  5. Backoffice operation — Manage report corrections (CANC + re-submit), monitor reporting status, handle regulator queries
  6. Retention & archival — Ensure minimum 5-year retention of all order records, trade reports, and compliance evidence
  7. Tax engine — Withholding tax calculation, investor tax statements, FATCA/CRS (if applicable) are separate from regulatory reporting and must be implemented per jurisdiction