InvoiceProcessedEvent
Represents the notification to the customers after 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. The InvoiceProcessedEvent platform event is a top-level object that contains a list of InvoiceProcessedDetailEvents platform events, where each detail event represents an attempt to create one invoice. This object is available in API version 62.0 and later.
describeSObjects()
| Subscriber | Supported? |
|---|---|
| Apex Triggers | Yes |
| Flows | Yes |
| Processes | Yes |
| Pub/Sub API | Yes |
| Streaming API (CometD) | Yes |
/event/InvoiceProcessedEvent.
No
This object is available when Billing is enabled.
-
Represents information about the errors that occurred during the processing of a
/commerce/billing/invoicesrequest. This object is included in anInvoiceProcessedEventplatform event message. You can’t subscribe toInvoiceProcessedEventplatform event directly. This object is available in API version 62.0 and later. -
Represents the notification to customers regarding the results of an attempt to create an invoice from billing schedules as part of
/commerce/billing/invoicesrequest. TheInvoiceProcessedDetailEventplatform event contains the results of an attempt to create an invoice from one or more billing schedules that share a grouping key. EachInvoiceProcessedDetailEventplatform event for an action is grouped within the parentInvoiceProcessedDetailEventplatform event. This object is available in API version 62.0 and later.
- 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: Information about errors that occurred during processing.
- Type: InvoiceProcessedDetailEvent[]
- Properties: Nillable
- Description: A list of
InvoiceProcessedDetailEventrecords. 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: Required. Indicates whether the Create Order from Invoice action was successful (
true) or not (false).
The default value is false.
- Type: string
- Properties: Nillable
- Description: An identification (ID) value that’s 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 user 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: A unique ID returned in the
/commerce/billing/invoicesresponse. Use this ID to identify the event for a specific request.