ConnectApi Enums

Enums specific to the ConnectApi namespace.

ConnectApi enums inherit all properties and methods of Apex enums.

Enums are not versioned. Enum values are returned in all API versions.

EnumDescription
ConnectApi.InvoiceActionType of invoice to be created.
ConnectApi.TaxStrategyEnumTax strategy to be applied across invoice lines. You can override the tax strategy at the individual invoice line level or at the tax line level.
ConnectApi.CreditMemoTypeEnumType of credit memo to be created. Valid values are Posted and Draft. Specify Draft as a value in your request to create draft credit memos.
ConnectApi.StandaloneTaxStrategyEnumSpecifies how tax lines must be created for the standalone credit memos.
ConnectApi.SequenceResponseStatusEnumStatus of the sequence policy assignment.
ConnectApi.StatusEnumThe status of sequence reconciliation API request. Valid values are Submitted or NotSubmitted.

ConnectApi.InvoiceAction values:

  • Draft
  • Posted

ConnectApi.TaxStrategyEnum values:

  • Ignore—Specifies that the creation of tax lines must be ignored.
  • ManualOverride—Specifies that the provided tax values must be considered for taxes.
  • CopyFromInvoiceLine—Specifies that tax values must be copied from the invoice line.
  • Calculate—Specifies that tax must be calculated by using the API.

ConnectApi.StandaloneTaxStrategyEnum values:

  • Ignore—Specifies that the creation of tax lines must be ignored.
  • Manual Override—Specifies that the provided tax values must be considered for taxes.
  • Calculate—Specifies that tax must be calculated by using the API.

ConnectApi.SequenceResponseStatusEnum values:

  • PartialSuccess
  • Success
  • Failed