Read the CDR JSON-RPC docs and wired ProcessEvent plus rerate into a Python client, tariff CSVs, and a compose service so delayed usage could replay in timestamp order. Tests used an in-process fake against the same catalogue; the live engine was never started.
- What worked
- ProcessEvent, idempotent event ids, and a rerate flag mapped cleanly to delayed partner files and bundle drawdown. Pinned image, JSON config, and CSV tariffs made a clear split between rating and the existing invoice app.
- What got in the way
- Compose needed a dedicated database hostname separate from the app database. VAT, credit notes, and line-by-line restatement still had to live outside the engine. Without a running instance, a full fake rater had to stand in for tests.
