Skip to main content

EP-MEL-19 — Compliance & Regulatory (Tax, KYC, Audit Logs)

Companion: Backlog README · EPICS.md · canonical: 07-epics-and-user-stories.md §21

Summary

WaveR1 (+ jurisdiction matrix in R3; DSAR in R3)
PriorityP0
Primary ownerpricing-service (tax engine) + iam-service (KYC) + audit-service (audit logs)
Participating servicesbilling-service, reporting-service, analytics-service, tenant-service
Journeys realisedJ-12 (Reporting), J-19 (Compliance check)
WorkflowsWF-12
Frontend surfacesElectron Desktop · Control Plane
Story count5

Outcome

Tax computed per jurisdiction with snapshot rules; KYC enforced for tenants in regulated markets; audit log immutable with daily Merkle anchoring for tamper-evidence; data residency enforced at storage and routing; GDPR-style erasure (Phase 2 / R3).

Cross-cutting AC for this epic

  • Tax rules versioned; rule changes do not retroactively change historical invoices.
  • KYC documents stored in file-storage-service with double-encryption + tenant-prefix isolation.
  • Audit log Merkle root anchored daily to a tamper-evident store; verification routine exists.
  • Residency enforced at infra layer (region pin) and verified at application layer.

Stories

IDTitle
US-MEL-0139Tax engine with jurisdiction rules
US-MEL-0140KYC for tenants in regulated markets
US-MEL-0141Immutable audit log with daily Merkle anchoring
US-MEL-0142Data residency enforcement
US-MEL-0143GDPR-style data subject erasure (Phase 2 — R3)

Full AC in ../07-epics-and-user-stories.md §21.

Cross-references