feat(event): add invoice.issued and invoice.paid event contracts

This commit is contained in:
mats committed 2026-08-14 08:24:08 +02:00
1 parent d6af4dbc0b
commit 4bf00314d3
3 files changed
+91

No files matched your search

+7
View File
@@ -61,6 +61,13 @@ const (
// Payload is an order.Created (platform/order). See docs/inventory-shape.md
// and docs/fulfillment-stance.md.
OrderCreated Type = "order.created"
// InvoiceIssued is emitted when an order is invoiced (pay-later placement or
// manual invoice issuance). Payload is an order.InvoiceIssued (platform/order).
InvoiceIssued Type = "invoice.issued"
// InvoicePaid is emitted when an invoiced order payment status crosses to paid.
// Payload is an order.InvoicePaid (platform/order).
InvoicePaid Type = "invoice.paid"
// Analytics (tracking). Replaces the integer enum 0–6 that finder and
// slask-tracking use on the `tracking` topic today. Producer: slask-finder