InvoiceProcessedDetailEvent

Notifies subscribers of the results of an attempt to create an invoice from billing schedules as part of /commerce/billing/invoices. InvoiceProcessedDetailEvent contains the results of an attempt to create an invoice from one or more billing schedules that share a grouping key. Each InvoiceProcessedDetailEvent for an action is grouped within the parent object InvoiceProcessedEvent. This object is available in API version 55.0 and later.

Supported Calls 

describeSObjects()

Event Delivery Allocation Enforced 

No

Special Access Rules 

This object is available when Subscription Management is enabled.

Fields 

EventUuid 

Type: string

Properties: Nillable

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

InvoiceErrorDetailEvents 

Type: InvoiceErrorDetailEvent[]

Properties: Nillable

Description: A list of errors that occurred while attempting to create the invoice.

InvoiceId 

Type: reference

Properties: Nillable

Description: The ID of the new invoice. This field is a relationship field that refers to an invoice.

Relationship Name: Invoice

Relationship Type: Lookup

Refers To: Invoice

InvoiceStatus 

Type: string

Properties: Nillable

Description: The value of the Status field on the invoice.

IsSuccess 

Type: boolean

Properties: Defaulted on create

Description: Indicates whether the invoice creation attempt was successful. The default value is false.

ReplayId 

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.