InvoiceProcessedEvent

Notifies subscribers when the process started by the /commerce/billing/invoices request is complete. The process groups billing schedules by grouping keys and creates one invoice per grouping key. InvoiceProcessedEvent is a top-level object that contains a list of InvoiceProcessedDetailEvents, where each detail event represents an attempt to create one invoice. This object is available in API version 55.0 and later.

describeSObjects()

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

/event/InvoiceProcessedEvent

No

This object is available when Subscription Management is enabled.

Type: string

Properties: Nillable

Description: Reserved for future use.

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message.

Type: InvoiceErrorDetailEvent[]

Properties: Nillable

Description: Contains information about errors that occurred during processing.

Type: InvoiceProcessedDetailEvent[]

Properties: Nillable

Description: A list of InvoiceProcessedDetailEvent records. Each record contains information about an attempt to create an invoice from one or more billing schedules that share a grouping key.

Type: boolean

Properties: Defaulted on create

Description: Indicates whether the Create Order from Invoice action was successful. The default value is false.

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

Type: string

Properties: Nillable

Description: The unique ID returned in the /commerce/billing/invoices response. Use this ID to identify the event for a specific request.