CreditInvoiceProcessedEvent
Represents the notification to the customers after the process initiated by the /commerce/invoicing/invoices/{invoiceId}/actions/credit request is complete. 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/CreditInvoiceProcessedEvent.
No
This object is available when Billing is enabled.
-
Represents the information about errors that occurred while creating or applying a credit memo as part of a request. This object is included in a
CreditInvoiceProcessedEvent,CreditMemoProcessedEvent,NegInvcLineProcessedEvent, orVoidInvoiceProcessedEventplatform event message. You can’t subscribe toCrMemoProcessErrDtlEventplatform event directly. This object is available in API version 62.0 and later.
- Type: string
- Properties: Nillable
- Description: Reserved for future use.
- Type: CrMemoProcessErrDtlEvent[]
- Properties: Nillable
- Description: A compilation of error messages and error codes for a failed request. See the
ErrorDetailsfield for error messages and error codes.
- Type: reference
- Properties: Nillable
- Description: The credit memo created as the result of a successful request.
This field is a relationship field.
- Relationship Name: CreditMemo
- Refers To: CreditMemo
- Type: string
- Properties: Nillable
- Description: If the request fails, this field shows error messages, error codes, and the ID of the record on which the errors occurred.
- Type: string
- Properties: Nillable
- Description: A universally unique identifier (UUID) that identifies a platform event message.
- Type: reference
- Properties: Nillable
- Description: The invoice credited as the result of a successful request.
This field is a relationship field.
- Relationship Name: Invoice
- Refers To: Invoice
- Type: boolean
- Properties: Defaulted on create
- Description: Required. Indicates whether the request was successful (
true) or not (false).
The default value is false.
- Type: string
- Properties: Nillable
- Description: An 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 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 response. Use this ID to identify the event for a specific request.