InvoiceErrorDetailEvent

Contains information about errors that occurred during the processing of a /commerce/billing/invoices request. This object is included in an InvoiceProcessedEvent message. You can’t subscribe to InvoiceErrorDetailEvent directly. This object is available in API version 55.0 and later.

Supported Calls 

describeSObjects()

Special Access Rules 

This object is available when Subscription Management is enabled.

Fields 

ErrorCode 

Type: string

Properties: None

Description: Reference code for the type of error that occurred.

ErrorMessage 

Type: string

Properties: None

Description: Information about the error that occurred during processing.

ErrorSourceId 

Type: reference

Properties: Nillable

Description: The ID of the record where the error occurred. Can be an invoice or a billing schedule. This field is a polymorphic relationship field.

Relationship Name: ErrorSource

Relationship Type: Lookup

Refers To: Invoice

EventUuid 

Type: string

Properties: Nillable

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