India GST — events
Scaffolded stub — replace with proper documentation when this module is next touched.
Per-module slice of docs/events-catalog.md (auto-generated). Update both files when adding or removing events.
Published
This module does not publish any events. GST compliance data is written synchronously via BillingComplianceHook on invoice issuance, not the event bus — same rationale as verifactu (deterministic ordering at issue time). See backend/app/modules/india_gst/hook.py.
Subscribed
This module does not subscribe to any events.
Adding a new event
- Add the constant to
backend/app/core/events/types.py(EventType) — a placeholder section for future india_gst events already exists there (e.g. for a real e-invoice-provider integration). - Publish from a service method after
flush()— the bus runs handlers inline, before the request commits. Passdb=dbso transactional subscribers can join the transaction (ADR 0019, issue #183). - Add the row to the table(s) above.
- Run
python backend/scripts/generate_catalogs.pyto refresh the global catalog.