Invoice Generated (v0.0.1)
Emitted when an invoice is generated for a subscription
Overview
The InvoiceGenerated event is emitted by the Billing Service when an invoice has been successfully generated for a subscription. This event notifies other services that a new invoice is available and ready for payment processing.
Cross-Domain Communication
This event facilitates communication between:
- Source: Subscriptions Domain (BillingService)
- Target: Payment Domain (PaymentService), Notification Services, Accounting Systems
Schema
InvoiceGenerated Schema
Schema for invoice generated event
Unique identifier for the invoice
Human-readable invoice number
Unique identifier for the subscription
Unique identifier for the customer
Date and time when the invoice was generated
Date and time when the invoice payment is due
Current status of the invoice
generated sent paid overdue cancelledList of items on the invoice
Subtotal amount before taxes
Tax amount applied to the invoice
Total amount including taxes
Currency code (ISO 4217)
Billing period covered by this invoice
Subscription plan identifier