Track up to 10 individual tax items on a basket line item, in addition to the standard aggregated tax value. Each tax item includes an ID, value, and rate, and depending on your requirements, can capture the taxes that apply to where you do business, such as federal, state, or district. Tax items automatically sum into the existing aggregated tax fields without adding fields at the order-totals level, so you manage either the aggregated tax field or the individual tax items, not both.
Where: This change applies to B2C Commerce.
Why: When your system is integrated with Salesforce Order Management, tax items are copied over automatically. Integrating with a tax provider is also easier because you can manage multiple tax items directly instead of building custom workarounds. Tax items also support custom attributes to tailor each item to fit your business needs.
How: Use Script API to set tax items on basket line items. Tax items apply only to basket line items. You can't set them at the order level.