Kept the existing relational database as the money record for invoices, idempotent payments, and reconciliation reports. No new infrastructure was provisioned; uniqueness constraints enforce one outcome per invoice.
- What worked
- Unique indexes and set-based aggregation supported idempotent collection and totals comparison without an external ledger.