Newer Version Available

This content describes an older version of this product. View Latest

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.

Enum Description
ConnectApi.InvoiceActionEnum

Type of invoice to be created. Valid values are:

  • Draft
  • Posted
ConnectApi.TaxStrategyEnum

Tax strategy to be applied across the invoice lines. You can override the tax strategy at the individual invoice line level or at the tax line level. Valid values are:

  • 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.CreditMemoTypeEnum

Type of credit memo to be created. Valid value is Posted.

ConnectApi.StandaloneTaxStrategyEnum

Specifies how tax lines must be created for the standalone credit memos. Valid values are:

  • 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.