---
schema_version: "1"
id: c7832c55b0a020166300c96340e056517987388fb2c4076cdbb86e64a9621cbc
title: Line Item Tax Basis
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_line_item_tax_basis.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_line_item_tax_basis.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6bda7e65407a1b6e36211a1f9da42bb1954eb785edfb6f55cc199d3fadeaea5e
description: Configure an alternative tax calculation for line items in an order with the B2C Commerce APIs (LineItem.updateTax ()) and Business Manager. This feature can be useful if your back-end systems can only handle product-level discounts but a line item requires you to prorate tax across an order.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Line Item Tax Basis

Configure an alternative tax calculation for line items in an order with the B2C Commerce APIs (LineItem.updateTax ()) and Business Manager. This feature can be useful if your back-end systems can only handle product-level discounts but a line item requires you to prorate tax across an order.

The line item tax basis eliminates rounding errors and penny-off problems. It also distributes order-level and buy one get one (BOGO) discounts across line items for functions such as returns handling.

With this feature, product line items are taxed according to their prorated price, or the price after order-level and BOGO discounts have been prorated. The order calculation doesn't change—only the tax calculation changes. This means that all existing line item attributes, including net price, gross price, and base price, retain their original values. Price adjustments for these items are included in order totals, but retain the tax value of 0.00.

This feature is disabled by default. To use this feature, configure discount taxation in [promotion site preferences](https://help.salesforce.com/s/articleView?id=cc.b2c_configuring_promotion_preferences.htm&release=264.0.0&type=5 "Configure many of the promotion settings as site preferences, giving you much flexibility in how your promotions are handled. These settings include Buy X/Get Y promotion behavior, discount precision, and how the tax basis is calculated for line items with discounts.").

The following table describes the tax calculations used when the line item tax basis setting is enabled and disabled:

  
| Site taxation policy | Tax products & shipping only based on adjusted price—setting enabled | Tax products, shipping & discounts based on price (default)—setting disabled |
| --- | --- | --- |
| Net | tax = taxBasis \* taxRate | tax = netPrice \* taxRate |
| Gross | tax = taxBasis \* (1 - (1 / (1 + taxRate))) | tax = grossPrice \* (1 - (1 / (1 + taxRate))) |

The tax basis for line items appears in the Business Manager Order module and the data is included in order export.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note When line item tax basis is disabled, the tax basis for a line item is equal to its price.

#### See Also

- [Manage Site Taxes in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_managing_site_taxes.htm&language=en_US)