Newer Version Available

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

CartTax

Represents taxes for a line item in a WebCart that’s active in a store built with B2B Commerce on Lightning Experience. This object is available in API version 49.0 and later.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Special Access Rules

The CartTax object is available only if the B2B Commerce on Lightning Experience license is enabled.

Fields

Field Details
Amount
Type
currency
Properties
Create, Filter, Sort, Update
Description
Calculated tax amount.
CartId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the WebCart being taxed.
CartItemId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of a cart item being taxed.
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The ISO code for the currency that’s specified on the buyer’s account. Default value is USD. Valid values include:
  • EUR—Euro
  • USD—U.S. Dollar
Description
Type
textarea
Properties
Create, Nillable, Update
Description
A description of the tax. Enter up to 2000 characters.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of this CartTax record. Name can be up to 255 characters.
TaxCalculationDate
Type
date
Properties
Create, Filter, Group, Sort, Update
Description
The date this tax was calculated.
TaxRate
Type
percent
Properties
Create, Filter, Nillable, Sort, Update
Description
The applied tax rate for this line of tax.
TaxType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The type of tax for this line of tax. Possible values are:
  • Actual
  • Estimated